您現在使用的中文變體可能會影響一些詞語繁簡轉換的效果。建議您根據您的偏好切換到下列變體之一:大陆简体香港繁體澳門繁體大马简体新加坡简体臺灣正體。(不再提示 | 了解更多

模板:Trait entry/doc

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

This template can be used to add an entry for a trait in a table of traits. It shows the icon of the trait, followed by its name. The icon's width is constant, defined by the template. The name is automatically aligned left.

Use this template to standardise the style of trait entries in tables.

Currently does not support entries that have an id="" on the same row, with the rows parameter set.

參數[編輯原始碼]

參數 描述 要求 默認
1 特質名稱 required
file 如果此參數為非空,它將重載圖標為使用該文件路徑的圖片。如果目前特質沒有圖標則使用此項。 可選 默認為使用特質名稱的Icon template
rows 定義條目應該占用多少行。 可選 1
2 漢語名稱 required

例子[編輯原始碼]

Wiki文本 結果
{{trait entry|Blind|失明}} 失明
{{trait entry|New trait without icon|file=Trait henbane addict.png|没有图标的新特质}} Trait henbane addict.png 沒有圖標的新特質
{{trait entry|Wounded|rows=2}} 受傷
(舉例用的行)