Editing Template:Community

Template page
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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="Infobox/style.css"></Templatestyles>
<templatestyles src="Community/style.css"></templatestyles>
<Templatestyles src="Community/style.css"></Templatestyles>
<templatestyles src="TemplateData/style.css"></templatestyles>
<Templatestyles src="TemplateData/style.css"></Templatestyles>
<includeonly><div class="infobox">
<div class="infobox">
{|
{|
|-  class="infobox-image"
|-  class="infobox-image"
Line 13: Line 13:
|-
|-
|- class="infobox-tr"
|- class="infobox-tr"
{{#if: {{{name|}}} | {{!}} class="infobox-parameter" {{!}} Name {{!!}} {{{name}}} }}
{{#if: {{{Name|}}} | {{!}} valign=top class="infobox-parameter" {{!}} Name {{!!}} {{{name}}} }}
|- class="infobox-tr"
|- class="infobox-tr"
{{#if: {{{aka|}}} | {{!}} class="infobox-parameter" {{!}} AKA {{!!}} {{{aka}}} }}
{{#if: {{{Aka|}}} | {{!}} valign=top class="infobox-parameter" {{!}} AKA {{!!}} {{{aka}}} }}
|- class="infobox-tr"
|- class="infobox-tr"
{{#if: {{{description|}}} | {{!}} class="infobox-parameter" {{!}} Description {{!!}} {{{description}}} }}
{{#if: {{{Description|}}} | {{!}} valign=top colspan="2" class="infobox-parameter" {{!}} '''Description''' }}
|- class="infobox-tr"
|- class="infobox-tr"
{{#if: {{{subcommunities|}}} | {{NamedList|{{{subcommunities}}} | Subcommunities | infobox=1 }} }}
{{#if: {{{Subreddit|}}} | {{!}} class="infobox-parameter" {{!}}Subreddit {{!!}} [https://reddit.com/r/{{{Subreddit}}} r/{{{subreddit}}} ] }}
|- class="infobox-tr"
|- class="infobox-tr"
{{#if: {{{subcommunities2|}}} | {{NamedList|{{{subcommunities2}}} | Subcommunities | infobox=1 }} }}
{{#if: {{{Discord|}}} | {{!}} class="infobox-parameter" {{!}} Discord {{!!}} {{{Discord}}} }}
|- class="infobox-tr"
|- class="infobox-tr"
{{#if: {{{subcommunities3|}}} | {{NamedList|{{{subcommunities3}}} | Subcommunities | infobox=1 }} }}
{{#if: {{{Website|}}} | {{!}} class="infobox-parameter" {{!}} Website {{!!}} {{{Website}}} }}
|- class="infobox-tr"
|- class="infobox-tr"
{{#if: {{{subcommunities4|}}} | {{NamedList|{{{subcommunities4}}} | Subcommunities | infobox=1 }} [[Category:Alliances]]]]}}
{{#if: {{{Twitter|}}} | {{!}} class="infobox-parameter" {{!}} Twitter {{!!}} {{{Twitter}}} }}
|- class="infobox-tr"
|- class="infobox-tr"
{{#if: {{{subreddit|}}} | {{!}} class="infobox-parameter" {{!}}Subreddit {{!!}} {{#rreplace:{{{subreddit}}}|(\w+)(,?)\s*|[https://reddit.com/r/\1 \1]\2 }} }}
{{#if: {{{Twitch|}}} | {{!}} class="infobox-parameter" {{!}} Twitch {{!!}} {{{Twitch}}} }}
|- class="infobox-tr"
|- class="infobox-tr"
{{#if: {{{discord|}}} | {{!}} class="infobox-parameter" {{!}} Discord {{!!}} {{{discord}}} }}
{{#if: {{{Artwork|}}} | {{!}} class="infobox-parameter" {{!}} Artwork {{!!}} {{{Artwork}}} }}
|- class="infobox-tr"
|}
{{#if: {{{website|}}} | {{!}} class="infobox-parameter" {{!}} Website {{!!}} {{{website}}} }}
</div>
|- class="infobox-tr"
<noinclude><div class="template-doc">
{{#if: {{{twitter|}}} | {{!}} class="infobox-parameter" {{!}} Twitter {{!!}} {{{twitter}}} }}
{{Community
|- class="infobox-tr"
| name = r/placecommunity
{{#if: {{{twitch|}}} | {{!}} class="infobox-parameter" {{!}} Twitch {{!!}} {{{twitch}}} }}
| aka = The Place People
|- class="infobox-tr"
| description = A community for r/place that did things
{{#if: {{{artwork|}}} | {{!}} class="infobox-parameter" {{!}} Artwork {{!!}} {{{artwork}}} }}
| subreddit = placecommunity
|}[[Category:Communities]] {{#if: {{{subcommunities|}}} | [[Category:Alliances]] }}
| 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>
 
<noinclude>{{/doc}}</noinclude>
<includeonly>[[Category:Infobox Templates]]</includeonly><noinclude>[[Category:Template Documentation]]</noinclude>
</noinclude>
Please note that all contributions to The r/place Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see PlaceWiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.