Difference between revisions of "Template:Monster"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 16: | Line 16: | ||
|notes = | |notes = | ||
|showraceinfo = | |showraceinfo = | ||
|image= | |||
}}</pre> | }}</pre> | ||
{{TemplateDocumentation | {{TemplateDocumentation | ||
Line 45: | Line 46: | ||
|parameter11description = Any notes about the enemy. | |parameter11description = Any notes about the enemy. | ||
|parameter12name = showraceinfo | |parameter12name = showraceinfo | ||
|parameter12description = Any value in here will show the text about the race. This should be only on the base races (i.e. Kobold, |parameter13name = subrace | |parameter12description = Any value in here will show the text about the race. This should be only on the base races (i.e. Kobold, | ||
|parameter13name = subrace | |||
|parameter13description = The subrace this is of the main race | |parameter13description = The subrace this is of the main race | ||
|parameter14name = image | |||
|parameter14description = The name of the image if the default doesn't work. | |||
}}</noinclude>{{#if: {{{showraceinfo|}}}|=== {{{race}}}=== | }}</noinclude>{{#if: {{{showraceinfo|}}}|=== {{{race}}}=== | ||
{{RaceDescription|{{{race}}}}}}}<table class="item-table background-color"> | {{RaceDescription|{{{race}}}}}}}<table class="item-table background-color"> | ||
Line 77: | Line 81: | ||
<td class="item-image-side" "> | <td class="item-image-side" "> | ||
<table class="item-image-table background-color" > | <table class="item-image-table background-color" > | ||
<tr><td class="item-image-notext">[[File:{{{name}}}.png|center|300px|]]</td></tr> | <tr><td class="item-image-notext">[[File:{{#if:{{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|300px|]]</td></tr> | ||
</table> | </table> | ||
</td> | </td> |
Revision as of 01:01, 20 May 2020
{{Template:Monster |name = |creaturetype = |monstermanual = |race = |subrace= |alignment = |attack= |spells= |dr = |sr = |description = |notes = |showraceinfo = |image= }}
Monster[edit]
This template is used to render information about a generic monster. Example of the Template in Use: Troglodyte.
Usage[edit]
Parameter Documentation | |
name | The name of the monstor. |
creaturetype | What type of creature is this. |
race | What race is this enemy. |
monstermanual | What does the monster manual classify this as, leave blank if not in MM. |
alignment | What is the enemies alignment. |
attack | Enter the melee or ranged attack styles and weapons. |
spells | If they are a spellcaster, list the spells. |
dr | Enter any specific Damage Reduction this enemy has. Use Template:MonsterDR. |
sr | What is the monsters spell resistance. |
description | Describe the enemy, and special moves, etc. |
notes | Any notes about the enemy. |
showraceinfo | Any value in here will show the text about the race. This should be only on the base races (i.e. Kobold, |
subrace | The subrace this is of the main race |
image | The name of the image if the default doesn't work. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
|
|