Geekahedron (talk | contribs) (→Usage) |
Geekahedron (talk | contribs) No edit summary |
||
(27 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation}} | |||
<div class="template-doc"> | |||
{{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 | |||
}} | |||
== Usage == | == Usage == | ||
[[Template:Community]] is a template, used to display a standard set of information at the top of a community page. | [[Template:Community]] is a template, used to display a standard set of information at the top of a community page. | ||
Line 6: | Line 18: | ||
<pre> | <pre> | ||
{{Community | {{Community | ||
| name | | name = {{{name|{{PAGENAME}}}}} | ||
| aka = {{{aka}}} | |||
| description = {{{description}}} | | description = {{{description}}} | ||
| subcommunities = {{{subcommunities}}} | |||
| subreddit = {{{subreddit}}} | | subreddit = {{{subreddit}}} | ||
| discord = {{{discord}}} | | discord = {{{discord}}} | ||
Line 17: | Line 31: | ||
}} | }} | ||
</pre> | </pre> | ||
Code for example: | |||
<pre>{{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 | |||
}}</pre> | |||
== Template Data == | == Template Data == | ||
< | <Templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
Line 35: | Line 62: | ||
"description": "Brief description of community", | "description": "Brief description of community", | ||
"example": "r/placetux was a collaboration of several subreddits in the Linux/OSE and other communities", | "example": "r/placetux was a collaboration of several subreddits in the Linux/OSE and other communities", | ||
"suggested": true | |||
}, | |||
"aka": { | |||
"label": "AKA", | |||
"description": "Aliases or other names for the community", | |||
"example": "The Place Group" | |||
}, | |||
"subcommunities": { | |||
"label": "Subcommunities", | |||
"description": "List of other communities within this community or alliance (comma-separated list of wiki links)", | |||
"example": "[[r/placegroup]],[[Some Other Team]]" | |||
}, | |||
"logo": { | |||
"aliases": [ | |||
"image" | |||
], | |||
"label": "Logo", | |||
"description": "Image file for the logo or picture representing the community", | |||
"example": "image_community_logo.png", | |||
"suggested": true | "suggested": true | ||
}, | }, | ||
Line 42: | Line 88: | ||
], | ], | ||
"label": "Subreddit", | "label": "Subreddit", | ||
"description": "Name of subreddit ( | "description": "Name of subreddit or list of subreddits (without \"r/\")", | ||
"example": " | "example": "placetux, MIT", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
Line 87: | Line 133: | ||
"format": "block" | "format": "block" | ||
} | } | ||
</ | </Templatedata> | ||
</div> |
Latest revision as of 04:05, 14 April 2022
Community/doc | |
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 |