Difference between revisions of "Template:NamedEnemy"
From DDO Compendium
(testing new layout) |
m (formatting) |
||
Line 112: | Line 112: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>{{#if: {{{flavortext|}}}|<p>''{{{flavortext}}}''</p>}}'''Type:''' {{#if: {{{creaturetype|}}}|[[Category:{{{creaturetype}}} Type]]{{RenderLink|{{{creaturetype}}}}}|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: {{{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):''' {{#if: {{{location|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}{{{additionalocations|}}}{{{wilderness|}}}|* }}{{RenderLink|{{{location}}}}}}}{{#if: {{{location2|}}}|* {{RenderLink|{{{location2}}}}}}}{{#if: {{{location3|}}}|* {{RenderLink|{{{location3}}}}}}}{{#if: {{{location4|}}}|* {{RenderLink|{{{location4}}}}}}}{{#if: {{{location5|}}}|* {{RenderLink|{{{location5}}}}}}}{{#if: {{{additionallocations|}}}|{{{additionallocations}}}}}{{#if: {{{wilderness|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}{{{additionalocations|}}}{{{location}}}|* }}{{RenderLink|{{{wilderness}}}}}}}</td> | <td> | ||
{{#if: {{{flavortext|}}}|<p>''{{{flavortext}}}''</p>}} | |||
'''Type:''' {{#if: {{{creaturetype|}}}|[[Category:{{{creaturetype}}} Type]]{{RenderLink|{{{creaturetype}}}}}|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: {{{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):''' {{#if: {{{location|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}{{{additionalocations|}}}{{{wilderness|}}}| | |||
* }}{{RenderLink|{{{location}}}}}}}{{#if: {{{location2|}}}| | |||
* {{RenderLink|{{{location2}}}}}}}{{#if: {{{location3|}}}| | |||
* {{RenderLink|{{{location3}}}}}}}{{#if: {{{location4|}}}| | |||
* {{RenderLink|{{{location4}}}}}}}{{#if: {{{location5|}}}| | |||
* {{RenderLink|{{{location5}}}}}}}{{#if: {{{additionallocations|}}}|{{{additionallocations}}}}}{{#if: {{{wilderness|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}{{{additionalocations|}}}{{{location}}}| | |||
* }}{{RenderLink|{{{wilderness}}}}}}} | |||
</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>{{#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> | <td> | ||
{{#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> | ||
Line 126: | Line 156: | ||
<tr> | <tr> | ||
<td> | <td> | ||
[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|300px|]] | [[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|300px|]] | ||
</td> | </td> | ||
</tr> | </tr> |
Revision as of 12:46, 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 | |
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. |
additionallocations | If there are more than 5 locations, enter them here using the Template:MonsterLocations |
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.