Template:效果框/doc

< Template:效果框
Katty von Keksburg讨论 | 贡献2022年11月25日 (五) 19:23的版本 (Katty von Keksburg移动页面Template:Effectbox/docTemplate:效果框/doc
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
这是Template:效果框的模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

This template creates an infobox around the information about ideas, technologies, national spirits and so on.

Parameters

Parameter Description Status Default
1 name of the idea and identifier for the icon required empty
2 ingame description of the idea optional empty
modifiers effects of the idea required empty
file alternative file name optional {{{1}}}
indent indent by a number of standard indents (1.6em) optional empty

Example

The following code:

{{Effectbox|General Staff|The German General staff was responsible for the continuous study of all aspects of war, including the drawing up and reviewing of plans for mobilization or campaign. This contributed to a higher level of Organization in the army.|modifiers=*Division Organization: {{green|+5%}}
*Planning Speed: {{green|+25%}}
}}

will display:

General Staff icon
General Staff
  • Division Organization: +5%
  • Planning Speed: +25%
The German General staff was responsible for the continuous study of all aspects of war, including the drawing up and reviewing of plans for mobilization or campaign. This contributed to a higher level of Organization in the army.