小 (文本替换 - 替换“Category:Templates”为“Category:模板”) |
小 (image) |
||
第1行: | 第1行: | ||
<includeonly><span style="z-index: 1;">[[File:{{{1}}}.png|{{{w|60px}}}]]</span><span style="z-index: 2; position: relative; margin-left: -{{{w|60px}}};">[[File:Pm_frame_{{{2|1}}}.png|{{{w|60px}}}|link={{{link|{{#if:{{{3|}}}|{{{3}}}}}}}}]]{{#if:{{{3|}}}| {{{3}}}}}</span></includeonly><noinclude> | <includeonly><span style="z-index: 1;">[[File:{{#if:{{{image|}}}|{{{image}}}|{{{1}}}.png}}|{{{w|60px}}}]]</span><span style="z-index: 2; position: relative; margin-left: -{{{w|60px}}};">[[File:Pm_frame_{{{2|1}}}.png|{{{w|60px}}}|link={{{link|{{#if:{{{3|}}}|{{{3}}}}}}}}]]{{#if:{{{3|}}}| {{{3}}}}}</span></includeonly><noinclude> | ||
{{Template doc}} | {{Template doc}} | ||
[[Category:模板]] | [[Category:模板]] | ||
</noinclude> | </noinclude> |
2022年4月12日 (二) 21:40的版本
This template displays a planet modifier icon with a green, yellow or red frame.
Parameter
Parameter | Description | Default | Status |
---|---|---|---|
1 | To specify the planet modifier file | empty | required |
2 | To specify the planet modifier frame:
1 = green; 2 = yellow; 3 = red; as in the script files |
1 | required |
3 | planet modifier name | empty | optional |
w | To specify the size of the planet modifier file | 60px | optional |