Difference between revisions of "Template:Monster"

From DDO Compendium
Line 1: Line 1:
<noinclude>
<noinclude>
== How To Use This Template ==
This template is for basic monster information.  It should not be used for named enemies, as they have a separate template [[template:NamedEnemy]].  This would be used multiple times on a race page, for example [[Kobold]].
<pre>
<pre>
{{Template:Monster
{{Template:Monster
|name = <name of the monster, i.e. Basic Kobold>
|name =  
|creaturetype = <Type of monster - Reptilian>
|creaturetype =  
|monstermanual = <Classification in the MM, if any>>
|monstermanual =  
|race = <Race of the monster - Kobold>
|race =  
|alignment = <Chaotic Evil, etc>
|alignment =  
|DR = <Damage reduction, use [[template:MonsterDR]]>
|dr =  
|SR = <Spell resistance>
|sr =  
|description
|notes =  
|notes =  
}}
}}</pre>
</pre>
{{TemplateDocumentation
== The Template ==
|name = NamedEnemy
</noinclude>
|description = This template is used to render information about a named enemy, be it a quest boss or a rare in the wilderness. Example of the Template in Use: [[Spinner Of Shadows]].
==={{{name}}}===
|usesnamedparameters = true
<div class="row" style="border: 1px solid #B0B5B8; background-color: #000;">
|parameter1name = name
<!-- Left Info -->
|parameter1description = The name of the monstor.
<div class="col-xs-12 col-md-6" style="border-right: 1px solid #B0B5B8; padding: 15px; background-color: #000;min-height:100%">
|parameter1values =
<div class="row">
|parameter2name = creaturetype
<div class="col-cs-10 text-center">
|parameter2description = What type of creature is this.
<span style="font-size: 20px">'''{{{name}}}'''</span>
|parameter2values =
</div>
|parameter3name = race
<div class="row">
|parameter3description = What race is this enemy.
<div class="col-xs-12">
|parameter3values =
|parameter4name = monstermanual
|parameter4description =What does the monster manual classify this as, leave blank if not in MM.
|parameter4values =
|parameter5name = alignment
|parameter5description = What is the enemies alignment.
|parameter5values =
|parameter6name = dr
|parameter6description = Enter any specific Damage Reduction this enemy has.  Use [[Template:MonsterDR]].
|parameter6values =
|parameter7name = sr
|parameter7description = What is the monsters spell resistance.
|parameter7values =
|parameter8name = description
|parameter8description = Describe the enemy, and special moves, etc.
|parameter8values =  
|parameter9name = notes
|parameter9description = Any notes about the enemy.
|parameter9values =  
}}</noinclude>
<table class="item-table background-color">
<tr>
<td class="item-info-side">
<table class="background-color full">
<tr>
<td>
<table class="background-color full">
<tr>
<td class="title">
'''{{{name}}}'''
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
'''Type:'''&nbsp;[[Category:{{{creaturetype}}} Monster Type]][[{{{creaturetype}}}]]<br>
'''Type:'''&nbsp;[[Category:{{{creaturetype}}} Monster Type]][[{{{creaturetype}}}]]<br>
'''Race:''' {{{race}}}<br>
'''Race:'''&nbsp;[[Category:{{{race}}} Monster Race]][[{{{race}}}]]<br>
{{#if: {{{monstermanual|}}} | '''Monster Manual Type:''' {{{monstermanual}}}<br>}}{{#if: {{{alignment|}}} | '''Alignment:'''[[Category:Monsters with {{{alignment}}} Alignment]] {{{alignment}}}<br>}}
{{#if: {{{monstermanual|}}} | '''Monster Manual Type:''' {{{monstermanual}}}<br>}}{{#if: {{{alignment|}}} | '''Alignment:'''[[Category:Monsters with {{{alignment}}} Alignment]] {{{alignment}}}<br>}}
'''Damage Reduction:'''  
{{#if: {{{dr||}}}|'''Damage Reduction:'''  
{{{dr|None}}}<br><br>
{{{dr}}}<br>}}
</div>
{{#if: {{{sr||}}}|'''Spell Resistance:'''
</div>
{{{sr}}}<br>}}
<div class="row">
{{#if: {{{description|}}} |'''Description:''' {{{description}}}<br>}}
<div class="col-xs-12" style:"border:none">
{{#if: {{{notes|}}} |'''Notes:''' {{{notes}}}<br>}}
'''Notes:''' {{{notes}}}</div>
</td>
</div>
</tr>
</div>
</table>
</div>
</td>
<!-- Right Info -->
<td class="item-image-side" ">
<div class="col-xs-12 col-md-6" style="padding: 15px; background-color: #000;">
<table class="item-image-table background-color" >
<div class="row center">[[File:{{{name}}}.png|300px|]]</div></div>
<tr><td class="item-image-notext">[[File:{{{name}}}.png|300px|]]</td></tr>
</div>
</table>
</td>
</tr>
</table>

Revision as of 21:13, 20 May 2018

{{Template:Monster
|name = 
|creaturetype = 
|monstermanual = 
|race = 
|alignment = 
|dr = 
|sr = 
|description
|notes = 
}}

NamedEnemy[edit]

This template is used to render information about a named enemy, be it a quest boss or a rare in the wilderness. Example of the Template in Use: Spinner Of Shadows.

Usage[edit]

Parameter Documentation
nameThe name of the monstor.
creaturetypeWhat type of creature is this.
raceWhat race is this enemy.
monstermanualWhat does the monster manual classify this as, leave blank if not in MM.
alignmentWhat is the enemies alignment.
drEnter any specific Damage Reduction this enemy has. Use Template:MonsterDR.
srWhat is the monsters spell resistance.
descriptionDescribe the enemy, and special moves, etc.
notesAny notes about the enemy.

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


{{{name}}}

Type: [[Category:{{{creaturetype}}} Monster Type]][[{{{creaturetype}}}]]
Race: [[Category:{{{race}}} Monster Race]][[{{{race}}}]]



[[File:{{{name}}}.png|300px|]]