3,082
editsAd placeholder
Template:Area icon: Difference between revisions
Jump to navigation
Jump to search
m
dirty add of aliasing
HarveyPekar (talk | contribs) mNo edit summary |
HarveyPekar (talk | contribs) m (dirty add of aliasing) Tag: Reverted |
||
Line 1: | Line 1: | ||
<includeonly>[[File:{{{1}}} Icon.webp|frameless|{{{2|24}}}px| | <includeonly>[[File:{{{1}}} Icon.webp|frameless|{{{2|24}}}px|alias={{{alias}}}]] [[{{{1}}}{{#if:{{{alias|}}}|{{!}}{{{alias}}}}}]]</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}}</nowiki></code> | <code><nowiki>{{Area|Alcohol Surface|40|alias=Alcohol}}</nowiki></code> | ||
{{Area|Alcohol Surface|40}} | {{Area|Alcohol Surface|40|alias=Alcohol}} | ||
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> |