The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
< | <Templatestyles src="Infobox/style.css"></Templatestyles> | ||
< | <Templatestyles src="Community/style.css"></Templatestyles> | ||
< | <Templatestyles src="TemplateData/style.css"></Templatestyles> | ||
<div class="infobox"> | |||
{| | {| | ||
|- class="infobox-image" | |- class="infobox-image" | ||
Line 13: | Line 13: | ||
|- | |- | ||
|- class="infobox-tr" | |- class="infobox-tr" | ||
{{#if: {{{ | {{#if: {{{Name|}}} | {{!}} valign=top class="infobox-parameter" {{!}} Name {{!!}} {{{name}}} }} | ||
|- class="infobox-tr" | |- class="infobox-tr" | ||
{{#if: {{{ | {{#if: {{{Aka|}}} | {{!}} valign=top class="infobox-parameter" {{!}} AKA {{!!}} {{{aka}}} }} | ||
|- class="infobox-tr" | |- class="infobox-tr" | ||
{{#if: {{{ | {{#if: {{{Description|}}} | {{!}} valign=top colspan="2" class="infobox-parameter" {{!}} '''Description''' }} | ||
|- class="infobox-tr" | |- class="infobox-tr" | ||
{{#if: {{{ | {{#if: {{{Subreddit|}}} | {{!}} class="infobox-parameter" {{!}}Subreddit {{!!}} [https://reddit.com/r/{{{Subreddit}}} r/{{{subreddit}}} ] }} | ||
|- class="infobox-tr" | |- class="infobox-tr" | ||
{{#if: {{{ | {{#if: {{{Discord|}}} | {{!}} class="infobox-parameter" {{!}} Discord {{!!}} {{{Discord}}} }} | ||
|- class="infobox-tr" | |- class="infobox-tr" | ||
{{#if: {{{ | {{#if: {{{Website|}}} | {{!}} class="infobox-parameter" {{!}} Website {{!!}} {{{Website}}} }} | ||
|- class="infobox-tr" | |- class="infobox-tr" | ||
{{#if: {{{ | {{#if: {{{Twitter|}}} | {{!}} class="infobox-parameter" {{!}} Twitter {{!!}} {{{Twitter}}} }} | ||
|- class="infobox-tr" | |- class="infobox-tr" | ||
{{#if: {{{ | {{#if: {{{Twitch|}}} | {{!}} class="infobox-parameter" {{!}} Twitch {{!!}} {{{Twitch}}} }} | ||
|- class="infobox-tr" | |- class="infobox-tr" | ||
{{#if: {{{ | {{#if: {{{Artwork|}}} | {{!}} class="infobox-parameter" {{!}} Artwork {{!!}} {{{Artwork}}} }} | ||
| | |} | ||
{{ | </div> | ||
| | <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> | </div> | ||
</includeonly> | |||
<includeonly>[[Category:Infobox Templates]]</includeonly> | |||
</noinclude> |