Difference between revisions of "Template:Monster"
From DDO Compendium
m (formatting) |
m (testing responsive images) |
||
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}}}}}}}<table class="item-table background-color"> | ||
< | <tr> | ||
< | <td class="item-info-side"> | ||
<table class=" | <table class="background-color full"> | ||
<tr><td> | <tr> | ||
<table class=" | <td> | ||
</td></tr> | <table class="background-color full"> | ||
<tr><td> | <tr> | ||
<td class="title"> | |||
'''{{{name}}}''' | |||
</td> | |||
{{#if: {{{subrace|}}} | | </tr> | ||
< | </table> | ||
</table></td | </td> | ||
< | </tr> | ||
<table class=" | <tr> | ||
<tr | <td> | ||
'''Type:''' [[Category:{{{creaturetype}}} Type]]{{PageLink|{{{creaturetype}}}|{{{creaturetype}}} Type}}<br> | |||
'''Race:''' [[Category:{{{race}}} Race]]{{PageLink|{{{race}}}|{{{race}}} Race}}<br>{{#if: {{{subrace|}}} | '''Sub Race:''' {{PageLink|{{{subrace}}}|{{{subrace}}} Sub Race}}<br>}}{{#if: {{{monstermanual|}}} | '''Monster Manual Type:''' {{{monstermanual}}}<br>}}{{#if: {{{alignment|}}} | '''Alignment:'''[[Category:Monsters with {{{alignment}}} Alignment]] {{{alignment}}}<br>}}{{#if: {{{dr||}}}|'''Damage Reduction:''' | |||
{{{dr}}}<br>}}{{#if: {{{sr||}}}|'''Spell Resistance:''' | |||
{{{sr}}}<br>}}{{#if: {{{attack|}}} |'''Attack:''' {{{attack}}}<br>}}{{#if: {{{spells|}}} |'''Spells:''' {{{spells}}}<br>}}{{#if: {{{description|}}} |'''Description:''' {{{description}}}<br>}}{{#if: {{{notes|}}} |'''Notes:''' {{{notes}}}<br>}} | |||
<br>'''Found In:''' | |||
{{#ifeq: {{FULLPAGENAME}} |Template:Monster||{{#dpl:| uses=Template:Quest¦Template:Wilderness¦Template:Challenge|linksto={{FULLPAGENAME}}|noresultsheader=None|ordermethod=title}}}} | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
<td class="item-image-side" "> | |||
<table class="item-image-table background-color" > | |||
<tr><td class="item-image-notext img-fluid">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|300px|]]</td></tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</table> | </table> | ||
=== Other Members of the {{{race}}} Race === | === Other Members of the {{{race}}} Race === | ||
==== Named ==== | ==== Named ==== |
Revision as of 19:39, 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.
|
|