Template:Subreddit

From Gentoo Wiki
Jump to:navigation Jump to:search
[edit

Documentation

Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages. As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.

Use this template to specify in-line subreddit links so they can be rendered in a standard style across the Wiki. The template generates an HTTPS hyperlink to a specific subreddit by name.

See also
See also {{InfoBox_subreddit}} for including subreddits in infoboxes.

Parameters

Parameter name Required? Default value Description
Anonymous parameter 1 Yes (n/a) The name of the subreddit for example, r/gentoo

Some Gentoo related subreddits inclue include:

Usage

  • {{subreddit|group}}
Where group is the Usenet Newsgroup to be marked up.

See the template's testcases:


Specify newsgroup comp.lang.ada
Wiki code The {{Newsgroup|comp.lang.ada}} newsgroup

Main version The comp.lang.ada (weblink) newsgroup
Sandbox version The comp.lang.ada (weblink) newsgroup
Newsgroup not specified
Wiki code The {{Newsgroup}} newsgroup

Main version The
{{newsgroup template error}}
Parameter 1 not defined. For correct usage see newsgroup template's documentation on the 1 parameter.
newsgroup
Sandbox version The
{{newsgroup template error}}
Parameter 1 not defined. For correct usage see newsgroup template's documentation on the 1 parameter.
newsgroup
Specify article in newsgroup
Wiki code A {{Newsgroup|comp.lang.ada|8320}}

Main version A comp.lang.ada article
Sandbox version A comp.lang.ada article

See also

Note
The above documentation is transcluded from Template:Subreddit/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. (See the subpages of this template.)