Geekahedron (talk | contribs) No edit summary |
Geekahedron (talk | contribs) No edit summary Tag: Reverted |
||
Line 12: | Line 12: | ||
|- | |- | ||
|- | |- | ||
{{#if: {{{name|}}} | {{!-}} class="infobox-tr" {{!}} class="infobox-parameter" {{!}} Name {{!!}} {{{name}}} }} | |||
{{#if: {{{name|}}} | {{!}} class="infobox-parameter" {{!}} Name {{!!}} {{{name}}} }} | {{#if: {{{aka|}}} | {{!-}} class="infobox-tr" {{!}} class="infobox-parameter" {{!}} AKA {{!!}} {{{aka}}} }} | ||
{{#if: {{{description|}}} | {{!-}} class="infobox-tr" {{!}} class="infobox-parameter" {{!}} Description {{!!}} {{{description}}} }} | |||
{{#if: {{{aka|}}} | {{!}} class="infobox-parameter" {{!}} AKA {{!!}} {{{aka}}} }} | {{#if: {{{subcommunities|}}} | {{!-}} class="infobox-tr" {{!}} class="infobox-parameter" {{!}} Subcommunities {{!!}} {{{subcommunities}}} }} | ||
{{#if: {{{subreddit|}}} | {{!-}} class="infobox-tr" {{!}} class="infobox-parameter" {{!}}Subreddit {{!!}} {{#rreplace:{{{subreddit}}}|(\w+)(,?)\s*|[https://reddit.com/r/\1 \1]\2 }} }} | |||
{{#if: {{{description|}}} | {{!}} class="infobox-parameter" {{!}} Description {{!!}} {{{description}}} }} | {{#if: {{{discord|}}} | {{!-}} class="infobox-tr" {{!}} class="infobox-parameter" {{!}} Discord {{!!}} {{{discord}}} }} | ||
{{#if: {{{website|}}} | {{!-}} class="infobox-tr" {{!}} class="infobox-parameter" {{!}} Website {{!!}} {{{website}}} }} | |||
{{#if: {{{subcommunities|}}} | {{!}} class="infobox-parameter" {{!}} Subcommunities {{!!}} {{{subcommunities}}} }} | {{#if: {{{twitter|}}} | {{!-}} class="infobox-tr" {{!}} class="infobox-parameter" {{!}} Twitter {{!!}} {{{twitter}}} }} | ||
{{#if: {{{twitch|}}} | {{!-}} class="infobox-tr" {{!}} class="infobox-parameter" {{!}} Twitch {{!!}} {{{twitch}}} }} | |||
{{#if: {{{subreddit|}}} | {{!}} class="infobox-parameter" {{!}}Subreddit {{!!}} {{#rreplace:{{{subreddit}}}|(\w+)(,?)\s*|[https://reddit.com/r/\1 \1]\2 }} }} | {{#if: {{{artwork|}}} | {{!-}} class="infobox-tr" {{!}} class="infobox-parameter" {{!}} Artwork {{!!}} {{{artwork}}} }} | ||
{{#if: {{{discord|}}} | {{!}} class="infobox-parameter" {{!}} Discord {{!!}} {{{discord}}} }} | |||
{{#if: {{{website|}}} | {{!}} class="infobox-parameter" {{!}} Website {{!!}} {{{website}}} }} | |||
{{#if: {{{twitter|}}} | {{!}} class="infobox-parameter" {{!}} Twitter {{!!}} {{{twitter}}} }} | |||
{{#if: {{{twitch|}}} | {{!}} class="infobox-parameter" {{!}} Twitch {{!!}} {{{twitch}}} }} | |||
{{#if: {{{artwork|}}} | {{!}} class="infobox-parameter" {{!}} Artwork {{!!}} {{{artwork}}} }} | |||
|}[[Category:Communities]] {{#if: {{{subcommunities|}}} | [[Category:Alliances]] }} | |}[[Category:Communities]] {{#if: {{{subcommunities|}}} | [[Category:Alliances]] }} | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
<noinclude>{{/doc}}</noinclude> | <noinclude>{{/doc}}</noinclude> |
Revision as of 20:23, 13 April 2022
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 |