Geekahedron (talk | contribs) (Create Templace:Community/doc) |
Geekahedron (talk | contribs) No edit summary |
||
(30 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 == | |||
[[Template:Community]] is a template, used to display a standard set of information at the top of a community page. | |||
For <code><nowiki>[[Template:Community]]</nowiki></code>, template code then looks like this, simplified: | |||
<pre> | |||
{{Community | |||
| name = {{{name|{{PAGENAME}}}}} | |||
| aka = {{{aka}}} | |||
| description = {{{description}}} | |||
| subcommunities = {{{subcommunities}}} | |||
| subreddit = {{{subreddit}}} | |||
| discord = {{{discord}}} | |||
| website = {{{website}}} | |||
| twitter = {{{twitter}}} | |||
| twitch = {{{twitch}}} | |||
| artwork = {{{artwork}}} | |||
| logo = {{{logo}}} | |||
}} | |||
</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 == | |||
<Templatedata> | |||
{ | { | ||
"params": { | "params": { | ||
Line 16: | 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 23: | 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 61: | Line 126: | ||
"label": "Artwork", | "label": "Artwork", | ||
"description": "Name of placeatlas2 wiki page for artwork(s) created by this community", | "description": "Name of placeatlas2 wiki page for artwork(s) created by this community", | ||
"example": "Tux the | "example": "Tux the penguin", | ||
"suggested": true | "suggested": true | ||
} | } | ||
Line 68: | 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 |