Template:Pet: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Sanddh
(Created page with '<includeonly>{| |- | {| |align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"| {|cellpadding=1 style="background:#f9f9f9; v…')
 
imported>An Adventurer
(more fixes, again)
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{|
<includeonly>{|
|-
|-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 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%;"
|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:{{{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|}}})]]}}}}
|align=center| '''<small>Level</small>'''<br><span style="font-size: x-large">{{#ifeq:{{{Level|}}}||??|{{{Level}}}}}</span>
{{#ifeq:{{{Title|}}}|||{{{Title|}}}<br>}}
|align=center|'''<small>Level</small>'''<br><span style="font-size: x-large">{{#ifeq:{{{Level|}}}||??|{{{Level|}}} }}</span>
|}
|}
|-
|-
Line 21: Line 20:
----
----
|-
|-
|width=1|
|'''Strength'''
!align=left| Strength
|{{{Strength|}}}
|align=right| '''{{#ifeq:{{{Strength|}}} | | ?? | {{{Strength}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Endurance'''
!align=left| Endurance
|{{{Endurance|}}}
|align=right| '''{{#ifeq:{{{Endurance|}}} | | ?? | {{{Endurance}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Coordination'''
!align=left| Coordination
|{{{Coordination|}}}
|align=right| '''{{#ifeq:{{{Coordination|}}} | | ?? | {{{Coordination}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Quickness'''
!align=left| Quickness
|{{{Quickness|}}}
|align=right| '''{{#ifeq:{{{Quickness|}}} | | ?? | {{{Quickness}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Focus'''
!align=left| Focus
|{{{Focus|}}}
|align=right| '''{{#ifeq:{{{Focus|}}} | | ?? | {{{Focus}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Self'''
!align=left| Self
|{{{Self|}}}
|align=right| '''{{#ifeq:{{{Self|}}} | | ?? | {{{Self}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Health'''
!align=left| <font color=darkred>Health
|{{{Health|}}}
|align=right| <font color=darkred>'''{{#ifeq:{{{Health|}}} | | ?? | {{{Health}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Stamina'''
!align=left| <font color=darkgoldenrod>Stamina
|{{{Stamina|}}}
|align=right| <font color=darkgoldenrod>'''{{#ifeq:{{{Stamina|}}} | | ?? | {{{Stamina}}} }}'''
|width=1|
|-
|-
|width=1|
|'''Mana'''
!align=left| <font color=darkblue>Mana
|{{{Mana|}}}
|align=right| <font color=darkblue>'''{{#ifeq:{{{Mana|}}} | | ?? | {{{Mana}}} }}'''
|width=1|
|-
|-
|colspan=4|
|}
}}
|
----
{|cellpadding=2
!align=center width=300 height=400| [[File:{{{Live Image|}}}|300x400px]]
|}
|
|}
</includeonly><noinclude>
</includeonly><noinclude>
{{Related|Wiki Templates|Pet Template}}
{{Related|Wiki Templates|Pet Template}}
== Syntax ==
== Syntax ==
<pre style="width:auto; overflow:auto">
<pre style="width:auto; overflow:auto">
{{Creature
{{Pet
  |            Name =  
  |            Name =  
  |           Image =  
  |     Live Image =  
  |          Class =  
  |          Class =  
|        Subclass =
|            Boss =
  |          Level =  
  |          Level =  
  |        Strength =  
  |        Strength =  
Line 89: Line 72:
  |        Stamina =  
  |        Stamina =  
  |            Mana =  
  |            Mana =  
|  Melee Defense =
|    Melee Attack =
| Missile Defense =
|  Missile Attack =
|  Magic Defense =
|    Magic Attack =
|              XP =
|      Weaknesses =
|        Attacks =
|        Trophies =
}}
}}
</pre>
</pre>

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.