Template:Magia Record Attribute: Difference between revisions
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 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|}}} | ||
|aqua=[[File:attribute aqua.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}}}]] | ||
|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:
The size may optionally be specified as |size=20px for example: