Difference between revisions of "Template:Hireling"

From DDO Compendium
 
(44 intermediate revisions by 2 users not shown)
Line 6: Line 6:
|class =  
|class =  
|level =  
|level =  
|epicdestiny =
|minimumlevel =  
|minimumlevel =  
|hp =
|sp =
|commands =  
|commands =  
|droplocation=  
|droplocation=  
Line 17: Line 20:
|update =  
|update =  
|weight =  
|weight =  
|icon=
|image=
|permanent=
}}
}}
</pre>
</pre>
Line 32: Line 38:
|parameter4name = level
|parameter4name = level
|parameter4description = The level of the hireling
|parameter4description = The level of the hireling
|parameter5name = minimumlevel
|parameter5name = epicdestiny
|parameter5description = The minimum level required to summon this hireling.  This number can be lower than the level of the hireling.
|parameter5description = The [[Epic Destiny]] that this hireling has (Epic Hirelings only)
|parameter6name = commands
|parameter6name = minimumlevel
|parameter6description = Available active commands on this hireling
|parameter6description = The minimum level required to summon this hireling.  This number can be lower than the level of the hireling.
|parameter7name = droplocation
|parameter7name = hp
|parameter7description = Which vendors sell this hireling.  Use any templates in [[:Category:DropLocation Templates]] in a bulleted list here
|parameter7description = Hit points for this hireling
|parameter8name = basevalue
|parameter8name = sp
|parameter8description = The cost of this hireling.  Use [[Template:Price]]
|parameter8description = Spell Points for this hireling (if any)
|parameter9name = goldseal
|parameter9name = commands
|parameter9description = The cost of this hireling in Astral Shards
|parameter9description = Available active commands on this hireling
|parameter10name = flavortext
|parameter10name = droplocation
|parameter10description = Any flavor text related to this hireling
|parameter10description = Which vendors sell this hireling.  Use any templates in [[:Category:DropLocation Templates]] in a bulleted list here
|parameter11name = description
|parameter11name = basevalue
|parameter11description = Specific description of this hireling
|parameter11description = The cost of this hireling.  Use [[Template:Price]]
|parameter12name = notes
|parameter12name = goldseal
|parameter12description = Any notes about this hireling.
|parameter12description = The cost of this hireling in Astral Shards
|parameter13name = patchhistory
|parameter13name = flavortext
|parameter13description = Any patches that have happened
|parameter13description = Any flavor text related to this hireling
|parameter14name = update
|parameter14name = description
|parameter14description = Which update this hireling was introduced in.
|parameter14description = Specific description of this hireling
|parameter15name = weight
|parameter15name = notes
|parameter15description = How much the hireling contract weighs
|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.
}}
}}
</noinclude><includeonly><table class="item-table background-color">
</noinclude><includeonly>{{#dplvar:set|itembasevalue|{{{basevalue}}}}}<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="{{#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>
'''{{{name}}}'''
</td>
</tr>
</tr>
</table>
</table>
</td>
</td>
</tr>
</tr>
{{#if: {{{flavortext|}}}|<tr><td>''{{{flavortext}}}''</td></tr>}}
<tr>
<tr>
<td>
<td>
{{#if: {{{flavortext|}}}|''{{{flavortext}}}''<br>}}
{{#if: {{{minimumlevel|}}}|'''Minimum Level:'''&nbsp;{{{minimumlevel|None}}}<br><br>}}
{{#if: {{{minimumlevel|}}}|'''Minimum Level:'''&nbsp;{{{minimumlevel|None}}}<br><br>}}
'''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|Unknown}}}<br>[[Category:{{{race|Unknown Race}}} Hirelings]]
{{#if: {{{class|}}}|'''Class:''' [[{{{class|Unknown}}}]]<br>[[Category:{{{class|}}} 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>}}
{{#if: {{{goldseal|}}}|'''Gold Seal:''' &nbsp;{{{goldseal}}}&nbsp;[[Astral Shard]]{{#ifeq: {{{goldseal}}}|1||s}}<br>}}
</td>
{{#if: {{{commands|}}}|'''Available Commands:''' &nbsp;{{WrapMultiLine|{{{commands|}}} }}<br>}}
</tr>
{{#if: {{{description|}}} |<br>'''Description:''' {{{description}}} }}
{{#if: {{{hp|}}}|
<tr>
<td>
{{#if: {{{hp|}}}|'''Hit Points:''' {{formatnum:{{{hp}}}}}<br>}}{{#if: {{{sp|}}}|'''Spell Points:''' {{formatnum:{{{sp}}}}}<br>|}}
</td>
</tr>
|[[Category:Hirelings missing hit points]]}}
{{#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|300px|]]</td></tr>
</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}}}.png|{{{name}}}}}.png|center|300px|]]</td>
</tr>
<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}}}}}|[[Category:Items without a Drop Location]]}}{{#if: {{{notes|}}} |<br>'''Notes:'''&nbsp;{{{notes}}}}}{{#if: {{{patchhistory|}}} |<br>'''Patch History:''' {{{patchhistory}}}}}
{{#if: {{{patchhistory|}}} |<br>'''Patch History:''' {{{patchhistory}}} }}</td>
</td>
</tr>
</tr>
</table>{{#ifeq: {{FULLPAGENAME}} |Template:Hireling||{{#if: {{{update|}}}|[[Category:Update {{{update}}} Hireling]]}}}}[[Category:Hirelings]]</includeonly>
{{#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>}}
</table>
</div>
</div>{{#ifeq: {{FULLPAGENAME}} |Template:Hireling||{{#if: {{{update|}}}|[[Category:Update {{{update}}} Hireling]]}}{{#if: {{{goldsealonly|}}}|[[Category:Gold Seal Only Hirelings]]}}[[Category:Hirelings]]{{#if: {{{permanent|}}}|[[Category:Permanent Hirelings]]}}}}</includeonly>

Latest revision as of 10:04, 13 April 2022

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

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.

Template

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