(merge from offical wiki) |
No edit summary |
||
| Line 3: | Line 3: | ||
{{nowrap|{{{1}}}}} | {{nowrap|{{{1}}}}} | ||
</div>[[File:Outliner top.png|link=]] | </div>[[File:Outliner top.png|link=]] | ||
<div class="stellaris-outliner-content" style="width:314px; height:{{{height|auto}}}"><div style="display:flex; align-items:center;">{{{image|[[File:{{{file|{{{1}}}}}}.png|{{{1}}} | <div class="stellaris-outliner-content" style="width:314px; height:{{{height|auto}}}"><div style="display:flex; align-items:center;">{{{image|[[File:{{{file|{{{1}}}}}}.png|{{{1}}} 的图标]]}}}<div style="margin-left: 5px;">{{plainlist|{{{modifiers}}}}}</div></div>{{#if:{{{2|}}}|<div style="font-size: 80%; font-style: italic;">{{{2}}}</div>}} | ||
</div></div></includeonly><noinclude> | </div></div></includeonly><noinclude> | ||
{{Template doc}} | {{Template doc}} | ||
[[Category: | [[Category: 信息框]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 19:02, 9 March 2022
This template creates an infobox around the information about planet modifiers.
Parameters[edit source]
| Parameter | Description | Status | Default |
|---|---|---|---|
| 1 | name of the planet modifier and identifier of the icon | required | empty |
| 2 | ingame description of the planet modifier | optional | empty |
| modifiers | effects of the planet modifier | required | empty |
| file | alternative file name | optional | {{{1}}} |
| image | alternative image or {{planet modifier}} |
optional | [[File:{{{1}}}.png|{{{1}}} icon]] |
| indent | indent by a number of standard indents (1.6em) | optional | empty |
Example[edit source]
The following code:
{{pm-box
|Luxuries Distributed
|The provision of amenities to the populace is being bolstered by way of a special distribution program, delivering luxury and consumer goods.
|image={{planet modifier|pm_luxuries|1}}
|modifiers=
* {{icon|amenities mult}} {{green|+25%}} amenities
* {{icon|immigration pull mult}} {{green|+25%}} immigration pull
}}
will display:

