Template:Magia Record Attribute: Difference between revisions
Jump to navigation
Jump to search
(Remove the aliases, because the input is also used to specify a category in Template:Magia Record Stats, and having two names for the same attribute causes problems) |
(Fix stray bracket) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 21: | Line 21: | ||
The size may optionally be specified as <tt>|size=20px</tt> for example: {{Magia Record Attribute|flame|size=20px}} | The size may optionally be specified as <tt>|size=20px</tt> for example: {{Magia Record Attribute|flame|size=20px}} | ||
In addition to the six defined attributes, this accepts the special terms "unknown" and "all". | |||
</noinclude><includeonly>{{#switch:{{{1|}}} | </noinclude><includeonly>{{#switch:{{{1|}}} | ||
|aqua=[[File:attribute aqua.png|{{{size|40px}}}]] | |aqua=[[File:attribute aqua.png|{{{size|40px}}}|link=Magia Record Gameplay#aqua]] | ||
|flame=[[File:attribute flame.png|{{{size|40px}}}]] | |flame=[[File:attribute flame.png|{{{size|40px}}}|link=Magia Record Gameplay#flame]] | ||
|forest=[[File:attribute forest.png|{{{size|40px}}}]] | |forest=[[File:attribute forest.png|{{{size|40px}}}|link=Magia Record Gameplay#forest]] | ||
|light=[[File:attribute light.png|{{{size|40px}}}]] | |light=[[File:attribute light.png|{{{size|40px}}}|link=Magia Record Gameplay#light]] | ||
|dark=[[File:attribute dark.png|{{{size|40px}}}]] | |dark=[[File:attribute dark.png|{{{size|40px}}}|link=Magia Record Gameplay#dark]] | ||
|void=[[File:attribute void.png|{{{size|40px}}}]] | |void=[[File:attribute void.png|{{{size|40px}}}|link=Magia Record Gameplay#void]] | ||
|unknown=[[File:attribute unknown.png|{{{size|40px}}}|link=Magia Record Gameplay#unknown]] | |||
|all=[[File:attribute all.png|{{{size|40px}}}|link=Magia Record Gameplay#all]] | |||
}}</includeonly> | }}</includeonly> |
Latest revision as of 05:32, 25 August 2023
Transcludes the icon for a Magia Record attribute into the page.
{{Magia Record Attribute|aqua}} {{Magia Record Attribute|flame}} {{Magia Record Attribute|forest}} {{Magia Record Attribute|light}} {{Magia Record Attribute|dark}} {{Magia Record Attribute|void}}
The above expands to:
The size may optionally be specified as |size=20px for example:
In addition to the six defined attributes, this accepts the special terms "unknown" and "all".