Template:Community: Difference between revisions

Template page
No edit summary
No edit summary
Line 32: Line 32:
|}
|}
</div>
</div>
<noinclude><div class="template-doc">
<noinclude>
{{Community
{{Documentation}}
| 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>
</noinclude>

Revision as of 17:25, 8 April 2022

Community
Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Community/doc. Changes can be proposed in the talk page.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.