Difference between revisions of "Template:ClassInfobox"

From King Arthur's Gold Wiki
Jump to: navigation, search
m
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This template is used to show infobox for class
+
This template is used to show the infobox for the three player classes.
  
 
Usage :
 
Usage :
Line 8: Line 8:
 
|Image=Knight.png
 
|Image=Knight.png
 
|Name=knight
 
|Name=knight
|Life = 1 / 2 / 3
+
|Life = 1 / 2 / 3 / 4
 
|Type=Melee
 
|Type=Melee
 
}}
 
}}
 
</pre>
 
</pre>
  
</noinclude><includeonly>
+
[[Category:Templates]]</noinclude><includeonly>
 
[[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]]
 +
|4 = [[File:Heart.png|link=Heart]][[File:Heart.png|link=Heart]][[File:Heart.png|link=Heart]][[File:Heart.png|link=Heart]]
 
}}
 
}}
'''Type''': {{{Type}}}]]</includeonly>
+
<br>'''Type''': {{{Type}}}]]</includeonly>
<noinclude>[[Category:Data]]</noinclude>
+

Latest revision as of 17:53, 31 July 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 / 4
|Type=Melee
}}