Difference between revisions of "Template:Stub/doc"

From RimWorld Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
==Description==
+
== Description ==
 
This template is used to mark pages as stubs, and categorizing them in [[:Category:Stubs]].
 
This template is used to mark pages as stubs, and categorizing them in [[:Category:Stubs]].
  
==Syntax==
+
== Syntax ==
 
Type <code>{{t|stub}}</code> on the page to be marked.
 
Type <code>{{t|stub}}</code> on the page to be marked.
  
Line 8: Line 8:
 
==Sample==
 
==Sample==
 
  <nowiki>{{stub}}</nowiki>
 
  <nowiki>{{stub}}</nowiki>
{{stub}}
+
{{stub|nocat=true}}
  
 
  <nowiki>{{stub|section = 1}}</nowiki>
 
  <nowiki>{{stub|section = 1}}</nowiki>
{{stub|section = 1}}
+
{{stub|section = 1|nocat=true}}
  
 
  <nowiki>{{stub|reason = Template information missing}}</nowiki>
 
  <nowiki>{{stub|reason = Template information missing}}</nowiki>
{{stub|reason = Template information missing}}
+
{{stub|reason = Description of the missing information|nocat=true}}
  
 
<includeonly>[[Category:Notice templates]]</includeonly>
 
<includeonly>[[Category:Notice templates]]</includeonly>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 23:34, 1 November 2022

Description

This template is used to mark pages as stubs, and categorizing them in Category:Stubs.

Syntax

Type {{stub}} on the page to be marked.

Additionally, the reason and section parameters can be set to denote specific area or information that needs to be improved.

Sample

{{stub}}
{{stub|section = 1}}
{{stub|reason = Template information missing}}