Difference between revisions of "Template:Hireling"

From DDO Compendium
m (categorization)
(udate theme to match the other templates)
Line 61: Line 61:
|parameter17description = How much the hireling contract weighs
|parameter17description = How much the hireling contract weighs
}}
}}
</noinclude><includeonly><table class="item-table background-color">
</noinclude><includeonly><div class="row">
<tr>
<div class="col-sm-6">
<td class="item-info-side">
<table class="table table-bordered table-striped table-condensed">
<table class="background-color full">
<tr>
<tr>
<td>
<td>
<table class="background-color full">
<table class="table table-condensed">
<tr>
<tr>
<td class="title">
<td class="col-sm-12 center">
'''{{{name}}}'''
<span class="big">'''{{{name}}}'''</span>
<br>[[:Category:{{{type}}} Hirelings|{{{type}}} Hireling]]
</td>
</td>
</tr>
</tr>
Line 82: Line 82:
'''Level:'''&nbsp;{{{level|Unknown}}}<br>[[Category:Level {{{level|}}} Hirelings]]
'''Level:'''&nbsp;{{{level|Unknown}}}<br>[[Category:Level {{{level|}}} Hirelings]]
'''Race:'''&nbsp;[[{{{race}}}]]<br>[[Category:{{{race}}} Hirelings]]
'''Race:'''&nbsp;[[{{{race}}}]]<br>[[Category:{{{race}}} Hirelings]]
{{#if: {{{class|}}}|'''Class:''' [[{{{class|Unknown}}}]]<br>[[Category:{{{class|}}} Hirelings]] }}
{{#if: {{{class|}}}|'''Class:''' [[{{{class|Unknown}}}]]<br>[[Category:{{{class|}}} Hirelings]]}}
{{#if: {{{goldseal|}}}|'''Gold Seal:''' &nbsp;{{{goldseal}}}&nbsp;[[Astral Shard]]{{#ifeq: {{{goldseal}}}|1||s}}<br>}}
{{#if: {{{goldseal|}}}|'''Gold Seal:''' &nbsp;{{{goldseal}}}&nbsp;[[Astral Shard]]{{#ifeq:
{{#if: {{{hp|}}}|<br>'''Hit Points:''' {{{hp}}}<br>|[[Category:Hirelings missing hit points]]}}
{{{goldseal}}}|1||s}}<br>}}
{{#if: {{{sp|}}}|'''Spell Points:''' {{{sp}}}<br><br>|}}
</td>
{{#if: {{{commands|}}}|'''Available Commands:''' &nbsp;{{WrapMultiLine|{{{commands|}}} }}<br>}}
</tr>
{{#if: {{{description|}}} |<br>'''Description:''' {{{description}}} }}
{{#if: {{{hp|}}}|
<tr>
<td>
{{#if: {{{hp|}}}|'''Hit Points:''' {{{hp}}}<br>|[[Category:Hirelings missing hit points]]}}
{{#if: {{{sp|}}}|'''Spell Points:''' {{{sp}}}<br>|}}
</td>
</tr>
}}
{{#if: {{{commands|}}}|
<tr>
<td>
'''Available Commands:''' &nbsp;{{WrapMultiLine|{{{commands|}}}}}
</td>
</tr>
}}
{{#if: {{{description|}}}|
<tr>
<td>'''Description:''' ''{{{description}}}''</td>
</tr>
}}
{{#if: {{{weight|}}}{{{basevalue|}}}|
<tr>
<td>
<table class="table table-condensed">
<tr>
<td class="col-sm-6 text-left">{{#if:{{{basevalue|}}}|Base Value: {{{basevalue}}}}}</td>
<td class="col-sm-6 text-right">{{#if:{{{weight|}}}|{{{weight}}} lbs}}</td>
</tr>
</tr>
{{#if: {{{weight|}}}{{{basevalue|}}}|<tr><td><table class="item-table"><tr><td class="itembasevalue">{{#if:{{{basevalue|}}}|Base Value: {{{basevalue}}}}}</td><td class="itemweight">{{#if:{{{weight|}}}|{{{weight}}} lbs}}</td></tr></table></td></tr>}}
</table>
</table>
</td>
</td>
<td class="item-image-side">
</tr>
<table class="item-image-table background-color" >
}}
<tr><td class="item-image-notext">[[File:{{{name}}}.png|center|300px|]]</td></tr>
</table>
<hr>
<table class="table table-bordered table-striped table-condensed">
<tr>
<tr>
<td class="extra-details">{{#if: {{{droplocation|}}}|'''Where To Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}
<td>
&nbsp;|[[Category:Items without a Drop Location]]}}{{#if: {{{notes|}}} |<br>'''Notes:'''&nbsp;{{{notes}}} }}
{{#if: {{{droplocation|}}}|'''Where To Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}
{{#if: {{{patchhistory|}}} |<br>'''Patch History:''' {{{patchhistory}}} }}</td>
&nbsp;|[[Category:Items without a Drop Location]]}}
{{#if: {{{notes|}}} |<br>'''Notes:'''&nbsp;{{{notes}}}}}
{{#if: {{{patchhistory|}}} |<br>'''Patch History:''' {{{patchhistory}}}}}
</td>
</tr>
</tr>
</table>{{#ifeq: {{FULLPAGENAME}} |Template:Hireling||{{#if: {{{update|}}}|[[Category:Update {{{update}}} Hireling]]}}}}[[Category:Hirelings]]</includeonly>
</table>
</div>
<div class="visible-xs-block hidden-sm hidden-md hidden-lg">
<hr>
</div>
<div class="col-sm-6">
<table class="table table-bordered table-striped table-condensed">
<tr style="background: rgb(0,0,0);">
<td>[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|300px|]]</td>
</tr>
</table>
</div>
</div>{{#ifeq: {{FULLPAGENAME}} |Template:Hireling||{{#if: {{{update|}}}|[[Category:Update {{{update}}} Hireling]]}}}}[[Category:Hirelings]]</includeonly>

Revision as of 19:11, 9 November 2020

{{Template:Hireling
|name = 
|race = 
|class = 
|level = 
|minimumlevel = 
|hp = 
|sp = 
|commands = 
|droplocation= 
|basevalue = 
|goldseal = 
|flavortext = 
|description = 
|notes = 
|patchhistory = 
|update = 
|weight = 
}}

Hireling[edit]

This template is used to describe hirelings.

Usage[edit]

Parameter Documentation
nameThe name of the hireling.
raceThe race of the hireling.
classThe class of the hireling.
levelThe level of the hireling
minimumlevelThe minimum level required to summon this hireling. This number can be lower than the level of the hireling.
hpHit points for this hireling
spSpell Points for this hireling (if any)
commandsAvailable active commands on this hireling
droplocationWhich vendors sell this hireling. Use any templates in Category:DropLocation Templates in a bulleted list here
basevalueThe cost of this hireling. Use Template:Price
goldsealThe cost of this hireling in Astral Shards
flavortextAny flavor text related to this hireling
descriptionSpecific description of this hireling
notesAny notes about this hireling.
patchhistoryAny patches that have happened
updateWhich update this hireling was introduced in.
weightHow much the hireling contract weighs

Template

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