Difference between revisions of "Template:Hireling"

From DDO Compendium
m (pluralize AS)
 
(61 intermediate revisions by 2 users not shown)
Line 6: Line 6:
|class =  
|class =  
|level =  
|level =  
|epicdestiny =
|minimumlevel =
|hp =
|sp =
|commands =  
|commands =  
|purchaselocation=  
|droplocation=  
|basevalue =  
|basevalue =  
|goldseal =  
|goldseal =  
Line 16: Line 20:
|update =  
|update =  
|weight =  
|weight =  
|icon=
|image=
|permanent=
|storedescription =
}}
}}
</pre>
</pre>
Line 21: Line 29:
|name = Hireling
|name = Hireling
|description = This template is used to describe hirelings.
|description = This template is used to describe hirelings.
|category=NPC and Monster Templates
|category=Item Templates
|usesnamedparameters = true
|usesnamedparameters = true
|parameter1name = name
|parameter1name = name
Line 31: Line 39:
|parameter4name = level
|parameter4name = level
|parameter4description = The level of the hireling
|parameter4description = The level of the hireling
|parameter5name = commands
|parameter5name = epicdestiny
|parameter5description = Available active commands on this hireling
|parameter5description = The [[Epic Destiny]] that this hireling has (Epic Hirelings only)
|parameter6name = purchaselocation
|parameter6name = minimumlevel
|parameter6description = Which vendors sell this hireling.  Use the [[Template:VendorPurchase]] in a bulleted list here
|parameter6description = The minimum level required to summon this hireling.  This number can be lower than the level of the hireling.
|parameter7name = basevalue
|parameter7name = hp
|parameter7description = The cost of this hireling.  Use [[Template:Price]]
|parameter7description = Hit points for this hireling
|parameter8name = goldseal
|parameter8name = sp
|parameter8description = The cost of this hireling in Astral Shards
|parameter8description = Spell Points for this hireling (if any)
|parameter9name = flavortext
|parameter9name = commands
|parameter9description = Any flavor text related to this hireling
|parameter9description = Available active commands on this hireling
|parameter10name = description
|parameter10name = droplocation
|parameter10description = Specific description of this hireling
|parameter10description = Which vendors sell this hireling.  Use any templates in [[:Category:DropLocation Templates]] in a bulleted list here
|parameter11name = notes
|parameter11name = basevalue
|parameter11description = Any notes about this hireling.
|parameter11description = The cost of this hireling.  Use [[Template:Price]]
|parameter12name = patchhistory
|parameter12name = goldseal
|parameter12description = Any patches that have happened
|parameter12description = The cost of this hireling in Astral Shards
|parameter13name = update
|parameter13name = flavortext
|parameter13description = Which update this hireling was introduced in.
|parameter13description = Any flavor text related to this hireling
|parameter14name = weight
|parameter14name = description
|parameterdescription = How much the hireling contract weighs
|parameter14description = Specific description of this hireling
|parameter15name = notes
|parameter15description = Any notes about this hireling.
|parameter16name = patchhistory
|parameter16description = Any patches that have happened
|parameter17name = update
|parameter17description = Which update this hireling was introduced in.
|parameter18name = weight
|parameter18description = How much the hireling contract weighs
|parameter19name = icon
|parameter19description = The icon to use, if it isn't the the default name.
|parameter20name = image
|parameter20description = The image to use, if it isn't the default
|parameter21name=goldsealonly
|parameter21description = This hireling is only available from the ddo store
|parameter22name=permanent
|parameter22description = This hireling is a permanent gold seal hireling.
|parameter23name = storedescription
|parameter23description = This is the description of the item found in the store.
}}
}}
</noinclude><includeonly><table class="item-table background-color">
</noinclude><includeonly>{{#dplvar:set|itembasevalue|{{{basevalue}}}}}<div class="row">
<div class="col-sm-6">
<table class="table table-bordered table-striped table-condensed">
<tr>
<tr>
<td class="item-info-side">
<td>
<table class="background-color full">
<table class="table table-condensed">
<tr>
<td class="{{#if: {{{goldseal|}}}|{{#if: {{{goldsealonly|}}}{{{permanent|}}}|col-sm-1|col-sm-2}}|col-sm-1}}">{{#if: {{{goldsealonly|}}}||{{IconImageWithLink|{{{class}}} {{{level}}}{{#if: {{{epicdestiny|}}}|_ED}}|{{{icon|}}}}}}}{{#if: {{{goldseal|}}}|{{IconImageWithLink|{{{class}}} {{{level}}}_GS{{#if: {{{epicdestiny|}}}|_ED}}|{{{icon|}}}}}}}</td><td class="col-sm-12 center"><span class="big">{{{name}}}</span><br>[[:Category:{{{class}}} Hirelings|{{{class}}} Hireling]]{{#if: {{{permanent|}}}|<br>[[:Category: Permanent Hirelings|Permanent]]}}</td><td class="col-sm-1">{{IconImageWithLink|Hireling Contract Folder}}</td>
</tr>
</table>
</td>
</tr>
{{#if: {{{flavortext|}}}|<tr><td>''{{{flavortext}}}''</td></tr>}}
<tr>
<tr>
<td>
<td>
<table class="background-color full">
{{#if: {{{minimumlevel|}}}|'''Minimum Level:'''&nbsp;{{{minimumlevel|None}}}<br><br>}}
'''Level:'''&nbsp;{{{level|Unknown}}}<br>[[Category:Level {{{level|}}} Hirelings]]
'''Race:'''&nbsp;{{{race|Unknown}}}<br>[[Category:{{{race|Unknown Race}}} Hirelings]]
'''Class:''' {{#if: {{{class|}}}|[[{{{class|}}}]]<br>[[Category:{{{class|}}} Hirelings]]|Unknown<br>[[Category:Hirelings missing a class]]}}{{#if: {{{epicdestiny|}}}|'''Epic Destiny:''' [[{{{epicdestiny}}}]]<br>[[Category:Hirelings with Epic Destinies]][[Category:Epic level hirelings]][[Category:Hirelings with {{{epicdestiny}}}]]}}{{#if: {{{goldseal|}}}|'''Gold Seal:''' &nbsp;{{{goldseal}}}&nbsp;[[DDO Point]]{{#ifeq:{{{goldseal}}}|1||s}}<br>}}
</td>
</tr>
{{#if: {{{hp|}}}|
<tr>
<tr>
<td class="title">
<td>
'''{{{name}}}'''
{{#if: {{{hp|}}}|'''Hit Points:''' {{formatnum:{{{hp}}}}}<br>}}{{#if: {{{sp|}}}|'''Spell Points:''' {{formatnum:{{{sp}}}}}<br>|}}
</td>
</td>
</tr>
</tr>
</table>
|[[Category:Hirelings missing hit points]]}}
{{#if: {{{commands|}}}|
<tr>
<td>
'''Available Commands:''' &nbsp;{{WrapMultiLine|{{{commands|}}}}}
</td>
</td>
</tr>
</tr>
}}{{#if: {{{description|}}}|
<tr>
<td>'''Description:''' ''{{{description}}}''</td>
</tr>|[[Category: Hirelings without a Description]]}}{{#if: {{{weight|}}}{{{basevalue|}}}|
<tr>
<tr>
<td>
<td>
{{#if: {{{flavortext|}}}|''{{{flavortext}}}''<br>}}
<table class="table table-condensed">
'''Level:'''&nbsp;{{{level|Unknown}}}<br>[[Category:Level {{{level|}}} Hirelings]]
<tr>
'''Race:'''&nbsp;{{{race}}}<br>[[Category:{{{race}}} Hirelings]]
<td class="col-sm-6 text-left">{{#if:{{{basevalue|}}}|Base Value: {{{basevalue}}}}}</td>
{{#if: {{{class|}}}|'''Class:''' {{{class|Unknown}}}<br>[[Category:{{{class|}}} Hirelings]] }}
<td class="col-sm-6 text-right">{{#if:{{{weight|}}}|{{{weight}}} lbs}}</td>
{{#if: {{{commands|}}}|'''Available Commands:''' &nbsp;{{WrapMultiLine|{{{commands|}}} }}<br>}}
{{#if: {{{purchaselocation|}}}|'''Purchase Location(s):''' &nbsp;{{WrapMultiLine|{{{purchaselocation|}}} }}<br>}}
{{#if: {{{goldseal|}}}|'''Gold Seal:''' &nbsp;{{{goldseal}}}[[Astral Shard]]{{#ifeq: {{{goldseal}}|1||s}}<br>}}
{{#if: {{{description|}}} |<br>'''Description:''' {{{description}}} }}
{{#if: {{{notes|}}} |<br>'''Notes:'''&nbsp;{{{notes}}} }}
{{#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>
<td class="item-image-side" ">
</tr>
<table class="item-image-table background-color" >
}}
<tr><td class="item-image-notext">[[File:{{{name}}}.png|300px|]]</td></tr>
</table>
</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>
<tr>
<td>
{{#if: {{{droplocation|}}}|'''Where To Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}|[[Category:Items without a Drop Location]]}}{{#if: {{{notes|}}} |<br>'''Notes:'''&nbsp;{{{notes}}}}}{{#if: {{{patchhistory|}}} |<br>'''Patch History:''' {{{patchhistory}}}}}
</td>
</td>
</tr>
</tr>
{{#if: {{{permanent|}}}|<tr><td>'''Permanent:'''&nbsp;As a permanent agreement, this contract has no expiration time and can be used indefinitely.</td></tr>}}
{{#if: {{{goldseal|}}}{{{permanent|}}}|<tr><td>'''Gold Seal:'''&nbsp;Unlike regular hireling contracts, Gold Seal Contracts allow you to summon more than one hireling at a time. With Gold Seal Contracts you can lead an entire party of hirelings.</td></tr>}}{{#if: {{{storedescription|}}} | <tr><td>'''Store Description:'''&nbsp;{{{storedescription}}}</td></tr>}}
</table>
</table>
{{#ifeq: {{FULLPAGENAME}} |Template:Hireling||{{#if: {{{update|}}}|[[Category:Update {{{update}}} Hireling]]}}}}
</div>
[[Category:Hirelings]]
</div>{{#ifeq: {{FULLPAGENAME}} |Template:Hireling||{{#if: {{{update|}}}|[[Category:Update {{{update}}} Hireling]]|[[Category:Hirelings without an Update]]}}{{#if: {{{goldsealonly|}}}|[[Category:Gold Seal Only Hirelings]]}}[[Category:Hirelings]]{{#if: {{{permanent|}}}|[[Category:Permanent Hirelings]]}}}}</includeonly>
</includeonly>

Latest revision as of 01:37, 23 July 2024

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

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
epicdestinyThe Epic Destiny that this hireling has (Epic Hirelings only)
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
iconThe icon to use, if it isn't the the default name.
imageThe image to use, if it isn't the default
goldsealonlyThis hireling is only available from the ddo store
permanentThis hireling is a permanent gold seal hireling.
storedescriptionThis is the description of the item found in the store.

Template

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