Difference between revisions of "Template:NamedEnemy"

From DDO Compendium
(testing new layout)
Line 2: Line 2:
<pre>
<pre>
{{Template:NamedEnemy
{{Template:NamedEnemy
|name =  
|name =
|creaturetype =  
|creaturetype =
|race =  
|race =
|monstermanual =  
|monstermanual =
|alignment =  
|alignment =
|color =  
|color =
|boss =  
|boss =
|location =  
|location =
|location2 =
|location2 =
|location3=
|location3=
Line 15: Line 15:
|location5=
|location5=
|additionallocations=
|additionallocations=
|rareinfo =  
|rareinfo =
|specialattack =  
|specialattack =
|specialabilities =  
|specialabilities =
|flavortext =  
|flavortext =
|dr =  
|dr =
|description =
|description =
|notes =
|notes =
|patchhistory =  
|patchhistory =
|update=  
|update=
|exp=
|exp=
|subrace=
|subrace=
Line 38: Line 38:
|parameter1description = The name of the enemy.
|parameter1description = The name of the enemy.
|parameter2name = creaturetype
|parameter2name = creaturetype
|parameter2description = What type of creature is this. Use [[Template:PageLink]] if the page name is not the same as the name.
|parameter2description = What type of creature is this. Use [[Template:PageLink]] if the page name is not the same as the name.
|parameter3name = race
|parameter3name = race
|parameter3description = What race is this enemy. Use [[Template:PageLink]] if the page name is not the same as the name.
|parameter3description = What race is this enemy. Use [[Template:PageLink]] if the page name is not the same as the name.
Line 47: Line 47:
|parameter6name = color
|parameter6name = color
|parameter6description = If this enemy is not a boss, what color is it
|parameter6description = If this enemy is not a boss, what color is it
|parameter6values =  
|parameter6values =
* Orange
* Orange
* Red
* Red
Line 53: Line 53:
|parameter7name = boss
|parameter7name = boss
|parameter7description = If this enemy is a boss, what color is it
|parameter7description = If this enemy is a boss, what color is it
|parameter7values =  
|parameter7values =
* Yellow
* Yellow
* Orange
* Orange
Line 79: Line 79:
|parameter17description = Enter the DM text that is displayed in tlocationor said when you enter the quest.
|parameter17description = Enter the DM text that is displayed in tlocationor said when you enter the quest.
|parameter18name = dr
|parameter18name = dr
|parameter18description = Enter any specific Damage Reduction this enemy has. Use [[Template:MonsterDR]].
|parameter18description = Enter any specific Damage Reduction this enemy has. Use [[Template:MonsterDR]].
|parameter19name = description
|parameter19name = description
|parameter19description = Describe the enemy, and special moves, etc.
|parameter19description = Describe the enemy, and special moves, etc.
Line 96: Line 96:
|parameter26name = image
|parameter26name = image
|parameter26description = The image of the enemy if the file is different than the name
|parameter26description = The image of the enemy if the file is different than the name
}}</noinclude><includeonly>
}}
<table class="item-table background-color">
</noinclude>
<tr>
<includeonly>
<td class="item-info-side">
<div class="row">
<table class="background-color full">
<div class="col-sm-6">
<table class="table table-bordered table-striped table-condensed">
<tr>
<tr>
<td>
<td>
<table class="background-color full">
<table class="table">
<tr>
<tr>
<td class="title">
<td><span class="big">{{{name}}}</span></td>
'''{{{name}}}'''
</td>
</tr>
</tr>
</table>
</table>
Line 113: Line 112:
</tr>
</tr>
<tr>
<tr>
<td>
<td>{{#if: {{{flavortext|}}}|<p>''{{{flavortext}}}''</p>}}'''Type:'''&nbsp;{{#if: {{{creaturetype|}}}|[[Category:{{{creaturetype}}} Type]]{{RenderLink|{{{creaturetype}}}}}|Unknown}}<br>'''Race:'''&nbsp;{{#if: {{{race|}}}|[[Category:{{{race}}} Race]]{{PageLink|{{{race}}}|{{{race}}} Race}}|Unknown}}<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: {{{color|}}} | [[Category: {{{color}}} Named Monsters]]'''Color:''' {{#switch:{{lc:{{{color}}}}}|yellow= Yellow - Basic Named Enemy|orange= Orange - Named Enemy|red=Red Named - Strong Named Enemy}}<br>}}{{#if: {{{boss|}}} | [[Category: {{{color}}} Bosses]]'''Boss:''' {{#switch:{{lc:{{{boss}}}}}|orange= Orange Named - Mini boss|red=Red Named - Quest Boss|purple=Purple Named - Powerful Boss}}<br>}}<br>'''Location(s):'''&nbsp;{{#if: {{{location|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}{{{additionalocations|}}}{{{wilderness|}}}|*&nbsp;}}{{RenderLink|{{{location}}}}}}}{{#if: {{{location2|}}}|*&nbsp;{{RenderLink|{{{location2}}}}}}}{{#if: {{{location3|}}}|*&nbsp;{{RenderLink|{{{location3}}}}}}}{{#if: {{{location4|}}}|*&nbsp;{{RenderLink|{{{location4}}}}}}}{{#if: {{{location5|}}}|*&nbsp;{{RenderLink|{{{location5}}}}}}}{{#if: {{{additionallocations|}}}|{{{additionallocations}}}}}{{#if: {{{wilderness|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}{{{additionalocations|}}}{{{location}}}|*&nbsp;}}{{RenderLink|{{{wilderness}}}}}}}</td>
{{#if: {{{flavortext|}}}|''{{{flavortext}}}''<br><br>}}
</tr>
'''Type:'''&nbsp;{{#if: {{{creaturetype|}}}|[[Category:{{{creaturetype}}} Type]]{{RenderLink|{{{creaturetype}}}}}|Unknown}}<br>
<tr>
'''Race:'''&nbsp;{{#if: {{{race|}}}|[[Category:{{{race}}} Race]]{{PageLink|{{{race}}}|{{{race}}} Race}}|Unknown}}<br>
<td>{{#if: {{{rareinfo|}}} | '''Rare Information:'''&nbsp;{{{rareinfo}}}<br>}}{{#if: {{{exp|}}} | '''Experience:'''&nbsp;{{{exp}}}<br>}}{{#if: {{{dr||}}}|'''Damage Reduction:'''&nbsp;{{{dr}}}<br>}}{{#if: {{{specialattack|}}} | '''Special Attacks:'''&nbsp;{{{specialattack}}}<br>}}{{#if: {{{specialabilities|}}} | '''Special Abilities:'''&nbsp;{{{specialabilities}}}<br>}}{{#if: {{{description|}}} |'''Description:'''&nbsp;{{{description}}}<br>}}{{#if: {{{notes|}}} |'''Notes:''' {{{notes}}}<br>}}{{#if: {{{patchhistory|}}} |'''Patch History:'''&nbsp;{{{patchhistory}}}}}</td>
{{#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: {{{color|}}} | [[Category: {{{color}}} Named Monsters]]'''Color:''' {{#switch:{{lc:{{{color}}}}}
|yellow= Yellow - Basic Named Enemy
|orange= Orange - Named Enemy
|red=Red Named - Strong Named Enemy}}<br>}}{{#if: {{{boss|}}} | [[Category: {{{color}}} Bosses]]'''Boss:''' {{#switch:{{lc:{{{boss}}}}}
|orange= Orange Named - Mini boss
|red=Red Named - Quest Boss
|purple=Purple Named - Powerful Boss}}<br>}}'''Location(s):''' {{#if: {{{location|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}{{{additionalocations|}}}{{{wilderness|}}}|
*&nbsp;}}{{RenderLink|{{{location}}}}}}}{{#if: {{{location2|}}}|
*&nbsp;{{RenderLink|{{{location2}}}}}}}{{#if: {{{location3|}}}|
*&nbsp;{{RenderLink|{{{location3}}}}}}}{{#if: {{{location4|}}}|
*&nbsp;{{RenderLink|{{{location4}}}}}}}{{#if: {{{location5|}}}|
*&nbsp;{{RenderLink|{{{location5}}}}}}}{{#if: {{{additionallocations|}}}|{{{additionallocations}}}}}{{#if: {{{wilderness|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}{{{additionalocations|}}}{{{location}}}|
*&nbsp;}}{{RenderLink|{{{wilderness}}}}}}}
 
{{#if: {{{rareinfo|}}} | '''Rare Information:''' {{{rareinfo}}}<br>}}{{#if: {{{exp|}}} | '''Experience:''' {{{exp}}}<br>}}
{{#if: {{{dr||}}}|'''Damage Reduction:'''  
{{{dr}}}<br>}}
{{#if: {{{specialattack|}}} | '''Special Attacks:'''  
{{{specialattack}}}<br>}}{{#if: {{{specialabilities|}}} | '''Special Abilities:'''  
{{{specialabilities}}}<br>}}{{#if: {{{description|}}} |'''Description:''' {{{description}}}<br>}}
{{#if: {{{notes|}}} |'''Notes:''' {{{notes}}}<br>}}{{#if: {{{patchhistory|}}} |'''Patch History:'''  
{{{patchhistory}}}}}
</td>
</tr>
</tr>
</table>
</table>
</td>
</div>
<td class="item-image-side" ">
<div class="visible-xs-block hidden-sm hidden-md hidden-lg">
<table class="item-image-table background-color" >
<hr>
<tr><td class="item-image-notext">[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|300px|]]</td></tr>
</div>
</table>
<div class="col-sm-6">
<table class="table table-bordered table-striped table-condensed">
<tr>
<td>
[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|300px|]]
</td>
</td>
</tr>
</tr>
</table>
</table>
{{#ifeq: {{FULLPAGENAME}} |Template:NamedEnemy||{{#if: {{{update|}}}|[[Category:Update {{{update}}} Monster]]|[[Category:Monsters without an Update]]}}}}{{#if: {{{wilderness|}}}|[[Category: Wilderness Rare]]}}{{#if: {{{race|}}}|{{#ifexist: {{{race}}} Race ||[[Category:Missing Races]]}}}}{{#if: {{{subrace|}}}|{{#ifexist: {{{subrace}}} Sub Race ||[[Category:Missing Sub Races]]}}}}</includeonly>
</div>
</div>
{{#ifeq: {{FULLPAGENAME}} |Template:NamedEnemy||{{#if: {{{update|}}}|[[Category:Update {{{update}}} Monster]]|[[Category:Monsters without an Update]]}}}}{{#if: {{{wilderness|}}}|[[Category: Wilderness Rare]]}}{{#if: {{{race|}}}|{{#ifexist: {{{race}}} Race ||[[Category:Missing Races]]}}}}{{#if: {{{subrace|}}}|{{#ifexist: {{{subrace}}} Sub Race ||[[Category:Missing Sub Races]]}}}}
</includeonly>

Revision as of 12:43, 18 February 2020

{{Template:NamedEnemy
|name =
|creaturetype =
|race =
|monstermanual =
|alignment =
|color =
|boss =
|location =
|location2 =
|location3=
|location4=
|location5=
|additionallocations=
|rareinfo =
|specialattack =
|specialabilities =
|flavortext =
|dr =
|description =
|notes =
|patchhistory =
|update=
|exp=
|subrace=
|wilderness=
|image=
}}

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: The Spinner of Shadows.

Usage[edit]

Parameter Documentation
nameThe name of the enemy.
creaturetypeWhat type of creature is this. Use Template:PageLink if the page name is not the same as the name.
raceWhat race is this enemy. Use Template:PageLink if the page name is not the same as the name.
monstermanualWhat does the monster manual classify this as, leave blank if not in MM.
alignmentWhat is the enemies alignment.
colorIf this enemy is not a boss, what color is it
Possible Values:
  • Orange
  • Red
  • Purple
bossIf this enemy is a boss, what color is it
Possible Values:
  • Yellow
  • Orange
  • Red
  • Purple
locationWhat quest/challenge area is this found in. Use Template:PageLink if the page name is not the same as the name.
location2Second quest/challenge area is this found in. Use Template:PageLink if the page name is not the same as the name.
location3Third quest/challenge area is this found in. Use Template:PageLink if the page name is not the same as the name.
location4Fourth quest/challenge area is this found in. Use Template:PageLink if the page name is not the same as the name.
location5Fifth quest/challenge area is this found in. Use Template:PageLink if the page name is not the same as the name.
additionallocationsIf there are more than 5 locations, enter them here using the Template:MonsterLocations
rareinfoWhere this rare enemy appears in the location, any special info about finding it, etc.
specialattackAny special attacks the enemy has.
specialabilitiesAny special abilities the enemy has.
flavortextEnter the DM text that is displayed in tlocationor said when you enter the quest.
drEnter any specific Damage Reduction this enemy has. Use Template:MonsterDR.
descriptionDescribe the enemy, and special moves, etc.
notesAny notes about the enemy.
patchhistoryAny changes in specific patches to the enemy.
updateWhat update did the enemy first appear.
expExperience gained upon kill
subraceWhat specific part of the race is this enemy Use Template:PageLink if the page name is not the same as the name.
wildernessWhat wilderness is this enemy in as a rare
imageThe image of the enemy if the file is different than the name

Template

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