[查看] [编辑]Template-info.png 模板文档

This template creates an infobox around the information about planet modifiers.

Parameters[编辑源代码]

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[编辑源代码]

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:

Luxuries Distributed

Outliner top.png
Pm luxuries.pngPm frame 1.png
  • 舒适度 Amenities +25% amenities
  • 迁入吸引力 Immigration Pull +25% immigration pull
The provision of amenities to the populace is being bolstered by way of a special distribution program, delivering luxury and consumer goods.