Template:Community/doc: Difference between revisions

Template page
No edit summary
No edit summary
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Documentation}}
<div class="template-doc">
<div class="template-doc">
{{Community
{{Community
| name = r/placecommunity
| description = This is a description of the community
| aka = The Place People
| subcommunities = [[group1]], [[group 2]]
| description = A community for r/place that did things
| subcommunities2 = Allies<< [[group 3]], [[ally 4]] >>
| subreddit = r/placecommunity
| subreddit = subreddit
| website = http://placecommunity.org
| discord = https://discord.gg/linkylink
| twitch = placecommunity
| website = https://communitypage.iou
| twitter = @placecommunity
| artwork = [[Some Art]]
| artwork = [[Template:Artwork]]
| logo = Green_Lattice_Banner_with_Grapu.png
| logo = Rust_lang_2017.png
| name = A Community
}}
}}
== Usage ==
== Usage ==
Line 20: Line 21:
| aka  = {{{aka}}}
| aka  = {{{aka}}}
| description = {{{description}}}
| description = {{{description}}}
| subcommunities = {{{subcommunities}}}
| subreddit = {{{subreddit}}}
| subreddit = {{{subreddit}}}
| discord = {{{discord}}}
| discord = {{{discord}}}
Line 29: 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>
<Templatedata>
{
{
"params": {
"params": {
Line 47: 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 54: Line 88:
],
],
"label": "Subreddit",
"label": "Subreddit",
"description": "Name of subreddit (including \"r/\")",
"description": "Name of subreddit or list of subreddits (without \"r/\")",
"example": "r/placetux",
"example": "placetux, MIT",
"type": "string"
"type": "string"
},
},
Line 99: Line 133:
"format": "block"
"format": "block"
}
}
</templatedata>
</Templatedata>
</doc>
</div>

Latest revision as of 04:05, 14 April 2022

Template:Community invokes Template:Community/style.css using TemplateStyles.
Template:Community invokes Template:Infobox/style.css using TemplateStyles.
Template:Community invokes Template:TemplateData/style.css using TemplateStyles.
Green Lattice Banner with Grapu.png
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

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename title

Name of the community

Example
r/placetux
Stringrequired
Descriptiondescription

Brief description of community

Example
r/placetux was a collaboration of several subreddits in the Linux/OSE and other communities
Unknownsuggested
AKAaka

Aliases or other names for the community

Example
The Place Group
Unknownoptional
Subcommunitiessubcommunities

List of other communities within this community or alliance (comma-separated list of wiki links)

Example
[[r/placegroup]],[[Some Other Team]]
Unknownoptional
Logologo image

Image file for the logo or picture representing the community

Example
image_community_logo.png
Unknownsuggested
Subredditsubreddit reddit

Name of subreddit or list of subreddits (without "r/")

Example
placetux, MIT
Stringoptional
Discorddiscord

Link/invite to discord server

Example
https://discord.gg/cYB7GjWNp8
URLoptional
Websitewebsite site url

Link to website or other URL for this community

Example
https://placetux.org
URLoptional
Twittertwitter

Twitter handle of account for this community or artwork creator

Example
tuxofficial
Stringoptional
Twitchtwitch

Twitch username for streamer or creator represented by this community

Example
xQc
Stringoptional
Artworkartwork art

Name of placeatlas2 wiki page for artwork(s) created by this community

Example
Tux the penguin
Unknownsuggested
Cookies help us deliver our services. By using our services, you agree to our use of cookies.