Difference between revisions of "Template:Hireling"

From DDO Compendium
(initial)
 
(added weight and moved price to match other items)
Line 5: Line 5:
|race =  
|race =  
|class=
|class=
|level=
|commands =  
|commands =  
|purchaselocation=
|purchaselocation=
Line 14: Line 15:
|patchhistory =  
|patchhistory =  
|update=  
|update=  
|weight=
}}
}}
</pre>
</pre>
Line 27: Line 29:
|parameter3name = class
|parameter3name = class
|parameter3description = The class of the hireling.
|parameter3description = The class of the hireling.
|parameter4name = commands
|parameter4name = level
|parameter4description = Available active commands on this hireling
|parameter4description = The level of the hireling
|parameter5name = purchaselocation
|parameter5name = commands
|parameter5description = Which vendors sell this hireling.  Use the [[Template:VendorPurchase]] in a bulleted list here
|parameter5description = Available active commands on this hireling
|parameter6name = price
|parameter6name = purchaselocation
|parameter6description = The cost of this hireling.  Use [[Template:Price]]
|parameter6description = Which vendors sell this hireling.  Use the [[Template:VendorPurchase]] in a bulleted list here
|parameter7name = goldseal
|parameter7name = price
|parameter7description = The cost of this hireling in Astral Shards
|parameter7description = The cost of this hireling.  Use [[Template:Price]]
|parameter8name = flavortext
|parameter8name = goldseal
|parameter8description = Any flavor text related to this hireling
|parameter8description = The cost of this hireling in Astral Shards
|parameter9name = description
|parameter9name = flavortext
|parameter9description = Specific description of this hireling
|parameter9description = Any flavor text related to this hireling
|parameter10name = notes
|parameter10name = description
|parameter10description = Any notes about this hireling.
|parameter10description = Specific description of this hireling
|parameter11name = patchhistory
|parameter11name = notes
|parameter11description = Any patches that have happened
|parameter11description = Any notes about this hireling.
|parameter12name = update
|parameter12name = patchhistory
|parameter12description = Which update this hireling was introduced in.
|parameter12description = Any patches that have happened
|parameter13name = update
|parameter13description = Which update this hireling was introduced in.
|parameter14name = weight
|parameterdescription = How much the hireling contract weighs
}}
}}
</noinclude><includeonly><table class="item-table background-color">
</noinclude><includeonly><table class="item-table background-color">
Line 65: Line 71:
{{#if: {{{flavortext|}}}|''{{{flavortext}}}''<br>}}'''Race:'''&nbsp;{{{race}}}<br>{{#if: {{{class|}}}|'''Class:''' {{{class|Unknown}}}<br>}}
{{#if: {{{flavortext|}}}|''{{{flavortext}}}''<br>}}'''Race:'''&nbsp;{{{race}}}<br>{{#if: {{{class|}}}|'''Class:''' {{{class|Unknown}}}<br>}}
{{#if: {{{purchaselocation|}}}|'''Purchase Location(s):''' {{{purchaselocation|}}}<br>}}
{{#if: {{{purchaselocation|}}}|'''Purchase Location(s):''' {{{purchaselocation|}}}<br>}}
{{#if: {{{price|}}}|'''Price:''' &nbsp;{{{price|}}}<br>}}
{{#if: {{{goldseal|}}}|'''Gold Seal:''' &nbsp;{{{goldseal}}}<br>}}
{{#if: {{{goldseal|}}}|'''Gold Seal:''' &nbsp;{{{goldseal}}}<br>}}
{{#if: {{{description|}}} |<br>'''Description:''' {{{description}}} }}
{{#if: {{{description|}}} |<br>'''Description:''' {{{description}}} }}
Line 71: Line 76:
{{#if: {{{patchhistory|}}} |<br>'''Patch History:''' {{{patchhistory}}} }}</td>
{{#if: {{{patchhistory|}}} |<br>'''Patch History:''' {{{patchhistory}}} }}</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>

Revision as of 06:24, 14 February 2020

{{Template:Hireling
|name = 
|race = 
|class=
|level=
|commands = 
|purchaselocation=
|price=
|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
commandsAvailable active commands on this hireling
purchaselocationWhich vendors sell this hireling. Use the Template:VendorPurchase in a bulleted list here
priceThe 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.
weight{{{parameter14description}}}

Template

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