(merge from offical wiki) |
无编辑摘要 |
||
第1行: | 第1行: | ||
<includeonly><span style="white-space:nowrap">[[File:{{{file|{{{1}}}}}}.png|{{ucfirst:{{{1}}}}}|link={{{link|{{{1}}}}}}|{{#if:{{{2|}}}|{{{2}}}|x22px}}]] {{#if:{{{link|}}}|[[{{{link}}}|{{{ | <includeonly><span style="white-space:nowrap">[[File:{{{file|{{{1}}}}}}.png|{{ucfirst:{{{1}}}}}|link={{{link|{{{1}}}}}}|{{#if:{{{2|}}}|{{{2}}}|x22px}}]] {{#if:{{{link|}}}|[[{{{link}}}|{{{link}}}]]|[[{{{1}}}]]}}</span></includeonly><noinclude> | ||
{{template doc}} | {{template doc}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
2020年9月1日 (二) 04:21的版本
This template can be used for embedding icons in the text. It provides the icon followed by the corresponding link.
Parameters
Parameter | Description | Status | Default |
---|---|---|---|
1 | identifier for the icon | required | empty |
2 | width of the icon | optional | x22px |
file | alternative file | optional | {{{1}}} |
link | alternative link | optional | {{{1}}} |
Usage
Usage is based on common naming convention that icons will be directly named after what they represent.
For instance:
Has trait {{iconify|Panzer Leader}}Has trait Panzer Leader