Template:Pet: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Sanddh
m (Undo revision 145598 by Sanddh (talk))
imported>An Adventurer
(more fixes, again)
 
Line 2: Line 2:
|-valign=top
|-valign=top
|
|
{|
{|class="character-infobox" style="margin-bottom:-6px; border-bottom:0px"
|align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"|
{|cellpadding=1 width=302 style="background:#f9f9f9; vertical-align:top;"
|-
|-
|align=center colspan=4 height=26|'''<big>{{{Name|??}}}</big>'''
|align=center colspan=4 height=26|'''<big>{{{Name|??}}}</big>'''
Line 12: Line 10:
|-
|-
|colspan=4|
|colspan=4|
{|style="width:100%; background:#f9f9f9;"
{|style="width:100%;"
|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| {{#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|}}})]]}}}}
|align=center width=200| {{#ifeq:{{{Class|}}}|Misc. Creature Class|'''[[{{{Class}}}{{!}}{{{Subclass}}}]]'''|'''[[{{{Class}}}]]'''{{#ifeq:{{{Subclass|}}}|||<br>[[:Category:{{{Subclass|}}}|({{{Subclass|}}})]]}}}}
Line 22: Line 20:
----
----
|-
|-
|width=5|
|'''Strength'''
!align=left| Strength
|{{{Strength|}}}
|align=right| {{#ifeq:{{{Strength|}}}||??|{{{Strength|}}} }}
|width=5|
|-
|-
|width=5|
|'''Endurance'''
!align=left| Endurance
|{{{Endurance|}}}
|align=right| {{#ifeq:{{{Endurance|}}}||??|{{{Endurance|}}} }}
|width=5|
|-
|-
|width=5|
|'''Coordination'''
!align=left| Coordination
|{{{Coordination|}}}
|align=right| {{#ifeq:{{{Coordination|}}}||??|{{{Coordination|}}} }}
|width=5|
|-
|-
|width=5|
|'''Quickness'''
!align=left| Quickness
|{{{Quickness|}}}
|align=right| {{#ifeq:{{{Quickness|}}}||??|{{{Quickness|}}} }}
|width=5|
|-
|-
|width=5|
|'''Focus'''
!align=left| Focus
|{{{Focus|}}}
|align=right| {{#ifeq:{{{Focus|}}}||??|{{{Focus|}}} }}
|width=5|
|-
|-
|width=5|
|'''Self'''
!align=left| Self
|{{{Self|}}}
|align=right| {{#ifeq:{{{Self|}}}||??|{{{Self|}}} }}
|width=5|
|-
|-
|width=5|
|'''Health'''
!align=left| Health
|{{{Health|}}}
|align=right| {{#ifeq:{{{Health|}}}||??|{{{Health|}}} }}
|width=5|
|-
|-
|width=5|
|'''Stamina'''
!align=left| Stamina
|{{{Stamina|}}}
|align=right| {{#ifeq:{{{Stamina|}}}||??|{{{Stamina|}}} }}
|width=5|
|-
|-
|width=5|
|'''Mana'''
!align=left| Mana
|{{{Mana|}}}
|align=right| {{#ifeq:{{{Mana|}}}||??|{{{Mana|}}} }}
|width=5|
|-
|-
|width=5|
|colspan=2| <br>
{|cellpadding=-2 style="background:#f9f9f9;"
|-valign=top
|
|
|}
|width=5|
|}
|}
|
|
{|style="border:1px solid #aaaaaa; background:#f9f9f9;"
{|cellpadding=2
{|cellpadding=2
!align=center width=308 height=414 style="border:1px solid #aaaaaa; background:#f9f9f9;"| [[File:{{{Live Image|}}}|300x400px]]
!align=center width=300 height=400| [[File:{{{Live Image|}}}|300x400px]]
|}
|}
|}
|  
|  
|}
|}
[[Category:Pet]]</includeonly><noinclude>
</includeonly><noinclude>
{{Related|Wiki Templates|Pet Template}}
{{Related|Wiki Templates|Pet Template}}
== Syntax ==
== Syntax ==

Latest revision as of 12:12, 18 October 2021

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.