Difference between revisions of "Template:Stub"

From PCGamingWiki, the wiki about fixing PC games
m
m (notice-stub)
 
(24 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<div style="display:block; background:#e5ebf8; height:40px; padding:10px 10px 8px; width:510px; margin:6px auto; border:1px solid #adb6c9; border-radius:3px;">
+
<div class="notice notice-stub {{#ifeq: {{lc:{{{1|}}}}} | section | notice-section }}" id="notice-stub">
<div style="float: left; margin-right:10px; width:35px;">[[File:Exclaim.png|link=|35px]]</div>
+
<div class="notice-icon svg-icon svg-35 notice-icon-stub"></div>
<div style="float: left; font-size:120%; border:none; color:#000; border-radius: 5px; font-weight: bold; width:460px;">This page is a [[:Category:Stub|stub]]. You can help {{edit|expand this page}} by adding an image or additional text.</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 style="clear: both;"></div>
+
</div><includeonly>{{#if: {{NAMESPACE}} | | [[Category:Stubs]]{{#vardefine:Stub|true}} }}</includeonly><noinclude>{{Documentation}}</noinclude>
</div><includeonly>[[Category:Stub]]</includeonly><noinclude>
 
 
 
==Usage==
 
<code><nowiki>{{stub}}</nowiki></code>
 
 
 
Please place at the '''top''' of stub articles.</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}}