Template:Area icon: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
m (dirty add of aliasing)
Tag: Reverted
No edit summary
 
(2 intermediate revisions by 2 users not shown)
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.
 
{{Main namespace only|[[Category:Areas]]}}
Parameter '''<nowiki>{{{alias}}}</nowiki>''' changes the displayed name, if it differs from the article link.
[[Category:Areas]]
</noinclude>
</noinclude>

Latest revision as of 22:53, 26 January 2024

Small icons for areas and surfaces.

{{Area|Poison Cloud}} Poison Cloud Poison Cloud

{{Area|Fire Surface|40}} 40

{{Area|Alcohol Surface|40}} 40

Parameter {{{2}}} defines the pixel size of the accompanying icon. Will default to 24px if undefined.