Difference between revisions of "Template:Monster"
From DDO Compendium
(added Template:Challenge to the DPL query) |
(update template to match the other templates with grey-scale) |
||
Line 52: | Line 52: | ||
|parameter14description = The name of the image if the default doesn't work. | |parameter14description = The name of the image if the default doesn't work. | ||
}}</noinclude>{{#if: {{{showraceinfo|}}}|=== {{{race}}}=== | }}</noinclude>{{#if: {{{showraceinfo|}}}|=== {{{race}}}=== | ||
{{RaceDescription|{{{race}}}}}}}< | {{RaceDescription|{{{race}}}}}}} | ||
< | <div class="row"> | ||
<div class="col-sm-6"> | |||
<table class=" | <table class="table table-bordered table-striped table-condensed"> | ||
<tr> | <tr><td> | ||
<td> | <table class="table table-condensed"><tr><td class="col-sm-12 center">'''{{{name}}}'''</td></tr></table> | ||
<table class=" | </td></tr> | ||
<tr> | <tr><td> | ||
<td class=" | <table class="table table-condensed"> | ||
'''{{{name}}}''' | <tr><td class="col-sm-2">'''Type:'''</td><td class="col-sm-10">[[Category:{{{creaturetype}}} Type]]{{PageLink|{{{creaturetype}}}|{{{creaturetype}}} Type}}</td></tr> | ||
</td> | <tr><td class="col-sm-2">'''Race:'''</td><td class="col-sm-10">[[Category:{{{race}}} Race]]{{PageLink|{{{race}}}|{{{race}}} Race}}</td></tr> | ||
</tr> | {{#if: {{{subrace|}}} | <tr><td class="col-sm-2">'''Sub Race:'''</td><td class="col-sm-10">{{PageLink|{{{subrace}}}|{{{subrace}}} Sub Race}}</td></tr>}}{{#if: {{{monstermanual|}}} | <tr><td class="col-sm-2">'''Monster Manual Type:'''</td><td class="col-sm-10">{{{monstermanual}}}</td></tr>}}{{#if: {{{alignment|}}} | <tr><td class="col-sm-2">'''Alignment:'''</td><td class="col-sm-10">[[Category:Monsters with {{{alignment}}} Alignment]] {{{alignment}}}</td></tr>}}{{#if: {{{dr||}}} | <tr><td class="col-sm-2">'''Damage Reduction:'''</td><td class="col-sm-10">{{{dr}}}</td></tr>}}{{#if: {{{sr||}}} | <tr><td class="col-sm-2">'''Spell Resistance:'''</td><td class="col-sm-10">{{{sr}}}</td></tr>}}{{#if: {{{attack|}}} | <tr><td class="col-sm-2">'''Attack:'''</td><td class="col-sm-10">{{{attack}}}</td></tr>}}{{#if: {{{spells|}}} | <tr><td class="col-sm-2">'''Spells:'''</td><td class="col-sm-10">{{{spells}}}</td></tr>}}{{#if: {{{description|}}} | <tr><td class="col-sm-2">'''Description:'''</td><td class="col-sm-10">{{{description}}}</td></tr>}}{{#if: {{{notes|}}} | <tr><td class="col-sm-2">'''Notes:'''</td><td class="col-sm-10">{{{notes}}}</td></tr>}} | ||
</table> | <tr><td class="col-sm-2">'''Found In:'''</td><td class="col-sm-10">{{#ifeq: {{FULLPAGENAME}} |Template:Monster||{{#dpl:| uses=Template:Quest¦Template:Wilderness¦Template:Challenge|linksto={{FULLPAGENAME}}|noresultsheader=None|ordermethod=title}}}}</td></tr> | ||
</td> | </table></td></tr></table></div> | ||
</tr> | <div class="col-sm-6"> | ||
<tr> | <table class="table table-bordered table-condensed center"> | ||
<td> | <tr style="background: rgb(0,0,0)"><td>[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|300px|]]</td></tr> | ||
'''Type:''' | |||
'''Race:''' | |||
{{{dr}}}< | |||
{{{sr}}}< | |||
< | |||
{{#ifeq: {{FULLPAGENAME}} |Template:Monster||{{#dpl:| uses=Template:Quest¦Template:Wilderness¦Template:Challenge|linksto={{FULLPAGENAME}}|noresultsheader=None|ordermethod=title}}}} | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
< | |||
<table class=" | |||
<tr><td | |||
</tr> | |||
</table> | </table> | ||
</div> | |||
</div> | |||
=== Other Members of the {{{race}}} Race === | === Other Members of the {{{race}}} Race === | ||
==== Named ==== | ==== Named ==== |
Revision as of 19:29, 2 April 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|]] |