Template:Area icon: Difference between revisions
Jump to navigation
Jump to search
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> |
Revision as of 19:33, 3 January 2024
Small icons for areas and surfaces.
{{Area|Poison Cloud}}
Poison Cloud
{{Area|Fire Surface|40}}
40
{{Area|Alcohol Surface|40|alias=Alcohol}}
40
Parameter {{{2}}} defines the pixel size of the accompanying icon. Will default to 24px if undefined.
Parameter {{{alias}}} changes the displayed name, if it differs from the article link.