Template:Effectbox

From Imperator Wiki
Jump to navigation Jump to search
[view] [edit]Template-info.png Template documentation

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|width=96%|file=Celtic philosophy start bonus|Chariot Culture
|The use of chariots in warfare stems back many thousands of years, and holds strong affiliations with nobility and class; chariot inhumations speak to the honor that can be won through battle. Chariots themselves were commonly used as mobile platforms with two to three occupants, from which javelins or other thrown weapons were used to break the ranks of their opponents.
|modifiers=* Allows {{icon|Chariots|24px}} 'Chariot' units }}

will display:

Chariot Culture icon
Chariot Culture

  • Allows Unit chariots.png 'Chariot' units
The use of chariots in warfare stems back many thousands of years, and holds strong affiliations with nobility and class; chariot inhumations speak to the honor that can be won through battle. Chariots themselves were commonly used as mobile platforms with two to three occupants, from which javelins or other thrown weapons were used to break the ranks of their opponents.