Template:Stub: Difference between revisions
From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
Content added Content deleted
m (Text replacement - "Notice Templates" to "Notice templates") |
(redid) |
||
Line 1: | Line 1: | ||
<div id="stub" style="margin-top:5px"> |
|||
:<div class="notice metadata plainlinks" id="stub" style="display:flex;clear:left;padding:5px">[[File:Pokey stub icon.png]] <span style="padding-left:3px">''This article is a [[:Category:Stubs|stub]]. You can help {{SITENAME}} by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].''</span></div><includeonly>[[Category:Stubs]]</includeonly><noinclude> |
|||
:[[File:Pokey stub icon.png|link=Category:Stubs]] ''This {{#if:{{{section|}}}|section|article}} is a '''[[:Category:Stubs|stub]]'''. You can help '''Mariopedia''' by <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit{{#if:{{{1|}}}|§ion={{{1}}}}}}} expanding it]</span>. |
|||
==Usage== |
|||
</div><includeonly>{{#if:{{{section|}}}|[[Category:Section stubs]]|[[Category:Stubs]]}}</includeonly><noinclude> |
|||
Place {{tem|Stub}} at the bottom of small articles. This template adds articles to [[:Category:Stubs]]. |
|||
The template pertains to articles by default. When using this template, place {{tem|Stub}} at the bottom of a short article. To make it about a specific section instead, type <code><nowiki>{{stub|section=yes}}</nowiki></code>. To have the edit link go directly to the section, add the section number that appears in the URL as a parameter: <code><nowiki>{{stub|section=yes|6}}</nowiki></code>. This template automatically adds the article into [[:Category:Stubs]], or [[:Category:Section stubs]] if the <code>|section=</code> parameter is defined. |
|||
== See also == |
== See also == |
||
[[:Template:Expand]] |
*[[:Template:Expand]] |
||
[[Category:Notice templates|{{PAGENAME}}]] |
|||
</noinclude> |
[[Category:Notice templates]]</noinclude> |