Difference between revisions of "Template:Stub"

From Bronies.wiki
Jump to navigation Jump to search
m (Okay put that one back.)
(Only add stub template if in the main article namespace)
 
Line 1: Line 1:
: ''This {{{subject|}}} {{#if: {{{section|}}} | section | article }} {{{qualifier|}}} is a [[:Category:Stubs|stub]]. You can help {{SITENAME}} out by <span class="plainlinks">[{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} contributing your knowledge]</span>.''<includeonly>{{#if: {{{category|}}} | [[Category:{{{category}}}]] | [[Category:Stubs]]}}</includeonly><noinclude>
+
: ''This {{{subject|}}} {{#if: {{{section|}}} | section | article }} {{{qualifier|}}} is a [[:Category:Stubs|stub]]. You can help {{SITENAME}} out by <span class="plainlinks">[{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} contributing your knowledge]</span>.''<includeonly>{{#ifeq: {{NAMESPACE}} | {{ns:}} | {{#if: {{{category|}}} | [[Category:{{{category}}}]] | [[Category:Stubs]]}} }}</includeonly><noinclude>
 
{{Documentation}}</noinclude>
 
{{Documentation}}</noinclude>

Latest revision as of 21:25, 10 October 2020

This article is a stub. You can help Bronies.wiki out by contributing your knowledge.
This documentation is transcluded from Template:Stub/doc and needs to be edited separately.

Stubs are articles that are very short and would benefit from a knowledgeable user's input.

The Stub template highlights these articles to the user, giving them a little nudge towards contributing.

Usage

Stub templates should go at the very top of an article, before any other visually rendered templates, or at the very start of a new section immediately after the heading.

The stub template can be used as a metatemplate by creating new templates with already defined parameters.

The template supports the following parameters:

category - A more specific stub category to place the article in (e.g. Category:Website stubs). If unspecified, uses the default stubs category.

section - A boolean attribute. If true, replaces the word "article" with "section".

subject - Words to insert before "article". For example, providing "biographical" will produce "This biographical article is a stub."

qualifier - Words to insert after "article". For example, providing "about a website" will produce "This article about a website is a stub."