Difference between revisions of "Template:NamedEnemy"
From DDO Compendium
MNDeveloper (talk | contribs) (Created page with "<noinclude> == How To Use This Template == The basic template for all monsters that are named.<br> Example of the Template in Use: The Lords of Dust <pre> {{Template:Name...") |
MNDeveloper (talk | contribs) |
||
(120 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<pre> | <pre> | ||
{{Template:NamedEnemy | {{Template:NamedEnemy | ||
|name = | |name = | ||
|creaturetype = | |creaturetype = | ||
|race = | |race = | ||
|monstermanual = | |monstermanual = | ||
|alignment = | |alignment = | ||
|color = | |color = | ||
|boss = | |boss = | ||
|location = | |location = | ||
|specialattack = | |location2 = | ||
|specialabilities = | |location3= | ||
| | |location4= | ||
| | |location5= | ||
|description = | |location6= | ||
|notes = | |additionallocations= | ||
|patchhistory = | |rareinfo = | ||
|specialattack = | |||
|specialabilities = | |||
|flavortext = | |||
|dr = | |||
|description = | |||
|notes = | |||
|patchhistory = | |||
|update= | |||
|exp= | |||
|subrace= | |||
|wilderness= | |||
|image= | |||
}} | |||
</pre> | </pre> | ||
== The Template == | {{TemplateDocumentation | ||
|name = NamedEnemy | |||
|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: [[The Spinner of Shadows]]. | |||
|category=NPC and Monster Templates | |||
|usesnamedparameters = true | |||
|parameter1name = name | |||
|parameter1description = The name of the enemy. | |||
|parameter2name = creaturetype | |||
|parameter2description = What type of creature is this. Use [[Template:PageLink]] if the page name is not the same as the name. | |||
|parameter3name = race | |||
|parameter3description = What race is this enemy. Use [[Template:PageLink]] if the page name is not the same as the name. | |||
|parameter4name = monstermanual | |||
|parameter4description =What does the monster manual classify this as, leave blank if not in MM. | |||
|parameter5name = alignment | |||
|parameter5description = What is the enemies alignment. | |||
|parameter6name = color | |||
|parameter6description = If this enemy is not a boss, what color is it | |||
|parameter6values = | |||
* Orange | |||
* Red | |||
* Purple | |||
|parameter7name = boss | |||
|parameter7description = If this enemy is a boss, what color is it | |||
|parameter7values = | |||
* Yellow | |||
* Orange | |||
* Red | |||
* Purple | |||
|parameter8name = location | |||
|parameter8description = What quest/challenge area is this found in. Use [[Template:PageLink]] if the page name is not the same as the name. | |||
|parameter9name = location2 | |||
|parameter9description = Second quest/challenge area is this found in. Use [[Template:PageLink]] if the page name is not the same as the name. | |||
|parameter10name = location3 | |||
|parameter10description = Third quest/challenge area is this found in. Use [[Template:PageLink]] if the page name is not the same as the name. | |||
|parameter11name = location4 | |||
|parameter11description = Fourth quest/challenge area is this found in. Use [[Template:PageLink]] if the page name is not the same as the name. | |||
|parameter12name = location5 | |||
|parameter12description = Fifth quest/challenge area is this found in. Use [[Template:PageLink]] if the page name is not the same as the name. | |||
|parameter13name = location6 | |||
|parameter13description = Sixth quest/challenge area is this found in. Use [[Template:PageLink]] if the page name is not the same as the name. | |||
|parameter14name= additionallocations | |||
|parameter14description= If there are more than 5 locations, enter them here using the {{Template:AdditionalLocations}} | |||
|parameter15name = rareinfo | |||
|parameter15description = Where this rare enemy appears in the location, any special info about finding it, etc. | |||
|parameter16name = specialattack | |||
|parameter16description = Any special attacks the enemy has. | |||
|parameter17name = specialabilities | |||
|parameter17description = Any special abilities the enemy has. | |||
|parameter18name = flavortext | |||
|parameter18description = Enter the DM text that is displayed in tlocationor said when you enter the quest. | |||
|parameter19name = dr | |||
|parameter19description = Enter any specific Damage Reduction this enemy has. Use [[Template:MonsterDR]]. | |||
|parameter20name = description | |||
|parameter20description = Describe the enemy, and special moves, etc. | |||
|parameter21name = notes | |||
|parameter21description = Any notes about the enemy. | |||
|parameter22name = patchhistory | |||
|parameter22description = Any changes in specific patches to the enemy. | |||
|parameter23name = update | |||
|parameter23description = What update did the enemy first appear. | |||
|parameter24name = exp | |||
|parameter24description = Experience gained upon kill | |||
|parameter25name = subrace | |||
|parameter25description = What specific part of the race is this enemy Use [[Template:PageLink]] if the page name is not the same as the name. | |||
|parameter26name = wilderness | |||
|parameter26description = What wilderness is this enemy in as a rare | |||
|parameter27name = image | |||
|parameter27description = The image of the enemy if the file is different than the name | |||
}} | |||
</noinclude> | </noinclude> | ||
< | <includeonly> | ||
<div class="row"> | <div class="row"> | ||
<div class="col- | <div class="col-sm-6"> | ||
<span | <table class="table table-bordered table-striped table-condensed"> | ||
</ | <tr> | ||
< | <td> | ||
< | <table class="table"> | ||
{{#if: {{{flavortext|}}} | ''{{{flavortext}}}''< | <tr> | ||
'''Type:''' [[Category:{{{creaturetype}}} | <td class="center"><span class="big">{{{name}}}</span></td> | ||
'''Race:''' [[Category:{{{race}}} | </tr> | ||
{{#if: {{{ | </table> | ||
{{#if: {{{ | </td> | ||
{{#if: {{{ | </tr> | ||
{{#if: {{{color|}}} | [[Category: {{{color}}} Named Monsters]]'''Color:''' {{#switch:{{lc:{{{color}}}}} | <tr> | ||
|orange= Orange - Named Enemy | <td>{{#if: {{{flavortext|}}}|<p class="center">''{{{flavortext}}}''</p>}}'''Type:''' {{#if: {{{creaturetype|}}}|[[Category:{{{creaturetype}}} Type]]{{PageLink|{{{creaturetype}}}|{{{creaturetype}}} Type}}|Unknown}}<br>'''Race:''' {{#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: {{{boss}}} Bosses]]'''Boss:''' {{#switch:{{lc:{{{boss}}}}}|orange= Orange Named - Mini boss|red=Red Named - Quest Boss|purple=Purple Named - Powerful Boss}}<br>}}<br>'''Location(s):''' {{#if: {{{location|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}{{{location6|}}}{{{additionalocations|}}}{{{wilderness|}}}|* }}{{RenderLink|{{{location}}}}}}}{{#if: {{{location2|}}}|* {{RenderLink|{{{location2}}}}}}}{{#if: {{{location3|}}}|* {{RenderLink|{{{location3}}}}}}}{{#if: {{{location4|}}}|* {{RenderLink|{{{location4}}}}}}}{{#if: {{{location5|}}}|* {{RenderLink|{{{location5}}}}}}}{{#if: {{{location6|}}}|* {{RenderLink|{{{location6}}}}}}}{{#if: {{{additionallocations|}}}|{{{additionallocations}}}}}{{#if: {{{wilderness|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}{{{location6|}}}{{{additionalocations|}}}{{{location}}}|* }}{{RenderLink|{{{wilderness}}}}}}}</td> | ||
|red=Red Named - | </tr> | ||
{{#if:{{{rareinfo|}}}{{{exp|}}}{{{dr||}}}{{{specialattack|}}}{{{specialabilities|}}}{{{description|}}}{{{notes|}}}{{{patchhistory|}}}| | |||
{{#if: {{{boss|}}} | [[Category: {{{ | <tr> | ||
<td>{{#if: {{{rareinfo|}}} | '''Rare Information:''' {{{rareinfo}}}<br>}}{{#if: {{{exp|}}} | '''Experience:''' {{{exp}}}<br>}}{{#if: {{{dr||}}}|'''Damage Reduction:''' {{{dr}}}<br>}}{{#if: {{{specialattack|}}} | '''Special Attacks:''' {{WrapMultiLine|{{{specialattack}}}}}<br>}}{{#if: {{{specialabilities|}}} | '''Special Abilities:''' {{{specialabilities}}}<br>}}{{#if: {{{description|}}} |'''Description:''' {{{description}}}<br>}}{{#if: {{{notes|}}} |'''Notes:''' {{{notes}}}<br>}}{{#if: {{{patchhistory|}}} |'''Patch History:''' {{{patchhistory}}}}}</td> | |||
|orange= Orange Named - Mini boss | </tr>}} | ||
|red=Red - | </table> | ||
{{#if: {{{ | |||
{{#if: {{{specialattack|}}} | '''Special Attacks:''' | |||
{{{specialattack}}}}} | |||
{{#if: {{{specialabilities|}}} | '''Special Abilities:''' | |||
{{{specialabilities}}}}} | |||
{{#if {{{description|}}}| | |||
{{{description}}}}} | |||
{{#if {{{notes|}}}| | |||
{{{notes}}}}} | |||
{{#if {{{patchhistory|}}}| | |||
{{{patchhistory}}}}} | |||
</ | |||
</div> | </div> | ||
<div class="visible-xs-block hidden-sm hidden-md hidden-lg"> | |||
<hr> | |||
</div> | </div> | ||
<div class="col-sm-6"> | |||
<div class="col- | <table class="table table-bordered table-striped table-condensed"> | ||
< | <tr> | ||
[[File:{{{name}}}.png|300px|]]</ | <td> | ||
[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|300px|]] | |||
</td> | |||
</tr> | |||
</table> | |||
</div> | </div> | ||
</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: {{{creaturetype|}}}|{{#ifexist: {{{creaturetype}}} Type ||[[Category:Missing Monster Types]]}}}}{{#if: {{{subrace|}}}|{{#ifexist: {{{subrace}}} Sub Race |[[Category:{{{subrace}}} Sub Race]]|[[Category:Missing Sub Races]]}}}} | |||
</includeonly> |
Latest revision as of 14:56, 13 September 2022
{{Template:NamedEnemy |name = |creaturetype = |race = |monstermanual = |alignment = |color = |boss = |location = |location2 = |location3= |location4= |location5= |location6= |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 | |
name | The name of the enemy. |
creaturetype | What type of creature is this. Use Template:PageLink if the page name is not the same as the name. |
race | What race is this enemy. Use Template:PageLink if the page name is not the same as the name. |
monstermanual | What does the monster manual classify this as, leave blank if not in MM. |
alignment | What is the enemies alignment. |
color | If this enemy is not a boss, what color is it Possible Values:
|
boss | If this enemy is a boss, what color is it Possible Values:
|
location | What quest/challenge area is this found in. Use Template:PageLink if the page name is not the same as the name. |
location2 | Second quest/challenge area is this found in. Use Template:PageLink if the page name is not the same as the name. |
location3 | Third quest/challenge area is this found in. Use Template:PageLink if the page name is not the same as the name. |
location4 | Fourth quest/challenge area is this found in. Use Template:PageLink if the page name is not the same as the name. |
location5 | Fifth quest/challenge area is this found in. Use Template:PageLink if the page name is not the same as the name. |
location6 | Sixth quest/challenge area is this found in. Use Template:PageLink if the page name is not the same as the name. |
additionallocations | If there are more than 5 locations, enter them here using the |
rareinfo | Where this rare enemy appears in the location, any special info about finding it, etc. |
specialattack | Any special attacks the enemy has. |
specialabilities | Any special abilities the enemy has. |
flavortext | Enter the DM text that is displayed in tlocationor said when you enter the quest. |
dr | Enter any specific Damage Reduction this enemy has. Use Template:MonsterDR. |
description | Describe the enemy, and special moves, etc. |
notes | Any notes about the enemy. |
patchhistory | Any changes in specific patches to the enemy. |
update | What update did the enemy first appear. |
exp | Experience gained upon kill |
subrace | What specific part of the race is this enemy Use Template:PageLink if the page name is not the same as the name. |
wilderness | What wilderness is this enemy in as a rare |
image | The 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.