Many thanks to our Patrons who cover ~2/3 of our hosting bill. Please join them if you can.
Difference between revisions of "Template:StubIcon"
Jump to navigation
Jump to search
(22px) |
(switch category) |
||
Line 1: | Line 1: | ||
− | <noinclude>[[category: | + | <noinclude>[[category:Templates]]'''This draws a stub icon if the pagename passed it is a stub.'''<br/> |
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: {{#show: {{{pagename|}}} | ?Is stub }}|[[image:57px-Notepad icon.png|link={{{pagename|}}}|Stub class article|{{#if: {{{size|}}}|{{{size}}}|22px}}]]}}</includeonly> |
Latest revision as of 15:54, 15 June 2019
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)