Difference between revisions of "Template:Hireling"
From DDO Compendium
m (categorization) |
(udate theme to match the other templates) |
||
Line 61: | Line 61: | ||
|parameter17description = How much the hireling contract weighs | |parameter17description = How much the hireling contract weighs | ||
}} | }} | ||
</noinclude><includeonly>< | </noinclude><includeonly><div class="row"> | ||
< | <div class="col-sm-6"> | ||
<table class="table table-bordered table-striped table-condensed"> | |||
<table class=" | |||
<tr> | <tr> | ||
<td> | <td> | ||
<table class=" | <table class="table table-condensed"> | ||
<tr> | <tr> | ||
<td class=" | <td class="col-sm-12 center"> | ||
'''{{{name}}}''' | <span class="big">'''{{{name}}}'''</span> | ||
<br>[[:Category:{{{type}}} Hirelings|{{{type}}} Hireling]] | |||
</td> | </td> | ||
</tr> | </tr> | ||
Line 82: | Line 82: | ||
'''Level:''' {{{level|Unknown}}}<br>[[Category:Level {{{level|}}} Hirelings]] | '''Level:''' {{{level|Unknown}}}<br>[[Category:Level {{{level|}}} Hirelings]] | ||
'''Race:''' [[{{{race}}}]]<br>[[Category:{{{race}}} Hirelings]] | '''Race:''' [[{{{race}}}]]<br>[[Category:{{{race}}} Hirelings]] | ||
{{#if: {{{class|}}}|'''Class:''' [[{{{class|Unknown}}}]]<br>[[Category:{{{class|}}} Hirelings]] }} | {{#if: {{{class|}}}|'''Class:''' [[{{{class|Unknown}}}]]<br>[[Category:{{{class|}}} Hirelings]]}} | ||
{{#if: {{{goldseal|}}}|'''Gold Seal:''' {{{goldseal}}} [[Astral Shard]]{{#ifeq: {{{goldseal}}}|1||s}}<br>}} | {{#if: {{{goldseal|}}}|'''Gold Seal:''' {{{goldseal}}} [[Astral Shard]]{{#ifeq: | ||
{{#if: {{{hp|}}}|< | {{{goldseal}}}|1||s}}<br>}} | ||
{{#if: {{{sp|}}}|'''Spell Points:''' {{{sp}}}<br>< | </td> | ||
{{#if: {{{commands|}}}|'''Available Commands:''' {{WrapMultiLine|{{{commands|}}} }}< | </tr> | ||
{{#if: {{{description|}}} |< | {{#if: {{{hp|}}}| | ||
<tr> | |||
<td> | |||
{{#if: {{{hp|}}}|'''Hit Points:''' {{{hp}}}<br>|[[Category:Hirelings missing hit points]]}} | |||
{{#if: {{{sp|}}}|'''Spell Points:''' {{{sp}}}<br>|}} | |||
</td> | |||
</tr> | |||
}} | |||
{{#if: {{{commands|}}}| | |||
<tr> | |||
<td> | |||
'''Available Commands:''' {{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> | ||
</table> | </table> | ||
</td> | </td> | ||
< | </tr> | ||
<table | }} | ||
< | </table> | ||
<hr> | |||
<table class="table table-bordered table-striped table-condensed"> | |||
<tr> | <tr> | ||
<td | <td> | ||
|[[Category:Items without a Drop Location]]}}{{#if: {{{notes|}}} |<br>'''Notes:''' {{{notes}}} }} | {{#if: {{{droplocation|}}}|'''Where To Find:''' {{WrapMultiLine|{{{droplocation}}}}} | ||
{{#if: {{{patchhistory|}}} |<br>'''Patch History:''' {{{patchhistory}}} }}</td> | |[[Category:Items without a Drop Location]]}} | ||
{{#if: {{{notes|}}} |<br>'''Notes:''' {{{notes}}}}} | |||
{{#if: {{{patchhistory|}}} |<br>'''Patch History:''' {{{patchhistory}}}}} | |||
</td> | |||
</tr> | </tr> | ||
</table>{{#ifeq: {{FULLPAGENAME}} |Template:Hireling||{{#if: {{{update|}}}|[[Category:Update {{{update}}} Hireling]]}}}}[[Category:Hirelings]]</includeonly> | </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> | |||
</table> | |||
</div> | |||
</div>{{#ifeq: {{FULLPAGENAME}} |Template:Hireling||{{#if: {{{update|}}}|[[Category:Update {{{update}}} Hireling]]}}}}[[Category:Hirelings]]</includeonly> |
Revision as of 19:11, 9 November 2020
{{Template:Hireling |name = |race = |class = |level = |minimumlevel = |hp = |sp = |commands = |droplocation= |basevalue = |goldseal = |flavortext = |description = |notes = |patchhistory = |update = |weight = }}
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 |
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 |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.