Template:Magia Record Attribute: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
(Change default size to 40px)
(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)
Line 19: Line 19:
{{Magia Record Attribute|dark}}
{{Magia Record Attribute|dark}}
{{Magia Record Attribute|void}}
{{Magia Record Attribute|void}}
The terms "water", "fire", and "null" are accepted as synonyms for "aqua", "flame", and "void", respectively.


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}}
</noinclude><includeonly>{{#switch:{{{1|}}}
</noinclude><includeonly>{{#switch:{{{1|}}}
|water|aqua=[[File:attribute aqua.png|{{{size|40px}}}]]
|aqua=[[File:attribute aqua.png|{{{size|40px}}}]]
|fire|flame=[[File:attribute flame.png|{{{size|40px}}}]]
|flame=[[File:attribute flame.png|{{{size|40px}}}]]
|forest=[[File:attribute forest.png|{{{size|40px}}}]]
|forest=[[File:attribute forest.png|{{{size|40px}}}]]
|light=[[File:attribute light.png|{{{size|40px}}}]]
|light=[[File:attribute light.png|{{{size|40px}}}]]
|dark=[[File:attribute dark.png|{{{size|40px}}}]]
|dark=[[File:attribute dark.png|{{{size|40px}}}]]
|null|void=[[File:attribute void.png|{{{size|40px}}}]]
|void=[[File:attribute void.png|{{{size|40px}}}]]
}}</includeonly>
}}</includeonly>

Revision as of 02:57, 6 March 2022

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:

Attribute aqua.png Attribute flame.png Attribute forest.png Attribute light.png Attribute dark.png Attribute void.png

The size may optionally be specified as |size=20px for example: Attribute flame.png