Jump to content

Template:StubIcon: Difference between revisions

From Deep Politics Wiki
WikiSpooks>Robin
No edit summary
 
WikiBot (talk | contribs)
m Plain formatting, no semantic markup
 
Line 2: Line 2:
It has two parameters:<br/>
It has two parameters:<br/>
{{t|pagename}}, the name of the page in question<br/>
{{t|pagename}}, the name of the page in question<br/>
{{t|size}}, the width of the icon (defaults to 22px)</noinclude><includeonly>{{#if: {{#show: {{{pagename|}}} | ?Is stub }}|[[image:57px-Notepad icon.png|link={{{pagename|}}}|Stub class article|{{#if: {{{size|}}}|{{{size}}}|22px}}]]}}</includeonly>
{{t|size}}, the width of the icon (defaults to 22px)</noinclude><includeonly>{{#if: |[[image:57px-Notepad icon.png|link={{{pagename|}}}|Stub class article|{{#if: {{{size|}}}|{{{size}}}|22px}}]]}}</includeonly>

Latest revision as of 22:35, 24 September 2026

This draws a stub icon if the pagename passed it is a stub.
It has two parameters:
pagename, the name of the page in question
size, the width of the icon (defaults to 22px)