Tag: Rollback |
m (文本替换 - 替换“Category:Templates”为“Category:模板”) |
||
| Line 1: | Line 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> | ||
Latest revision as of 18:40, 31 December 2020
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:

Air Superiority
- Fighter detection:
- 重定向 Template:绿字
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.