Template:Tradition/doc

< Template:Tradition
自由之民讨论 | 贡献2022年5月11日 (三) 15:58的版本 (21:20, 15 March 2022‎ SirBlackAxe)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
这是 Template:Tradition模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

This template can be used to generate icons for traditions.

Tradition images can be found here: Category:传统图标

Parameters[编辑源代码]

Parameter Description Required Default
image Image file optional Tradition parameter_1 parameter_2.png
1 Tradition tree required none
2 Tradition name
  • Determines the icon image if not overridden by the image parameter
  • If set to tree, the phrase "tradition tree" will be appended to the image hovertext and iconify text (if applicable)
optional none (Uses the tradition tree image instead)
3 Format
  • icon = x24px, no text
  • iconify = x24px, text
  • <num>px = <num>px, no text
optional no resize, no text

Examples[编辑源代码]

{{tradition|expansion}}
Expansion

{{tradition|expansion|tree}}
Expansion 传统树

{{tradition|Expansion|tree|iconify}}
Expansion 传统树 Expansion 传统树

{{tradition|expansion|Galactic Ambition}}
Galactic Ambition

{{tradition|expansion|Galactic Ambition|icon}}
Galactic Ambition

{{tradition|expansion|Galactic Ambition|iconify}}
Galactic Ambition Galactic Ambition

{{tradition|expansion|Galactic Ambition|iconify|image=unknown.png}}
Galactic Ambition Galactic Ambition