< Template:Stub

m (what was i thinking)
(updated documentation and removed redundant category)
Line 4: Line 4:
  
 
===Usage===
 
===Usage===
Typing <code><nowiki>{{</nowiki>stub<nowiki>}}</nowiki></code> produces the message shown at the top, and adds the article to the following category:
+
Typing <code><nowiki>{{</nowiki>stub|date=(Month YYYY)<nowiki>}}</nowiki></code> produces the message shown at the top, and adds the article to the following category:
 
*[[:Category:Article Stubs]]
 
*[[:Category:Article Stubs]]
  
Line 14: Line 14:
  
 
===How is a stub identified?===
 
===How is a stub identified?===
*Place a stub template ''at the very beginning'' of the article. As usual, templates are added by including their name inside double braces, e.g. <nowiki>{{stub}}</nowiki>.
+
*Place a stub template ''at the very beginning'' of the article, and specify the date with the parameter <code>|date=(Month YYYY)</code>. As usual, templates are added by including their name inside double braces, e.g. <nowiki>{{stub|date=July 2017}}</nowiki>.
<noinclude>[[Category:Template Documentations|Stub/doc]]</noinclude>
 
  
 
==Example==
 
==Example==
Line 22: Line 21:
 
==Stub==
 
==Stub==
 
__NOEDITSECTION__
 
__NOEDITSECTION__
{{Stub|cat=no}}
+
{{Stub|date=May 2015|cat=no}}
 
A stub.
 
A stub.
 
|}
 
|}
  
 
<noinclude>[[Category:Template Documentations]]</noinclude>
 
<noinclude>[[Category:Template Documentations]]</noinclude>

Revision as of 07:54, 20 July 2017

Documentation This is a documentation subpage for Template:Stub (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

This template is used to identify a stub, a page that is short for the wiki's standards.

Usage

Typing {{stub|date=(Month YYYY)}} produces the message shown at the top, and adds the article to the following category:

What is a stub?

Main page: Scratch Wiki:Stub

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

If an article is still short, but long enough not to be a stub, {{expand}} should be used instead.

How is a stub identified?

  • Place a stub template at the very beginning of the article, and specify the date with the parameter |date=(Month YYYY). As usual, templates are added by including their name inside double braces, e.g. {{stub|date=July 2017}}.

Example

Stub

Document stub.png This article is a stub. It may be incomplete, unfinished, or have missing parts/sections. If the article can be expanded, please do so! There may be suggestions on its talk page. (May 2015)

A stub.