Difference between revisions of "Template:Trick"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(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">{{ | <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}}}|{{{ | <td>[[File:{{#if: {{{animation|}}}|{{{animation}}}|{{{name}}}}}.gif|center|]]</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td class="extra-details">{{#if: {{{droplocation|}}} | '''Where To Find:''' {{WrapMultiLine|{{{droplocation}}}}} | <td class="extra-details">{{#if: {{{droplocation|}}} | '''Where To Find:''' {{WrapMultiLine|{{{droplocation}}}}} | ||
| | |'''Included with any Companion'''}} | ||
</td> | </td> | ||
</tr> | </tr>{{#ifeq: {{FULLPAGENAME}} |Template:Trick||{{#dpl: | ||
</table> | |linksto={{ARTICLEPAGENAME}} | ||
|uses=Template:Companion | |||
|noresultsheader= | |||
|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={{ | |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 | |
name | The name of the trick. |
description | Enter the description that is on the examine window at the bottom. |
droplocation | This 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. |
update | Which update was this item added to the game in. |
icon | The icon to use for this item, overrides the image using the item name |
animation | The 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.