Geekahedron (talk | contribs) No edit summary |
m (Reverted edits by Artillect (talk) to last revision by Geekahedron) Tag: Rollback |
||
(65 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{| | <templatestyles src="Infobox/style.css"></templatestyles> | ||
|- | <templatestyles src="Community/style.css"></templatestyles> | ||
| colspan="2" | <templatestyles src="TemplateData/style.css"></templatestyles> | ||
<includeonly><div class="infobox"> | |||
{| | |||
|- class="infobox-image" | |||
{{#if: {{{logo|}}} | {{!}} align=center colspan=2 {{!}} [[Image:{{{logo}}}|center|300px]] }} | |||
|- | |||
| colspan="2" class="infoboxheader" | {{PAGENAME}} | |||
|- | |- | ||
| | | | ||
|- | |- | ||
|- | |- | ||
{{#if: {{{name|}}} | {{!}} | |- class="infobox-tr" | ||
|- | {{#if: {{{name|}}} | {{!}} class="infobox-parameter" {{!}} Name {{!!}} {{{name}}} }} | ||
{{#if: {{{description|}}} | {{!}} | |- class="infobox-tr" | ||
|- | {{#if: {{{aka|}}} | {{!}} class="infobox-parameter" {{!}} AKA {{!!}} {{{aka}}} }} | ||
{{#if: {{{ | |- class="infobox-tr" | ||
|- | {{#if: {{{description|}}} | {{!}} class="infobox-parameter" {{!}} Description {{!!}} {{{description}}} }} | ||
{{#if: {{{discord|}}} | {{!}} | |- class="infobox-tr" | ||
|- | {{#if: {{{subcommunities|}}} | {{NamedList|{{{subcommunities}}} | Subcommunities | infobox=1 }} }} | ||
{{#if: {{{website|}}} | {{!}} | |- class="infobox-tr" | ||
|- | {{#if: {{{subcommunities2|}}} | {{NamedList|{{{subcommunities2}}} | Subcommunities | infobox=1 }} }} | ||
{{#if: {{{twitter|}}} | {{!}} | |- class="infobox-tr" | ||
|- | {{#if: {{{subcommunities3|}}} | {{NamedList|{{{subcommunities3}}} | Subcommunities | infobox=1 }} }} | ||
{{#if: {{{twitch|}}} | {{!}} | |- class="infobox-tr" | ||
|- | {{#if: {{{subcommunities4|}}} | {{NamedList|{{{subcommunities4}}} | Subcommunities | infobox=1 }} [[Category:Alliances]]]]}} | ||
{{#if: {{{artwork|}}} | {{!}} | |- class="infobox-tr" | ||
{{#if: {{{subreddit|}}} | {{!}} class="infobox-parameter" {{!}}Subreddit {{!!}} {{#rreplace:{{{subreddit}}}|(\w+)(,?)\s*|[https://reddit.com/r/\1 \1]\2 }} }} | |||
|- class="infobox-tr" | |||
{{ | {{#if: {{{discord|}}} | {{!}} class="infobox-parameter" {{!}} Discord {{!!}} {{{discord}}} }} | ||
[[Category: | |- class="infobox-tr" | ||
</noinclude> | {{#if: {{{website|}}} | {{!}} class="infobox-parameter" {{!}} Website {{!!}} {{{website}}} }} | ||
|- class="infobox-tr" | |||
{{#if: {{{twitter|}}} | {{!}} class="infobox-parameter" {{!}} Twitter {{!!}} {{{twitter}}} }} | |||
|- class="infobox-tr" | |||
{{#if: {{{twitch|}}} | {{!}} class="infobox-parameter" {{!}} Twitch {{!!}} {{{twitch}}} }} | |||
|- class="infobox-tr" | |||
{{#if: {{{artwork|}}} | {{!}} class="infobox-parameter" {{!}} Artwork {{!!}} {{{artwork}}} }} | |||
|}[[Category:Communities]] {{#if: {{{subcommunities|}}} | [[Category:Alliances]] }} | |||
</div> | |||
</includeonly> | |||
<noinclude>{{/doc}}</noinclude> |
Latest revision as of 02:54, 21 April 2022
Community | |
Name | A Community |
Description | This is a description of the community |
Subcommunities | group1,group 2 |
Allies | group 3,ally 4 |
Subreddit | subreddit |
Discord | https://discord.gg/linkylink |
Website | https://communitypage.iou |
Artwork | Some Art |
Usage
Template:Community is a template, used to display a standard set of information at the top of a community page.
For [[Template:Community]]
, template code then looks like this, simplified:
{{Community | name = {{{name|{{PAGENAME}}}}} | aka = {{{aka}}} | description = {{{description}}} | subcommunities = {{{subcommunities}}} | subreddit = {{{subreddit}}} | discord = {{{discord}}} | website = {{{website}}} | twitter = {{{twitter}}} | twitch = {{{twitch}}} | artwork = {{{artwork}}} | logo = {{{logo}}} }}
Code for example:
{{Community | description = This is a description of the community | Subcommunities = [[group1]], [[group 2]] | subcommunities2 = Allies<< [[group 3]], [[ally 4]] >> | subreddit = subreddit | discord = https://discord.gg/linkylink | website = https://communitypage.iou | artwork = [[Some Art]] | logo = Green_Lattice_Banner_with_Grapu.png | name = A Community }}
Template Data
Use this template on a community page to provide a standardized block of information about the community and the artwork they contributed
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name title | Name of the community
| String | required |
Description | description | Brief description of community
| Unknown | suggested |
AKA | aka | Aliases or other names for the community
| Unknown | optional |
Subcommunities | subcommunities | List of other communities within this community or alliance (comma-separated list of wiki links)
| Unknown | optional |
Logo | logo image | Image file for the logo or picture representing the community
| Unknown | suggested |
Subreddit | subreddit reddit | Name of subreddit or list of subreddits (without "r/")
| String | optional |
Discord | discord | Link/invite to discord server
| URL | optional |
Website | website site url | Link to website or other URL for this community
| URL | optional |
twitter | Twitter handle of account for this community or artwork creator
| String | optional | |
Twitch | twitch | Twitch username for streamer or creator represented by this community
| String | optional |
Artwork | artwork art | Name of placeatlas2 wiki page for artwork(s) created by this community
| Unknown | suggested |