Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

Difference between revisions of "Template:Stub"

From PCGamingWiki, the wiki about fixing PC games
(Undo revision 54052 by Hungry eyes (talk))
m (Allow the template to be used on all namespaces except for User | User talk | Template | Template talk | PCGamingWiki | PCGamingWiki talk | Project | Project talk | MediaWiki | MediaWiki talk)
 
(11 intermediate revisions by 4 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.png|link=|35px]]</div>
+
<div class="notice-icon svg-icon svg-35 notice-icon-stub"></div>
<div class="notice-text">This page is a [[:Category:Stub|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:Stub]]</includeonly><noinclude>
+
</div><includeonly>{{#switch: {{NAMESPACE}} | User | User talk | Template | Template talk | PCGamingWiki | PCGamingWiki talk | Project | Project talk | MediaWiki | MediaWiki talk= <!-- Do not add to category for these namespaces --> |#default= [[Category:Stubs]]{{#vardefine:Stub|true}} }}</includeonly><noinclude>{{Documentation}}</noinclude>
 
 
==Usage==
 
<code><nowiki>{{stub}}</nowiki></code>
 
 
 
Please place at the '''top''' of stub articles.</noinclude>
 

Latest revision as of 20:20, 22 June 2023

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}}