Jump to content

Template:Stub: Difference between revisions

From SchoolIdolWiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
{{#if: {{{needed|}}} | {{!}}''Missing Details: {{{needed}}}''}}
{{#if: {{{needed|}}} | {{!}}''Missing Details: {{{needed}}}''}}
|}
|}
</div>


[[Category:Article stubs]]
{{#if:{{{nocat|}}}||[[Category:Article stubs]]}}


<noinclude>
<noinclude>
Line 14: Line 15:
[[Category:Template documentation]]
[[Category:Template documentation]]


===Modified Example===
===Usage Example===
Standard use (adds category):
<pre>
{{stub
{{stub
|needed = example1, example2, example3
|needed = example1, example2
}}
}}
</pre>


Code used:
No categorization:
<pre>
<pre>
{{stub
{{stub
|needed = example1, example2, example3
|needed = example1
|nocat = yes
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 02:13, 16 April 2025


Template documentation (for the above template, sometimes hidden or invisible)
Description
This template will categorize articles that include it into Category:Article stubs, and mark it with a stub template.
Syntax
Type {{stub}} at the start or end of an article.
Modified Syntax
If you want to put detailed information including what is missing from the article, please use this syntax. While typing the description, please be brief and type in point. Each point is separated by comma (,)
{{stub
|needed = <details of needed articles>
}}

Visit Template:Stub/doc to edit this text! (How does this work?)

Usage Example

Standard use (adds category):

{{stub
|needed = example1, example2
}}

No categorization:

{{stub
|needed = example1
|nocat = yes
}}