Template:Community/doc: Difference between revisions

Template page
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation}}
<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 = 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
}}
}}
{{Documentation}}
<div class="template-doc">
== 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 22: Line 21:
| aka  = {{{aka}}}
| aka  = {{{aka}}}
| description = {{{description}}}
| description = {{{description}}}
| subcommunities = {{{subcommunities}}}
| subreddit = {{{subreddit}}}
| subreddit = {{{subreddit}}}
| discord = {{{discord}}}
| discord = {{{discord}}}
Line 31: 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>
Line 49: 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 56: Line 88:
],
],
"label": "Subreddit",
"label": "Subreddit",
"description": "Name of subreddit",
"description": "Name of subreddit or list of subreddits (without \"r/\")",
"example": "placetux",
"example": "placetux, MIT",
"type": "string"
"type": "string"
},
},
Line 103: Line 135:
</Templatedata>
</Templatedata>
</div>
</div>
<noinclude>[[Category:Template Documentation]]</noinclude>

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.