Template:Stub: Difference between revisions

From BTA-Mirror
imported>SwampKryakwa
(Created page with "<div class="notice metadata plainlinks" id="stub" style="clear: both; background: transparent; border: 1px dotted #dddddd;"> : <small>“''Beta 1.8 was a bad choice, but we ca...")
imported>Ttv pedro270707
mNo edit summary
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="notice metadata plainlinks" id="stub" style="clear: both; background: transparent; border: 1px dotted #dddddd;">
<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>
: <small>“''Beta 1.8 was a bad choice, but we can fix it!''”</small>
{{Documentation}}
''This article is a [[:Category:Article stubs|stub]]. You can help {{SITENAME}} Wiki by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].''</div><includeonly>[[Category:Article stubs]]</includeonly><noinclude>
<!-- Put categories on the documentation page -->
----
''This template will categorize articles that include it into [[:Category:Article stubs]].''
[[Category:Article management templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

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.