Difference between revisions of "Template:Hireling"

From DDO Compendium
m (move where the auto-cat sits at)
 
(35 intermediate revisions by 2 users not shown)
Line 6: Line 6:
|class =  
|class =  
|level =  
|level =  
|epicdestiny =
|minimumlevel =  
|minimumlevel =  
|hp =  
|hp =  
Line 19: Line 20:
|update =  
|update =  
|weight =  
|weight =  
|icon=
|image=
|permanent=
}}
}}
</pre>
</pre>
Line 34: 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 = hp
|parameter6name = minimumlevel
|parameter6description = Hit points for this hireling
|parameter6description = The minimum level required to summon this hireling.  This number can be lower than the level of the hireling.
|parameter7name = sp
|parameter7name = hp
|parameter7description = Spell Points for this hireling (if any)
|parameter7description = Hit points for this hireling
|parameter8name = commands
|parameter8name = sp
|parameter8description = Available active commands on this hireling
|parameter8description = Spell Points for this hireling (if any)
|parameter9name = droplocation
|parameter9name = commands
|parameter9description = Which vendors sell this hireling.  Use any templates in [[:Category:DropLocation Templates]] in a bulleted list here
|parameter9description = Available active commands on this hireling
|parameter10name = basevalue
|parameter10name = droplocation
|parameter10description = The cost of this hireling.  Use [[Template:Price]]
|parameter10description = Which vendors sell this hireling.  Use any templates in [[:Category:DropLocation Templates]] in a bulleted list here
|parameter11name = goldseal
|parameter11name = basevalue
|parameter11description = The cost of this hireling in Astral Shards
|parameter11description = The cost of this hireling.  Use [[Template:Price]]
|parameter12name = flavortext
|parameter12name = goldseal
|parameter12description = Any flavor text related to this hireling
|parameter12description = The cost of this hireling in Astral Shards
|parameter13name = description
|parameter13name = flavortext
|parameter13description = Specific description of this hireling
|parameter13description = Any flavor text related to this hireling
|parameter14name = notes
|parameter14name = description
|parameter14description = Any notes about this hireling.
|parameter14description = Specific description of this hireling
|parameter15name = patchhistory
|parameter15name = notes
|parameter15description = Any patches that have happened
|parameter15description = Any notes about this hireling.
|parameter16name = update
|parameter16name = patchhistory
|parameter16description = Which update this hireling was introduced in.
|parameter16description = Any patches that have happened
|parameter17name = weight
|parameter17name = update
|parameter17description = How much the hireling contract weighs
|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><div class="row">
</noinclude><includeonly>{{#dplvar:set|itembasevalue|{{{basevalue}}}}}<div class="row">
<div class="col-sm-6">
<div class="col-sm-6">
<table class="table table-bordered table-striped table-condensed">
<table class="table table-bordered table-striped table-condensed">
Line 68: Line 82:
<table class="table table-condensed">
<table class="table table-condensed">
<tr>
<tr>
<td class="col-sm-12 center">
<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>
<span class="big">'''{{{name}}}'''</span>
<br>[[:Category:{{{class}}} Hirelings|{{{class}}} Hireling]]
</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>
</td>
</tr>
</tr>
Line 90: Line 99:
<tr>
<tr>
<td>
<td>
{{#if: {{{hp|}}}|'''Hit Points:''' {{{hp}}}<br>}}
{{#if: {{{hp|}}}|'''Hit Points:''' {{formatnum:{{{hp}}}}}<br>}}{{#if: {{{sp|}}}|'''Spell Points:''' {{formatnum:{{{sp}}}}}<br>|}}
{{#if: {{{sp|}}}|'''Spell Points:''' {{{sp}}}<br>|}}
</td>
</td>
</tr>
</tr>
Line 101: Line 109:
</td>
</td>
</tr>
</tr>
}}
}}{{#if: {{{description|}}}|
{{#if: {{{description|}}}|
<tr>
<tr>
<td>'''Description:''' ''{{{description}}}''</td>
<td>'''Description:''' ''{{{description}}}''</td>
</tr>
</tr>
}}
}}{{#if: {{{weight|}}}{{{basevalue|}}}|
{{#if: {{{weight|}}}{{{basevalue|}}}|
<tr>
<tr>
<td>
<td>
Line 119: Line 125:
</tr>
</tr>
}}
}}
</table>
<hr>
<table class="table table-bordered table-striped table-condensed">
<tr>
<td>
{{#if: {{{droplocation|}}}|'''Where To Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}
&nbsp;|[[Category:Items without a Drop Location]]}}
{{#if: {{{notes|}}} |<br>'''Notes:'''&nbsp;{{{notes}}}}}
{{#if: {{{patchhistory|}}} |<br>'''Patch History:''' {{{patchhistory}}}}}
</td>
</tr>
</table>
</table>
</div>
</div>
Line 138: Line 133:
<table class="table table-bordered table-striped table-condensed">
<table class="table table-bordered table-striped table-condensed">
<tr style="background: rgb(0,0,0);">
<tr style="background: rgb(0,0,0);">
<td>[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|300px|]]</td>
<td>[[File:{{#if: {{{image|}}}|{{{image}}}.png|{{{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>
</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>}}
</table>
</table>
</div>
</div>
</div>{{#ifeq: {{FULLPAGENAME}} |Template:Hireling||{{#if: {{{update|}}}|[[Category:Update {{{update}}} Hireling]]}}}}[[Category:Hirelings]]</includeonly>
</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.