Difference between revisions of "Template:Pet"

From DotBWiki
Jump to: navigation, search
(Template to add pets to character pages.)
 
m
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
! style="background: #302c2b;" | <span style="color:#FFFFFF">'''{{{petname}}}'''</span>
 
! style="background: #302c2b;" | <span style="color:#FFFFFF">'''{{{petname}}}'''</span>
 
|-
 
|-
| style="text-align:center; padding: 1px;" | [[Image:PAGENAME-pet-{{{petname}}}.jpg|175px]]<br>
+
| style="text-align:center; padding: 1px;" | [[Image:{{PAGENAME}}-pet-{{{petname}}}.jpg|175px]]<br>
 
|- style="text-align:center;"
 
|- style="text-align:center;"
! style="background: #302c2b; padding: 2px;" | <span style="color:#FFFFFF">'''Captured: {{{captured}}}'''</span>
+
! style="background: #302c2b; padding: 2px;" | <span style="color:#FFFFFF">'''{{{captured}}}'''</span>
 
|- style="text-align:center;"
 
|- style="text-align:center;"
 
|
 
|
 
{| style="margin:0 auto; text-align:center; background:none;" cellpadding="0"
 
{| style="margin:0 auto; text-align:center; background:none;" cellpadding="0"
 
|- valign=middle
 
|- valign=middle
{{{Desc}}}
+
{{{desc}}}
 
|}
 
|}
 
|}
 
|}
Line 20: Line 20:
 
  | desc = description of the pet
 
  | desc = description of the pet
 
  }}</nowiki>
 
  }}</nowiki>
 +
 +
Please note: This template works best with square images.
 
[[Category:Templates/Info boxes]]</noinclude>
 
[[Category:Templates/Info boxes]]</noinclude>

Latest revision as of 21:42, 3 September 2012

{{{petname}}}
[[Image:Pet-pet-{{{petname}}}.jpg|175px]]
{{{captured}}}
{{{desc}}}

Usage

{{Pet
 | petname = Name of the pet
 | captured = location the pet was captured
 | desc = description of the pet
 }}

Please note: This template works best with square images.