Jump to content

Template:Subreddit/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template provides a link to a specific subreddit on Reddit related to the subject of the article. It is typically added to the "External links" section of a Wikipedia article.

Syntax

[edit]
{{Subreddit|subreddit_name|display_name}}

Parameters

[edit]
  • subreddit_name - The name of the subreddit (without the "/r/" prefix). This parameter is required if the page name does not match the subreddit name.
  • display_name - The text to display for the link. If omitted, the subreddit name or the default format "/r/subreddit_name" will be displayed.

Examples

[edit]
  • {{Subreddit|technology}} produces a link to /r/technology at Reddit.
  • {{Subreddit|technology|Technology Subreddit}} produces a link displayed as Technology Subreddit at Reddit.

Tracking

[edit]

This template automatically categorizes pages in the category, Articles with an associated subreddit.