Difference between revisions of "Template:Hireling"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(31 intermediate revisions by the same user not shown) | |||
Line 20: | Line 20: | ||
|update = | |update = | ||
|weight = | |weight = | ||
|icon= | |||
|image= | |||
|permanent= | |||
|storedescription = | |||
}} | }} | ||
</pre> | </pre> | ||
Line 63: | Line 67: | ||
|parameter18name = weight | |parameter18name = weight | ||
|parameter18description = How much the hireling contract weighs | |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><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 71: | Line 85: | ||
<table class="table table-condensed"> | <table class="table table-condensed"> | ||
<tr> | <tr> | ||
<td class="col-sm-12 center"><span class="big">{{{name}}}</span><br>[[:Category:{{{class}}} Hirelings|{{{class}}} Hireling]]</td> | <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> | </tr> | ||
</table> | </table> | ||
</td> | </td> | ||
</tr> | </tr> | ||
{{#if: {{{flavortext|}}}|<tr><td>''{{{flavortext}}}''</td></tr>}} | |||
<tr> | <tr> | ||
<td> | <td> | ||
{{#if: {{{minimumlevel|}}}|'''Minimum Level:''' {{{minimumlevel|None}}}<br><br>}} | |||
'''Level:''' {{{level|Unknown}}}<br>[[Category:Level {{{level|}}} Hirelings]] | '''Level:''' {{{level|Unknown}}}<br>[[Category:Level {{{level|}}} Hirelings]] | ||
'''Race:''' | '''Race:''' {{{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:''' {{{goldseal}}} [[DDO Point]]{{#ifeq:{{{goldseal}}}|1||s}}<br>}} | '''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:''' {{{goldseal}}} [[DDO Point]]{{#ifeq:{{{goldseal}}}|1||s}}<br>}} | ||
</td> | </td> | ||
Line 87: | Line 102: | ||
<tr> | <tr> | ||
<td> | <td> | ||
{{#if: {{{hp|}}}|'''Hit Points:''' {{{hp}}}<br>}}{{#if: {{{sp|}}}|'''Spell Points:''' {{{sp}}}<br>|}} | {{#if: {{{hp|}}}|'''Hit Points:''' {{formatnum:{{{hp}}}}}<br>}}{{#if: {{{sp|}}}|'''Spell Points:''' {{formatnum:{{{sp}}}}}<br>|}} | ||
</td> | </td> | ||
</tr> | </tr> | ||
Line 100: | Line 115: | ||
<tr> | <tr> | ||
<td>'''Description:''' ''{{{description}}}''</td> | <td>'''Description:''' ''{{{description}}}''</td> | ||
</tr> | </tr>|[[Category: Hirelings without a Description]]}}{{#if: {{{weight|}}}{{{basevalue|}}}| | ||
}}{{#if: {{{weight|}}}{{{basevalue|}}}| | |||
<tr> | <tr> | ||
<td> | <td> | ||
Line 113: | Line 127: | ||
</tr> | </tr> | ||
}} | }} | ||
</table> | </table> | ||
</div> | </div> | ||
Line 131: | Line 137: | ||
<td>[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|300px|]]</td> | <td>[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|300px|]]</td> | ||
</tr> | </tr> | ||
<tr> | |||
<td> | |||
{{#if: {{{droplocation|}}}|'''Where To Find:''' {{WrapMultiLine|{{{droplocation}}}}}|[[Category:Items without a Drop Location]]}}{{#if: {{{notes|}}} |<br>'''Notes:''' {{{notes}}}}}{{#if: {{{patchhistory|}}} |<br>'''Patch History:''' {{{patchhistory}}}}} | |||
</td> | |||
</tr> | |||
{{#if: {{{permanent|}}}|<tr><td>'''Permanent:''' As a permanent agreement, this contract has no expiration time and can be used indefinitely.</td></tr>}} | |||
{{#if: {{{goldseal|}}}{{{permanent|}}}|<tr><td>'''Gold Seal:''' 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:''' {{{storedescription}}}</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]]|[[Category:Hirelings without an Update]]}}{{#if: {{{goldsealonly|}}}|[[Category:Gold Seal Only Hirelings]]}}[[Category:Hirelings]]{{#if: {{{permanent|}}}|[[Category:Permanent Hirelings]]}}}}</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 | |
name | The name of the hireling. |
race | The race of the hireling. |
class | The class of the hireling. |
level | The level of the hireling |
epicdestiny | The Epic Destiny that this hireling has (Epic Hirelings only) |
minimumlevel | The minimum level required to summon this hireling. This number can be lower than the level of the hireling. |
hp | Hit points for this hireling |
sp | Spell Points for this hireling (if any) |
commands | Available active commands on this hireling |
droplocation | Which vendors sell this hireling. Use any templates in Category:DropLocation Templates in a bulleted list here |
basevalue | The cost of this hireling. Use Template:Price |
goldseal | The cost of this hireling in Astral Shards |
flavortext | Any flavor text related to this hireling |
description | Specific description of this hireling |
notes | Any notes about this hireling. |
patchhistory | Any patches that have happened |
update | Which update this hireling was introduced in. |
weight | How much the hireling contract weighs |
icon | The icon to use, if it isn't the the default name. |
image | The image to use, if it isn't the default |
goldsealonly | This hireling is only available from the ddo store |
permanent | This hireling is a permanent gold seal hireling. |
storedescription | This 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.