Template:Stub documentation: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>MSGJ
→‎Example: undefined value is ¬
meta>MSGJ
unfortunately this gives a template loop. disabling until we can find a way round this.
Line 10: Line 10:


===Example===
===Example===
<nowiki>{{</nowiki>{{#if:{{{name|}}}|{{{name}}}|stub}}<nowiki>}}</nowiki> produces:
<nowiki>{{</nowiki>stub<nowiki>}}</nowiki> produces:
{{#if:{{{name|}}}|{{{{{name}}}}}|<div class="notice metadata plainlinks" id="stub">''This article is a [[Wikipedia:Stub|stub]]. You can help Wikipedia by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it]. ''</div>}}
<div class="notice metadata plainlinks" id="stub">''This article is a [[Wikipedia:Stub|stub]]. You can help Wikipedia by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it]. ''</div>





Revision as of 13:08, 22 August 2009

This is a stub template. A brief explanation of these templates follow; for full details please consult Wikipedia:Stub.

What is a stub?

A stub is an article containing only a few sentences of text which is too short to provide encyclopedic coverage of a subject.

How is a stub identified?

  • If possible, try to find the most appropriate stub template for the article. A full list can be found at Wikipedia:WikiProject Stub sorting/Stub types.
  • Two or more different stub templates may be used, if necessary.
  • Place a stub template at the very end of the article, after the "External links" section, any navigation templates, and the category tags. As usual, templates are added by including their name inside double curly brackets, e.g. {{stub}}.

Example

{{stub}} produces:


Adding the stub template to an article will also add it to the following categories:

  • [[:Category:{{{category}}}]]
  • [[:Category:{{{category1}}}]]
  • [[:Category:{{{category2}}}]]

Further information

Further information can be found at: