Difference between revisions of "Template:Stub/doc"

From Bronies.wiki
Jump to navigation Jump to search
(Created page with "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 nud...")
 
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
 
<code>section</code> - A boolean attribute. If true, replaces the word "article" with "section".  
 
<code>section</code> - A boolean attribute. If true, replaces the word "article" with "section".  
  
<code>subject</code> - Words to insert before "article". For example, providing "biographical" will produce "This biographical article[...]"
+
<code>subject</code> - Words to insert before "article". For example, providing "biographical" will produce "This biographical article is a stub."
  
<code>qualifier</code> - Words to insert after "article". For example, providing "about a website" will produce "This article about a website[...]"
+
<code>qualifier</code> - Words to insert after "article". For example, providing "about a website" will produce "This article about a website is a stub."
 +
 
 +
[[Category:Stub templates]]

Latest revision as of 01:32, 4 October 2020

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[edit source]

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."