Difference between revisions of "Template:Attribute"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(added alias)
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Attribute:{{#ifeq:{{{1|}}}|Fire|火|}}{{#ifeq:{{{1|}}}|FIRE|火|}}{{#ifeq:{{{1|}}}|Water|水|}}{{#ifeq:{{{1|}}}|WATER|水|}}{{#ifeq:{{{1|}}}|Wood||}}{{#ifeq:{{{1|}}}|Earth|木|}}{{#ifeq:{{{1|}}}|EARTH|木|}}{{#ifeq:{{{1|}}}|Light|天|}}{{#ifeq:{{{1|}}}|LIGHT||}}{{#ifeq:{{{1|}}}|Holy||}}{{#ifeq:{{{1|}}}|HOLY||}}{{#ifeq:{{{1|}}}|Dark||}}{{#ifeq:{{{1|}}}|DARK||}}{{#ifeq:{{{1|}}}|Demon||}}{{#ifeq:{{{1|}}}|DEMON||}}{{#ifeq:{{{1|}}}|All|全|}}{{#ifeq:{{{1|}}}|ALL|全|}}}}
<includeonly><onlyinclude>{{#ifeq:{{{1|}}}||{{Energy:火}}{{Energy:水}}•{{Energy:木}}<br/>{{Energy:天}}{{Energy:}}|{{Energy:{{#switch:{{lc:{{{1|}}}}}
| 1 | | fire = 火
| 2 | | water = 水
| 3 | 木 | wood | grass | earth | tree =
| 4 | 天 | heaven | holy | light | divine | aether =
| 5 | | dark | nether = 冥
| 6 | | demon | shadow | infernal = 魔
| 0 | | all | all-round = 全
| 7 | 英雄 | hero | valiant = 英雄
| 8 | 世界 | world = 世界
| 9 | 無限 | infinity | infinite | mugen = 無限
| 10 | | zero | null = 零
|#default = {{{1|}}}
}}}}}}</includeonly></onlyinclude>
<noinclude>{{Documentation}}</noinclude>

Latest revision as of 15:58, 6 November 2022

Template documentation[view] [edit] [history] [purge]

Description

This template is used to display a given attribute in a proper fancy format. It takes the element's English or Japanese name as the only argument.

Eligible English names for each attribute:

  • Fire: Fire
  • Water: Water
  • Wood: Wood, Grass, Earth, Tree
  • Nether: Nether, Dark
  • Aether: Aether, Heaven, Holy, Light, Divine
  • Infernal: Infernal, Demon, Shadow
  • All-round: All-round, All
  • Valiant: Valiant, Hero
  • World: World
  • Infinity: Infinity, Infinite, Mugen
  • Null: Zero, Null

Usage

{{Attribute|Fire}}

Element fire.pngFIRE

{{Attribute|魔}}

Element evil.pngINFERNAL