這是 Template:Iconbox模板文檔
當直接瀏覽時,使用變量可能會失效,請不要寫死頁面名或地址。

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.