Template:Pet: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Sanddh
mNo edit summary
imported>Sanddh
m Undo revision 145598 by Sanddh (talk)
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
|colspan=4|
|colspan=4|
{|style="width:100%; background:#f9f9f9;"
{|style="width:100%; background:#f9f9f9;"
|align=center| {{#ifeq:{{{Class|}}}|||{{{Class|}}}<br>}}{{#ifeq:{{{Title|}}}|||{{{Title|}}}<br>}}
|align=center| {{#ifeq:{{{Class|}}}|Misc. Creature Class|{{#ifexist:File:{{strip|{{{Subclass|}}}}} Icon.png|[[File:{{strip|{{{Subclass|}}}}} Icon.png|link={{strip|{{{Subclass|}}}}}]]|[[File:Misc. Creature Class Icon.png|link={{strip|{{{Subclass|}}}}}]]}}|{{#ifexist:File:{{strip|{{{Class|}}}}} Icon.png|[[File:{{strip|{{{Class|}}}}} Icon.png|link={{strip|{{{Class|}}}}}]]|}}}}
|align=center width=200| {{#ifeq:{{{Class|}}}|Misc. Creature Class|'''[[{{{Class}}}{{!}}{{{Subclass}}}]]'''|'''[[{{{Class}}}]]'''{{#ifeq:{{{Subclass|}}}|||<br>[[:Category:{{{Subclass|}}}|({{{Subclass|}}})]]}}}}
{{#ifeq:{{{Title|}}}|||{{{Title|}}}<br>}}
|align=center|'''<small>Level</small>'''<br><span style="font-size: x-large">{{#ifeq:{{{Level|}}}||??|{{{Level|}}} }}</span>
|align=center|'''<small>Level</small>'''<br><span style="font-size: x-large">{{#ifeq:{{{Level|}}}||??|{{{Level|}}} }}</span>
|}
|}

Latest revision as of 20:52, 30 September 2009

Related topics: Wiki Templates, Pet Template

Syntax

{{Pet
 |            Name = 
 |      Live Image = 
 |           Class = 
 |           Level = 
 |        Strength = 
 |       Endurance = 
 |    Coordination = 
 |       Quickness = 
 |           Focus = 
 |            Self = 
 |          Health = 
 |         Stamina = 
 |            Mana = 
}}

Usage

This is a component template that is part of a Page Template. See Pet Template for details on usage and examples.