Template:ArmyComposition:修订间差异

(创建页面,内容为“{| class="wikitable" |- {{#if:{{{LI|<noinclude>300</noinclude>}}}|{{!}}{{!}}File:Light infantry.png}}<!-- -->{{#if:{{{HI|<noinclude>300</noinclude>}}}|{{!}}{{!}}…”)
 
(重定向页面至Template:军队组合比例
标签新重定向
 
第1行: 第1行:
{| class="wikitable"
# 重定向 [[Template: 军队组合比例]]
|-
{{#if:{{{LI|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Light infantry.png]]}}<!--
-->{{#if:{{{HI|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Heavy infantry.png]]}}<!--
-->{{#if:{{{P|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Pikemen.png]]}}<!--
-->{{#if:{{{LC|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Light cavalry.png]]}}<!--
-->{{#if:{{{HC|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Heavy cavalry.png]]}}<!--
-->{{#if:{{{A|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Archers.png]]}}<!--
-->{{#if:{{{HA|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Horse archers.png]]}}<!--
-->{{#if:{{{CC|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Camel cavalry.png]]}}<!--
-->{{#if:{{{WE|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:War elephants.png]]}}<!--
-->{{#if:{{{G|<noinclude>300</noinclude>}}}|{{!}}{{!}}[[File:Ships.png]]}}
|-
{{#if:{{{LI|}}}|{{!}}{{!}}{{#expr:100*{{{LI}}}/{{{total}}}round0}}%}}<!--
-->{{#if:{{{HI|}}}|{{!}}{{!}}{{#expr:100*{{{HI}}}/{{{total}}}round0}}%}}<!--
-->{{#if:{{{P|}}}|{{!}}{{!}}{{#expr:100*{{{P}}}/{{{total}}}round0}}%}}<!--
-->{{#if:{{{LC|}}}|{{!}}{{!}}{{#expr:100*{{{LC}}}/{{{total}}}round0}}%}}<!--
-->{{#if:{{{HC|}}}|{{!}}{{!}}{{#expr:100*{{{HC}}}/{{{total}}}round0}}%}}<!--
-->{{#if:{{{A|}}}|{{!}}{{!}}{{#expr:100*{{{A}}}/{{{total}}}round0}}%}}<!--
-->{{#if:{{{HA|}}}|{{!}}{{!}}{{#expr:100*{{{HA}}}/{{{total}}}round0}}%}}<!--
-->{{#if:{{{CC|}}}|{{!}}{{!}}{{#expr:100*{{{CC}}}/{{{total}}}round0}}%}}<!--
-->{{#if:{{{WE|}}}|{{!}}{{!}}{{#expr:100*{{{WE}}}/{{{total}}}round0}}%}}<!--
-->{{#if:{{{G|}}}|{{!}}{{!}}{{#expr:100*{{{G}}}/{{{total}}}round0}}%}}
|-
|}<noinclude>
Template for displaying army composition for [[holy orders]] or [[mercenaries]], based on common\static_modifiers.txt
 
Example:
<pre>{{armyComposition|HI=600|HC=300|A=200|total=1100}}</pre>
gives:
{{armyComposition|HI=600|HC=300|A=200|total=1100}}
 
[[Category:Templates]]</noinclude>

2019年3月2日 (六) 01:40的最新版本