Difference between revisions of "Template:DDMonster"

From DDwiki
Jump to: navigation, search
(Created page with '{| {| style="background:transparent" align ="right" |valign=center| |<table width=100% border="0" cellpadding="0" cellspacing="0" style="background:transparent"> |- |} {| width=…')
 
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|
+
<includeonly>
{| style="background:transparent" align ="right"
+
|valign=center|
+
|<table width=100% border="0" cellpadding="0" cellspacing="0" style="background:transparent">
+
|-
+
|}
+
 
{| width=290px style="font-family: verdana; padding: 6px; margin: 0 0 1em 1em; font-size: 10px; background-color: #FF7777; color:black; border:1px solid; float:{{{align|right}}};"
 
{| width=290px style="font-family: verdana; padding: 6px; margin: 0 0 1em 1em; font-size: 10px; background-color: #FF7777; color:black; border:1px solid; float:{{{align|right}}};"
 
|-
 
|-
| align="center" colspan="2"|<font size="2">'''''{{PAGENAME}}'''''</font>
+
| align="center" colspan="2"|<font size="2">'''''{{{title}}}'''''</font>
 +
|-
 +
| align="center" colspan="2"|<font size="2">''Desktop Dungeon Monster''</font>
 
|-  
 
|-  
 
| align="center" colspan="2"|{{{image}}}
 
| align="center" colspan="2"|{{{image}}}
Line 16: Line 13:
 
| style="white-space:nowrap"|'''Health'''
 
| style="white-space:nowrap"|'''Health'''
 
| style="border: 1px black solid; background-color: #FFFFFF"|{{{health}}}
 
| style="border: 1px black solid; background-color: #FFFFFF"|{{{health}}}
|-
 
| style="white-space:nowrap"|'''Boss'''
 
| style="border: 1px black solid; background-color: #FFFFFF"|{{{boss}}}
 
 
|-
 
|-
 
| style="white-space:nowrap"|'''Abilities'''
 
| style="white-space:nowrap"|'''Abilities'''
 
| style="border: 1px black solid; background-color: #FFFFFF"|{{{abilities}}}
 
| style="border: 1px black solid; background-color: #FFFFFF"|{{{abilities}}}
 +
|-
 +
| style="white-space:nowrap"|'''Unlocked by'''
 +
| style="border: 1px black solid; background-color: #FFFFFF"|{{{unlock}}}
 
|-
 
|-
 
| style="white-space:nowrap"|'''Notes'''
 
| style="white-space:nowrap"|'''Notes'''
 
| style="border: 1px black solid; background-color: #FFFFFF"|{{{notes}}}
 
| style="border: 1px black solid; background-color: #FFFFFF"|{{{notes}}}
 
|-
 
|-
[[Category:Monsters]]
+
|}</includeonly><noinclude>
|}
+
 
 +
This template is used on each monster's article but can be included elsewhere. The "Boss" section of this template was split into [[Template:DDBoss]] as not every monster has a boss version.
 +
 
 +
===Usage===
 +
<!-- Example code usage not including in viewable template -->
 +
<pre><nowiki>
 +
{{DDMonster
 +
|title=Monster Name
 +
|image=[[File:Alpha Goat.png|50px]]
 +
|attack=100%
 +
|health=75%
 +
|abilities=Monster abilities
 +
|unlock=How to unlock
 +
|notes=Notes on the monster
 +
}}
 +
</nowiki></pre>
 +
 
 +
===Example===
 +
<!-- Display a sample of usage -->
 +
{{DDMonster
 +
|title=Monster Name
 +
|image=[[File:Alpha Goat.png|50px]]
 +
|attack=100%
 +
|health=75%
 +
|abilities=Monster abilities
 +
|unlock=How to unlock
 +
|notes=Notes on the monster
 +
}}
 +
[[Category:Templates]]
 +
</noinclude>

Latest revision as of 04:09, 22 April 2012


This template is used on each monster's article but can be included elsewhere. The "Boss" section of this template was split into Template:DDBoss as not every monster has a boss version.

Usage

{{DDMonster
|title=Monster Name
|image=[[File:Alpha Goat.png|50px]]
|attack=100%
|health=75%
|abilities=Monster abilities
|unlock=How to unlock
|notes=Notes on the monster
}}

Example

Monster Name
Desktop Dungeon Monster
Alpha Goat.png
Attack 100%
Health 75%
Abilities Monster abilities
Unlocked by How to unlock
Notes Notes on the monster