Template:Stub: Difference between revisions

From BTA-Mirror
imported>Ttv pedro270707
mNo edit summary
imported>Ttv pedro270707
mNo edit summary
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Msgbox|warning|This article is a stub.|Help us make this wiki Better than Adventure by expanding it!|{{InvSprite|Cherry Sapling|scale=2}}}}<noinclude>
<includeonly>{{Msgbox|warning|This {{#ifeq: {{bl|{{{section|}}}}} | y | section | article }} is a stub.|Help us make this wiki ''Better than Adventure'' by expanding it!|{{InvSprite|Cherry Sapling}}}}{{#ifeq: {{bl|{{{section|}}}}} | y | {{#ifeq: {{bl|{{{category|y}}}|string=y}} | n | | [[Category:Section stubs]] }} | {{#ifeq: {{bl|{{{category|y}}}|string=y}} | n | | [[Category:Article stubs]] }} }}</includeonly><noinclude>
----
{{Documentation}}
''This template will categorize articles that include it into [[:Category:Article stubs]].''
<!-- Put categories on the documentation page -->
 
</noinclude>
</noinclude>
[[Category:Article management templates|Stub]]

Latest revision as of 20:49, 22 March 2023

[view | edit | history | purge]Documentation

This template adds a stub warning in the page to indicate that it is lacking much information. Not to be confused with {{Rewrite}}, which is used for pages with much content but low value.

Arguments[edit source]

Argument Value Note
category y, n Defines if the page should be in Category:Article stubs (or Category:Section stubs if used in a section).
section y, n Defines if the template is used in a section or not. Changes the message and the category.

Usage[edit source]

This template should generally be used in the header of the page or section.

{{stub}} gives:

This article is a stub.
Help us make this wiki Better than Adventure by expanding it!

{{stub|section=y}} gives:

This section is a stub.
Help us make this wiki Better than Adventure by expanding it!
[view | edit | history | purge]The above documentation is transcluded from Template:Stub/doc.