小无编辑摘要 |
小无编辑摘要 |
||
第6行: | 第6行: | ||
|steppe=poor soils | |steppe=poor soils | ||
|forest|forests=resources lumber | |forest|forests=resources lumber | ||
|={{lc:{{{1}}}}}|#default={{{2}}}}}.png|link=State trait#{{{1}}}|{{{w|30px}}}|{{{3}}}]] {{{3|{{{1|}}} }}}</includeonly><noinclude>{{template doc}}[[Category:Templates]]</noinclude> | |={{lc:{{{1}}}}}|#default={{{2}}}}}.png|link=State trait#{{{1}}}|{{{w|30px}}}|{{{3|{{{1|}}}]] {{{3|{{{1|}}} }}}</includeonly><noinclude>{{template doc}}[[Category:Templates]]</noinclude> |
2024年11月7日 (四) 20:12的版本
This template dynamically generates icons and text for state traits. The icon automatically links to the page State traits. For the available state trait icons, see Category:State trait icons.
Parameters
顺序 | 描述 | 必要参数 |
---|---|---|
1 | 特质名称 | 必填 |
2 | 特质图标名称 | 选填 |
w | 宽度,默认30px | 选填 |
3 | 备用名称 | 选填 |
Several trait icons share common name elements and can be indicated with shorthand in parameter 2.
Icon name | Shorthand |
---|---|
resources X | X |
Y climate | Y |
dry climate | desert |
poor soils | steppe |
natural harbors | bay/harbor |
resources lumber | forest(s) |
示例
Example: {{State trait|Natural Harbors|w=24px||优良港口}} becomes 优良港口
{{State trait|Good Soils||沃土}} | 沃土 |
{{State trait|Mississipi River|river|密西西比河}} | 密西西比河 |
{{State trait|落基山脉|mountain}} | 落基山脉 |
{{State trait|萨洛尼卡湾|bay}} | 萨洛尼卡湾 |
{{State trait|亚马逊雨林|forest}} | 亚马逊雨林 |