标签:回退 |
小 (文本替换 - 替换“Category:Templates”为“Category:模板”) |
||
第1行: | 第1行: | ||
<includeonly><div style="display:flex; align-items:center;">[[File:{{{file|{{{1}}}}}}.png|{{{1}}} icon]]<div style="margin-left: 5px;"><h4 style="padding-top: 0px; margin-top: 0px;">{{{1}}}</h4>{{plainlist|{{{modifiers}}}}}</div></div>{{#if:{{{2|}}}|<div style="font-size: 80%; font-style: italic;">{{{2}}}</div>}}</includeonly><noinclude> | <includeonly><div style="display:flex; align-items:center;">[[File:{{{file|{{{1}}}}}}.png|{{{1}}} icon]]<div style="margin-left: 5px;"><h4 style="padding-top: 0px; margin-top: 0px;">{{{1}}}</h4>{{plainlist|{{{modifiers}}}}}</div></div>{{#if:{{{2|}}}|<div style="font-size: 80%; font-style: italic;">{{{2}}}</div>}}</includeonly><noinclude> | ||
{{template doc}} | {{template doc}} | ||
[[Category: | [[Category: 模板]] | ||
</noinclude> | </noinclude> |
2020年12月31日 (四) 18:40的最新版本
This template was originally written to fill the boxes of a doctrine {{tree}}
. It can also be use to fill other boxes or table cells.
See also: {{Effectbox}}
Parameters
Parameter | Description | Status | Default |
---|---|---|---|
1 | name of the technology and identifier for the icon | required | empty |
2 | ingame description of the technology | optional | empty |
modifiers | effects of the technology (as list) | required | empty |
file | alternative file name | optional | {{{1}}} |
Example
The following code:
{{Techcell|Air Superiority|Achieving Air Superiority will make it more difficult for enemy bombers to be used against our country, to allow our bombers to be used against our enemies. |modifiers=*Fighter detection: {{green|+10%}} }}
will display:
Achieving Air Superiority will make it more difficult for enemy bombers to be used against our country, to allow our bombers to be used against our enemies.