Difference between revisions of "Template:Monster"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 61: | Line 61: | ||
<tr><td> | <tr><td> | ||
<table class="table table-condensed"> | <table class="table table-condensed"> | ||
<tr><td class="col-sm-3">'''Type:''' | <tr><td class="col-sm-3">'''Type:''' [[Category:{{{creaturetype}}} Type]]{{PageLink|{{{creaturetype}}}|{{{creaturetype}}} Type}}</td></tr> | ||
<tr><td class="col-sm-3">'''Race:'''</td><td class="col-sm-9">[[Category:{{{race}}} Race]]{{PageLink|{{{race}}}|{{{race}}} Race}}</td></tr> | <tr><td class="col-sm-3">'''Race:'''</td><td class="col-sm-9">[[Category:{{{race}}} Race]]{{PageLink|{{{race}}}|{{{race}}} Race}}</td></tr> | ||
{{#if: {{{subrace|}}} | <tr><td class="col-sm-3">'''Sub Race:'''</td><td class="col-sm-9">{{PageLink|{{{subrace}}}|{{{subrace}}} Sub Race}}</td></tr>}}{{#if: {{{monstermanual|}}} | <tr><td class="col-sm-3">'''Monster Manual Type:'''</td><td class="col-sm-9">{{{monstermanual}}}</td></tr>}}{{#if: {{{alignment|}}} | <tr><td class="col-sm-3">'''Alignment:'''</td><td class="col-sm-9">[[Category:Monsters with {{{alignment}}} Alignment]] {{{alignment}}}</td></tr>}}{{#if: {{{dr||}}} | <tr><td class="col-sm-3">'''Damage Reduction:'''</td><td class="col-sm-9">{{{dr}}}</td></tr>}}{{#if: {{{sr||}}} | <tr><td class="col-sm-3">'''Spell Resistance:'''</td><td class="col-sm-9">{{{sr}}}</td></tr>}}{{#if: {{{attack|}}} | <tr><td class="col-sm-3">'''Attack:'''</td><td class="col-sm-9">{{{attack}}}</td></tr>}}{{#if: {{{spells|}}} | <tr><td class="col-sm-3">'''Spells:'''</td><td class="col-sm-9">{{{spells}}}</td></tr>}}{{#if: {{{description|}}} | <tr><td class="col-sm-3">'''Description:'''</td><td class="col-sm-9">{{{description}}}</td></tr>}}{{#if: {{{notes|}}} | <tr><td class="col-sm-3">'''Notes:'''</td><td class="col-sm-9">{{{notes}}}</td></tr>}} | {{#if: {{{subrace|}}} | <tr><td class="col-sm-3">'''Sub Race:'''</td><td class="col-sm-9">{{PageLink|{{{subrace}}}|{{{subrace}}} Sub Race}}</td></tr>}}{{#if: {{{monstermanual|}}} | <tr><td class="col-sm-3">'''Monster Manual Type:'''</td><td class="col-sm-9">{{{monstermanual}}}</td></tr>}}{{#if: {{{alignment|}}} | <tr><td class="col-sm-3">'''Alignment:'''</td><td class="col-sm-9">[[Category:Monsters with {{{alignment}}} Alignment]] {{{alignment}}}</td></tr>}}{{#if: {{{dr||}}} | <tr><td class="col-sm-3">'''Damage Reduction:'''</td><td class="col-sm-9">{{{dr}}}</td></tr>}}{{#if: {{{sr||}}} | <tr><td class="col-sm-3">'''Spell Resistance:'''</td><td class="col-sm-9">{{{sr}}}</td></tr>}}{{#if: {{{attack|}}} | <tr><td class="col-sm-3">'''Attack:'''</td><td class="col-sm-9">{{{attack}}}</td></tr>}}{{#if: {{{spells|}}} | <tr><td class="col-sm-3">'''Spells:'''</td><td class="col-sm-9">{{{spells}}}</td></tr>}}{{#if: {{{description|}}} | <tr><td class="col-sm-3">'''Description:'''</td><td class="col-sm-9">{{{description}}}</td></tr>}}{{#if: {{{notes|}}} | <tr><td class="col-sm-3">'''Notes:'''</td><td class="col-sm-9">{{{notes}}}</td></tr>}} |
Revision as of 01:54, 15 June 2022
{{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.
| |||||
|
[[File:{{{name}}}.png|center|300px|]] |