Template:Pet: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Sanddh
No edit summary
imported>Sanddh
mNo edit summary
Line 1: Line 1:
<includeonly>{|
<includeonly>{|
|-
|-valign=top
|
|
{|
{|
|align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"|
|align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"|
{|cellpadding=1 style="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>'''
|-
|-
|colspan=4|
|colspan=4|
----
----
|-  
|-
|colspan=4|
|colspan=4|
{|style="width:100%; background:#f9f9f9;"
{|style="width:100%; background:#f9f9f9;"
|align=left width=32| {{#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:{{{Race|}}}|||{{{Race|}}}<br>}}{{#ifeq:{{{Title|}}}|||{{{Title|}}}<br>}}
|align=center width=200| {{#ifeq:{{{Class|}}}|Misc. Creature Class|'''[[{{{Class}}}{{!}}{{{Subclass}}}]]'''|'''[[{{{Class}}}]]'''{{#ifeq:{{{Subclass|}}}|||<br>[[:Category:{{{Subclass|}}}|({{{Subclass|}}})]]}}}}
|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>
|}
|}
|-
|-
Line 21: Line 20:
----
----
|-
|-
|width=1|
|width=5|
!align=left| Strength
!align=left| Strength
|align=right| '''{{#ifeq:{{{Strength|}}} | | ?? | {{{Strength}}} }}'''
|align=right| {{#ifeq:{{{Strength|}}}||??|{{{Strength|}}} }}
|width=1|
|width=5|
|-
|-
|width=1|
|width=5|
!align=left| Endurance
!align=left| Endurance
|align=right| '''{{#ifeq:{{{Endurance|}}} | | ?? | {{{Endurance}}} }}'''
|align=right| {{#ifeq:{{{Endurance|}}}||??|{{{Endurance|}}} }}
|width=1|
|width=5|
|-
|-
|width=1|
|width=5|
!align=left| Coordination
!align=left| Coordination
|align=right| '''{{#ifeq:{{{Coordination|}}} | | ?? | {{{Coordination}}} }}'''
|align=right| {{#ifeq:{{{Coordination|}}}||??|{{{Coordination|}}} }}
|width=1|
|width=5|
|-
|-
|width=1|
|width=5|
!align=left| Quickness
!align=left| Quickness
|align=right| '''{{#ifeq:{{{Quickness|}}} | | ?? | {{{Quickness}}} }}'''
|align=right| {{#ifeq:{{{Quickness|}}}||??|{{{Quickness|}}} }}
|width=1|
|width=5|
|-
|-
|width=1|
|width=5|
!align=left| Focus
!align=left| Focus
|align=right| '''{{#ifeq:{{{Focus|}}} | | ?? | {{{Focus}}} }}'''
|align=right| {{#ifeq:{{{Focus|}}}||??|{{{Focus|}}} }}
|width=1|
|width=5|
|-
|-
|width=1|
|width=5|
!align=left| Self
!align=left| Self
|align=right| '''{{#ifeq:{{{Self|}}} | | ?? | {{{Self}}} }}'''
|align=right| {{#ifeq:{{{Self|}}}||??|{{{Self|}}} }}
|width=1|
|width=5|
|-
|-
|width=1|
|width=5|
!align=left| <font color=darkred>Health
!align=left| Health
|align=right| <font color=darkred>'''{{#ifeq:{{{Health|}}} | | ?? | {{{Health}}} }}'''
|align=right| {{#ifeq:{{{Health|}}}||??|{{{Health|}}} }}
|width=1|
|width=5|
|-
|-
|width=1|
|width=5|
!align=left| <font color=darkgoldenrod>Stamina
!align=left| Stamina
|align=right| <font color=darkgoldenrod>'''{{#ifeq:{{{Stamina|}}} | | ?? | {{{Stamina}}} }}'''
|align=right| {{#ifeq:{{{Stamina|}}}||??|{{{Stamina|}}} }}
|width=1|
|width=5|
|-
|-
|width=1|
|width=5|
!align=left| <font color=darkblue>Mana
!align=left| Mana
|align=right| <font color=darkblue>'''{{#ifeq:{{{Mana|}}} | | ?? | {{{Mana}}} }}'''
|align=right| {{#ifeq:{{{Mana|}}}||??|{{{Mana|}}} }}
|width=1|
|width=5|
|-
|-
|colspan=4|
|width=5|
|colspan=2| <br>
{|cellpadding=-2 style="background:#f9f9f9;"
|-valign=top
|
| {{#ifeq:{{{Location|}}}||??|{{{Location|}}} }}
|}
|width=5|
|}
|
{|style="border:1px solid #aaaaaa; background:#f9f9f9;"
{|cellpadding=2
!align=center width=308 height=414 style="border:1px solid #aaaaaa; background:#f9f9f9;"| [[File:{{{Live Image|}}}|300x400px]]
|}
|}
|  
|}
|}
----
[[Category:Pet]]</includeonly><noinclude>
</includeonly><noinclude>
{{Related|Wiki Templates|Pet Template}}
{{Related|Wiki Templates|Pet Template}}
== Syntax ==
== Syntax ==
Line 76: Line 89:
  |            Name =  
  |            Name =  
  |          Image =  
  |          Image =  
|          Class =
  |            Race =  
|        Subclass =
  |            Boss =  
  |          Level =  
  |          Level =  
  |        Strength =  
  |        Strength =  
Line 89: Line 100:
  |        Stamina =  
  |        Stamina =  
  |            Mana =  
  |            Mana =  
|  Melee Defense =
}}
|    Melee Attack =
| Missile Defense =
|  Missile Attack =
|  Magic Defense =
|    Magic Attack =
|              XP =
|      Weaknesses =
|        Attacks =
|        Trophies =
 
</pre>
</pre>



Revision as of 14:28, 30 September 2009

Related topics: Wiki Templates, Pet Template

Syntax

{{Creature
 |            Name = 
 |           Image = 
 |            Race = 
 |           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.