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

Usage[编辑源代码]

One item in a list of icons (achievements, disasters, etc.). The box name is sent as a referencable anchor on the page, so you don't need to also use id="" to link to it.

{{iconbox|name|description}}
{{iconbox|name|description|image=file.png}}
{{iconbox|name|description|link=on}}
{{iconbox|name|description|image=file.png|link=on}}

Parameters[编辑源代码]

Parameter Description Required Default
1 Box name and hovertext required none
2 Description optional The description of the achievements
image Image file optional <parameter 1>.png
template Uses an assembled template in place of an image optional image
link Puts a link in the box name
  • If set to "on", <parameter 1> is used for the link
optional No link

Examples[编辑源代码]

{{iconbox|unknown}}

unknown 的图标
unknown
unknown的描述

{{iconbox|Brave New World|Colonize a planet.}}

Brave New World 的图标
Brave New World
Colonize a planet.

{{iconbox|Break On Through...|Research a Rare technology.|link=on}}

Break On Through... 的图标
Research a Rare technology.

{{iconbox|Shipyard|A Shipyard may build one ship at a time, in parallel with other Shipyards.|image=sb shipyard.png|link=on}}

Shipyard 的图标
A Shipyard may build one ship at a time, in parallel with other Shipyards.

{{iconbox|Lush|Life thrives here, the fauna is plentiful and the flora grows rapidly.|template={{planet modifier|pm_lush|1}}|link=on}}

Pm lush.pngPm frame 1.png
Life thrives here, the fauna is plentiful and the flora grows rapidly.