Template:Community: Difference between revisions

Template page
No edit summary
No edit summary
Line 32: Line 32:
|}
|}
</div>
</div>
<noinclude>{{Documentation}}</noinclude>
<noinclude><div class="template-doc">
{{Community
| name = r/placecommunity
| aka = The Place People
| description = A community for r/place that did things
| subreddit = placecommunity
| website = http://placecommunity.org
| twitch = placecommunity
| twitter = @placecommunity
| artwork = [[Template:Artwork]]
| logo = Rust_lang_2017.png
}}
== 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}}}
| subreddit = {{{subreddit}}}
| discord = {{{discord}}}
| website = {{{website}}}
| twitter = {{{twitter}}}
| twitch = {{{twitch}}}
| artwork = {{{artwork}}}
| logo = {{{logo}}}
}}
</pre>
== Template Data ==
<Templatedata>
{
"params": {
"name": {
"aliases": [
"title"
],
"label": "Name",
"description": "Name of the community",
"example": "r/placetux",
"type": "string",
"required": true
},
"description": {
"label": "Description",
"description": "Brief description of community",
"example": "r/placetux was a collaboration of several subreddits in the Linux/OSE and other communities",
"suggested": true
},
"subreddit": {
"aliases": [
"reddit"
],
"label": "Subreddit",
"description": "Name of subreddit",
"example": "placetux",
"type": "string"
},
"discord": {
"label": "Discord",
"description": "Link/invite to discord server",
"example": "https://discord.gg/cYB7GjWNp8",
"type": "url"
},
"website": {
"aliases": [
"site",
"url"
],
"label": "Website",
"description": "Link to website or other URL for this community",
"example": "https://placetux.org",
"type": "url"
},
"twitter": {
"label": "Twitter",
"description": "Twitter handle of account for this community or artwork creator",
"example": "tuxofficial",
"type": "string"
},
"twitch": {
"label": "Twitch",
"description": "Twitch username for streamer or creator represented by this community",
"example": "xQc",
"type": "string"
},
"artwork": {
"aliases": [
"art"
],
"label": "Artwork",
"description": "Name of placeatlas2 wiki page for artwork(s) created by this community",
"example": "Tux the penguin",
"suggested": true
}
},
"description": "Use this template on a community page to provide a standardized block of information about the community and the artwork they contributed",
"format": "block"
}
</Templatedata>
</div>
 
<includeonly>[[Category:Infobox Templates]]</includeonly><noinclude>[[Category:Template Documentation]]</noinclude>
</noinclude>

Revision as of 16:08, 8 April 2022

Community
Rust lang 2017.png
Community

</noinclude>

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}}}
| subreddit = {{{subreddit}}}
| discord = {{{discord}}}
| website = {{{website}}}
| twitter = {{{twitter}}}
| twitch = {{{twitch}}}
| artwork = {{{artwork}}}
| logo = {{{logo}}}
}}

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
Subredditsubreddit reddit

Name of subreddit

Example
placetux
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.