Ad placeholder

Template:Area icon: Difference between revisions

Jump to navigation Jump to search
m
too dirty. undo
m (dirty add of aliasing)
Tag: Reverted
m (too dirty. undo)
Tag: Manual revert
Line 1: Line 1:
<includeonly>[[File:{{{1}}} Icon.webp|frameless|{{{2|24}}}px|alias={{{alias}}}]] [[{{{1}}}{{#if:{{{alias|}}}|{{!}}{{{alias}}}}}]]</includeonly><noinclude>[[Category:Templates]]
<includeonly>[[File:{{{1}}} Icon.webp|frameless|{{{2|24}}}px|link={{{1}}}]] [[{{{1}}}]]</includeonly><noinclude>[[Category:Templates]]
Small icons for areas and surfaces.
Small icons for areas and surfaces.


Line 8: Line 8:
{{Area|Fire Surface|40}}
{{Area|Fire Surface|40}}


<code><nowiki>{{Area|Alcohol Surface|40|alias=Alcohol}}</nowiki></code>
<code><nowiki>{{Area|Alcohol Surface|40}}</nowiki></code>
{{Area|Alcohol Surface|40|alias=Alcohol}}
{{Area|Alcohol Surface|40}}


Parameter '''<nowiki>{{{2}}}</nowiki>''' defines the pixel size of the accompanying icon. Will default to 24px if undefined.
Parameter '''<nowiki>{{{2}}}</nowiki>''' defines the pixel size of the accompanying icon. Will default to 24px if undefined.
Parameter '''<nowiki>{{{alias}}}</nowiki>''' changes the displayed name, if it differs from the article link.
[[Category:Areas]]
[[Category:Areas]]
</noinclude>
</noinclude>

Navigation menu