Difference between revisions of "Template:Trick"

From DDO Compendium
 
(20 intermediate revisions by the same user not shown)
Line 33: Line 33:
<table class="table">
<table class="table">
<tr>
<tr>
<td class="col-sm-1">{{IconImage|{{{name}}}|{{{icon|}}}}}</td>
<td class="col-sm-1">{{IconImageWithLink|{{{name}}}|{{{icon|}}}}}</td>
<td class="col-sm-11 center"><span class="big">{{{name}}}</span>[[:Category:Trick|<span class="small">Trick</span>]]</td>
<td class="col-sm-11 center"><span class="big">{{{name}}}</span>[[:Category:Trick|<br><span class="small">Trick</span>]]</td>
</tr>
</tr>
</table>
</table>
Line 54: Line 54:
<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: {{{animation|}}}|{{{animation}}}|{{{animation}}}}}.gif|center|300px|]]</td>
<td>[[File:{{#if: {{{animation|}}}|{{{animation}}}|{{{name}}}}}.gif|center|]]</td>
</tr>
</tr>
<tr>
<tr>
<td class="extra-details">{{#if: {{{droplocation|}}} | '''Where To Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}
<td class="extra-details">{{#if: {{{droplocation|}}} | '''Where To Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}
&nbsp;|[[Category:Items without a Drop Location]]}}
&nbsp;|'''Included with any Companion'''}}
</td>
</td>
</tr>
</tr>{{#ifeq: {{FULLPAGENAME}} |Template:Trick||{{#dpl:
</table>
|linksto={{ARTICLEPAGENAME}}
|uses=Template:Companion
|noresultsheader=&nbsp;
|resultsheader=<tr><td>'''Companions'''
|resultsfooter=</td></tr>
}}}}</table>
</div>
</div>
</div>[[Category:Trick]]{{#if: {{{update|}}} | [[Category:Update {{{update|}}} Loot]] | [[Category:Items without an Update]]}}{{#seo:
</div>[[Category:Trick]]{{#if: {{{update|}}} | [[Category:Update {{{update|}}} Loot]] | [[Category:Items without an Update]]}}{{#seo:
|type=website
|type=website
|image={{#ifexist:File:{{{name}}}.png|{{filepath:{{{name}}}.png|nowiki}}|{{#ifexist:File:{{{name}}} Icon.png|{{filepath:{{{name}}} Icon.png|nowiki}}|}}}}
|image={{PageExists|File:{{{name}}}.png|{{filepath:{{{name}}}.png|nowiki}}|{{PageExists|File:{{{name}}} Icon.png|{{filepath:{{{name}}} Icon.png|nowiki}}}}}}
|description=Item Type: Trick
|description=Item Type: Trick
Drop Location: {{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{droplocation}}}|[|}}|]|}}|Category:Loot|}}|{|}}|}|}}|DropLocation{{!}}|}}|{{!}}|, }}
Drop Location: {{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{droplocation}}}|[|}}|]|}}|Category:Loot|}}|{|}}|}|}}|DropLocation{{!}}|}}|{{!}}|, }}

Latest revision as of 02:08, 24 September 2022

{{Template:Trick
|name =
|description =
|droplocation =
|update =
|icon=
|animation=
}}

Trick[edit]

This template is used to render information about a companion trick

Usage[edit]

Parameter Documentation
nameThe name of the trick.
descriptionEnter the description that is on the examine window at the bottom.
droplocationThis specifies information on where this drops. Use one of the drop location templates to specify it. The list of templates can be found here: Category:DropLocation Templates. If there is more than one, put each on its own line starting with an asterisk.
updateWhich update was this item added to the game in.
iconThe icon to use for this item, overrides the image using the item name
animationThe gif animation, if the default one doesn't work.

Template

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