Template:Community/doc: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
== 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}}}}}
| description = {{{description}}}
| subreddit = {{{subreddit}}}
| discord = {{{discord}}}
| website = {{{website}}}
| twitter = {{{twitter}}}
| twitch = {{{twitch}}}
| artwork = {{{artwork}}}
| logo = {{{logo}}}
}}
</pre>
<templatedata>
<templatedata>
{
{

Revision as of 04:06, 7 April 2022

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

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 (including "r/")

Example
r/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.