Difference between revisions of "Template:Stub"

From PCGamingWiki, the wiki about fixing PC games
(SVG icon)
m (notice-stub)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div class="notice notice-stub">
+
<div class="notice notice-stub {{#ifeq: {{lc:{{{1|}}}}} | section | notice-section }}" id="notice-stub">
<div class="notice-icon">[[File:Stub icon.svg|link=|35px]]</div>
+
<div class="notice-icon svg-icon svg-35 notice-icon-stub"></div>
<div class="notice-text">This 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]]</includeonly><noinclude>{{Documentation}}</noinclude>
+
</div><includeonly>{{#if: {{NAMESPACE}} | | [[Category:Stubs]]{{#vardefine:Stub|true}} }}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 04:15, 15 June 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}}