Difference between revisions of "Template:ClassInfobox"

From King Arthur's Gold Wiki
Jump to: navigation, search
m (Text replace - "</noinclude>" to "Category:Templates</noinclude>")
m
Line 16: Line 16:
 
[[File:{{{Image}}}|frame|alt={{{Name}}}|'''Life''':
 
[[File:{{{Image}}}|frame|alt={{{Name}}}|'''Life''':
 
{{#switch: {{{Life}}}
 
{{#switch: {{{Life}}}
|1 = [[File:Heart.png]]
+
|1 = [[File:Heart.png|link=Heart]]
|2 = [[File:Heart.png]][[File:Heart.png]]
+
|2 = [[File:Heart.png|link=Heart]][[File:Heart.png|link=Heart]]
|3 = [[File:Heart.png]][[File:Heart.png]][[File:Heart.png]]
+
|3 = [[File:Heart.png|link=Heart]][[File:Heart.png|link=Heart]][[File:Heart.png|link=Heart]]
 
}}
 
}}
 
<br>'''Type''': {{{Type}}}]]</includeonly>
 
<br>'''Type''': {{{Type}}}]]</includeonly>

Revision as of 17:06, 6 February 2013

This template is used to show the infobox for the three player classes.

Usage :

{{ClassInfobox
|Image=Knight.png
|Name=knight
|Life = 1 / 2 / 3
|Type=Melee
}}