Template:State trait:修订间差异

(创建页面,内容为“<includeonly>[[File:State trait {{#switch:{{{2|}}} |fish|grazing|lumber|ore|whales=resources {{{2}}} |cold|dry|tropical={{{2}}} climate |bay|harbor=natural harbors |desert=dry climate |steppe=poor soils |forest|forests=resources lumber |={{lc:{{{1}}}}}|#default={{{2}}}}}.png|link=State trait#{{{1}}}|{{{w|30px}}}|{{{1}}}]] {{{1}}}</includeonly><noinclude>{{template doc}}Category:Templates</noinclude>”)
 
无编辑摘要
第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}}}|{{{1}}}]] {{{1}}}</includeonly><noinclude>{{template doc}}[[Category:Templates]]</noinclude>
|={{lc:{{{1}}}}}|#default={{{2}}}}}.png|link=State trait#{{{1}}}|{{{w|30px}}}|{{{3}}}]] {{{3}}}</includeonly><noinclude>{{template doc}}[[Category:Templates]]</noinclude>

2024年11月6日 (三) 23:25的版本

[阅读] [编辑]Template-info.png 模板文档

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}} {{{3}}} {{{3}}}
{{State trait|萨洛尼卡湾|bay}} {{{3}}} {{{3}}}
{{State trait|亚马逊雨林|forest}} {{{3}}} {{{3}}}