Difference between revisions of "Template:DDMonster"
From DDwiki
(Removing auto-cat, see Template talk:DDClass for more info) |
(Removing boss section as well as extra table at the top of the template) |
||
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 28: | Line 23: | ||
| 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 | ||
Line 58: | Line 38: | ||
|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 | ||
Line 75: | Line 51: | ||
|unlock=How to unlock | |unlock=How to unlock | ||
|notes=Notes on the monster | |notes=Notes on the monster | ||
− | + | }} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 21:20, 4 January 2011
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: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 |