Difference between revisions of "Template:DDMonster"
From DDwiki
(Updating infobox template with various) |
|||
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{| 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">'''''{{{title}}}'''''</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 23: | Line 19: | ||
| style="white-space:nowrap"|'''Unlocked by''' | | style="white-space:nowrap"|'''Unlocked by''' | ||
| style="border: 1px black solid; background-color: #FFFFFF"|{{{unlock}}} | | 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}}} | ||
|- | |- | ||
− | + | |}</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 --> | <!-- Example code usage not including in viewable template --> | ||
− | |||
− | |||
<pre><nowiki> | <pre><nowiki> | ||
{{DDMonster | {{DDMonster | ||
|title=Monster Name | |title=Monster Name | ||
− | |image=[[File:Goat.png|50px]] | + | |image=[[File:Alpha Goat.png|50px]] |
|attack=100% | |attack=100% | ||
|health=75% | |health=75% | ||
|abilities=Monster abilities | |abilities=Monster abilities | ||
|unlock=How to unlock | |unlock=How to unlock | ||
− | |||
− | |||
− | |||
− | |||
|notes=Notes on the monster | |notes=Notes on the monster | ||
− | + | }} | |
</nowiki></pre> | </nowiki></pre> | ||
+ | ===Example=== | ||
<!-- Display a sample of usage --> | <!-- Display a sample of usage --> | ||
{{DDMonster | {{DDMonster | ||
|title=Monster Name | |title=Monster Name | ||
− | |image=[[File:Goat.png|50px]] | + | |image=[[File:Alpha Goat.png|50px]] |
|attack=100% | |attack=100% | ||
|health=75% | |health=75% | ||
|abilities=Monster abilities | |abilities=Monster abilities | ||
|unlock=How to unlock | |unlock=How to unlock | ||
− | |||
− | |||
− | |||
− | |||
|notes=Notes on the monster | |notes=Notes on the monster | ||
− | + | }} | |
+ | [[Category:Templates]] | ||
</noinclude> | </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 | |
![]() | |
Attack | 100% |
Health | 75% |
Abilities | Monster abilities |
Unlocked by | How to unlock |
Notes | Notes on the monster |