Geekahedron (talk | contribs) No edit summary Tag: 2017 source edit |
Geekahedron (talk | contribs) No edit summary Tag: 2017 source edit |
||
| Line 21: | Line 21: | ||
{{#if: {{{subcommunities|}}} | {{!}} valign=top class="infobox-parameter" {{!}} Subcommunities {{!!}} {{{subcommunities}}} }} | {{#if: {{{subcommunities|}}} | {{!}} valign=top class="infobox-parameter" {{!}} Subcommunities {{!!}} {{{subcommunities}}} }} | ||
|- class="infobox-tr" | |- class="infobox-tr" | ||
{{#if: {{{subreddit|}}} | {{!}} class="infobox-parameter" {{!}}Subreddit {{!!}} {{{subreddit}}} {{#rreplace:{{{subreddit}}}|( | {{#if: {{{subreddit|}}} | {{!}} class="infobox-parameter" {{!}}Subreddit {{!!}} {{{subreddit}}} {{#rreplace:{{{subreddit}}}|(\w+)|\1}} }} | ||
|- class="infobox-tr" | |- class="infobox-tr" | ||
{{#if: {{{discord|}}} | {{!}} class="infobox-parameter" {{!}} Discord {{!!}} {{{discord}}} }} | {{#if: {{{discord|}}} | {{!}} class="infobox-parameter" {{!}} Discord {{!!}} {{{discord}}} }} | ||
Revision as of 15:06, 11 April 2022
| Community | |
| Community | |
| Name | A Community |
| Description | This is a description of the community |
| Subcommunities | group1, group 2 |
| Subreddit | 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 |