Difference between revisions of "Template:Stub"

From PCGamingWiki, the wiki about fixing PC games
m (added lowercase calls)
m (added namespace exclusion)
 
Line 2: Line 2:
 
<div class="notice-icon svg-icon svg-35 notice-icon-stub"></div>
 
<div class="notice-icon svg-icon svg-35 notice-icon-stub"></div>
 
<div class="notice-text">This {{#ifeq: {{lc:{{{1|}}}}} | section |section|page}} is a [[:Category:Stubs|stub]]: it lacks content and/or basic article components. You can help to {{edit|expand this page}} by adding an image or additional information.</div>
 
<div class="notice-text">This {{#ifeq: {{lc:{{{1|}}}}} | section |section|page}} is a [[:Category:Stubs|stub]]: it lacks content and/or basic article components. You can help to {{edit|expand this page}} by adding an image or additional information.</div>
</div><includeonly>[[Category:Stubs]]{{#vardefine:Stub|true}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
</div><includeonly>{{#if: {{NAMESPACE}} | | [[Category:Stubs]]{{#vardefine:Stub|true}} }}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 19:59, 8 April 2020

This page is a stub: it lacks content and/or basic article components. You can help to expand this page by adding an image or additional information.
Documentation for the above template (sometimes hidden from view).

Description

The stub tag is placed at the top of articles or sections that lacks content and/or basic article components.

The tag should only be removed once the offending article element(s) are made to match the standards of the wiki.


Arguments

  • section - Used as the first parameter to indicate that only the the current section lacks content and/or basic article components.


Syntax

{{Stub| section (optional) }}


Example #1 - Full page stub

This page is a stub: it lacks content and/or basic article components. You can help to expand this page by adding an image or additional information.
{{Stub}}


Example #2 - Section stub

This section is a stub: it lacks content and/or basic article components. You can help to expand this page by adding an image or additional information.
{{Stub|section}}