Template:军队组合数量:修订间差异

(已移除至Template:RetinueComposition的重定向)
标签移除重定向
(文本替换 - 替换“Category:Templates”为“Category:模板”)
 
(未显示1个用户的5个中间版本)
第1行: 第1行:
{| class="wikitable"
{| class="wikitable"
|-
|-
{{#if:{{{LI|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Light infantry.png]]}}<!--
{{#if:{{{LI|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Light infantry.png|轻步兵|link=]]}}<!--
-->{{#if:{{{HI|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Heavy infantry.png]]}}<!--
-->{{#if:{{{HI|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Heavy infantry.png|重步兵|link=]]}}<!--
-->{{#if:{{{P|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Pikemen.png]]}}<!--
-->{{#if:{{{P|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Pikemen.png|长枪兵|link=]]}}<!--
-->{{#if:{{{LC|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Light cavalry.png]]}}<!--
-->{{#if:{{{LC|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Light cavalry.png|轻骑兵|link=]]}}<!--
-->{{#if:{{{HC|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Heavy cavalry.png]]}}<!--
-->{{#if:{{{HC|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Heavy cavalry.png|重骑兵|link=]]}}<!--
-->{{#if:{{{A|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Archers.png]]}}<!--
-->{{#if:{{{A|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Archers.png|弓箭手|link=]]}}<!--
-->{{#if:{{{HA|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Horse archers.png]]}}<!--
-->{{#if:{{{HA|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Horse archers.png|弓骑兵|link=]]}}<!--
-->{{#if:{{{CC|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Camel cavalry.png]]}}<!--
-->{{#if:{{{CC|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Camel cavalry.png|骆驼兵|link=]]}}<!--
-->{{#if:{{{WE|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:War elephants.png]]}}<!--
-->{{#if:{{{WE|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:War elephants.png|战象|link=]]}}<!--
-->{{#if:{{{G|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Ships.png]]}}
-->{{#if:{{{G|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Ships.png|船|link=]]}}
|-
|-
{{#if:{{{LI|}}}|{{!}}{{!}}{{#expr:{{{LI}}}}}}}<!--
{{#if:{{{LI|}}}|{{!}}{{!}}{{#expr:{{{LI}}}}}}}<!--
第25行: 第25行:
|}<noinclude>
|}<noinclude>


Template for displaying army composition for retinue subunits. Retinues vary in size now so it no longer makes sense for them to be displayed as percentages. I kept ships included in the template in the very slim chance that a retinue will one day have them.
'''本模板别名:RetinueComposition、军队组成数量'''


Example:
用于展示一支军队包括哪些兵种及每个兵种的数量。
<pre>{{RetinueComposition|HI=200|A=50}}</pre>
gives:
{{RetinueComposition|HI=200|A=50}}


[[Category:Templates]]</noinclude>
该模板翻译自英文,设计本意是专用于描述近卫军组成(因为在某次更新后近卫军总数不再固定,因而原本的[[Template:军队组合比例|比例模板]]不再有意义)。尽管游戏中近卫军不包含船,但是该模板还是支持显示船。
 
变量对应表
{| class="wikitable"
|-
! 参数 !! 兵种
|-
| LI || 轻步兵
|-
| HI || 重步兵
|-
| P || 长枪兵
|-
| LC || 轻骑兵
|-
| HC || 重骑兵
|-
| A || 弓箭手
|-
| HA || 弓骑兵
|-
| CC || 骆驼兵
|-
| WE || 战象
|-
| G || 船
|}
例子:
<pre>{{军队组合数量|HI=200|A=50}}</pre>
显示:
{{军队组合数量|HI=200|A=50}}
 
[[Category: 模板]]</noinclude>

2019年3月2日 (六) 21:52的最新版本

轻步兵 重步兵 长枪兵 轻骑兵 重骑兵 弓箭手 弓骑兵 骆驼兵 战象 船

本模板别名:RetinueComposition、军队组成数量

用于展示一支军队包括哪些兵种及每个兵种的数量。

该模板翻译自英文,设计本意是专用于描述近卫军组成(因为在某次更新后近卫军总数不再固定,因而原本的比例模板不再有意义)。尽管游戏中近卫军不包含船,但是该模板还是支持显示船。

变量对应表

参数 兵种
LI 轻步兵
HI 重步兵
P 长枪兵
LC 轻骑兵
HC 重骑兵
A 弓箭手
HA 弓骑兵
CC 骆驼兵
WE 战象
G

例子:

{{军队组合数量|HI=200|A=50}}

显示:

重步兵 弓箭手
200 50