Difference between revisions of "Template:Cosmetic"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 78: | Line 78: | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#ifeq:{{#dplvar:rendertype}}|ingredient|{{RenderIngredient|{{{name}}}|{{{icon|}}}|{{{link|}}}}}|<div class="row"> | <includeonly>{{#ifeq:{{#dplvar:rendertype}}|ingredient|{{RenderIngredient|{{{name}}}|{{{icon|}}}|{{{link|}}}}}|<div class="row"> | ||
<div class="col-sm-6"> | <div class="col-sm-6"><table class="table table-bordered table-striped table-condensed"><tr><td><table class="table table-condensed"><tr><td class="col-sm-1">{{IconImageWithLink|{{{name}}}|{{{icon|}}}}}</td><td class="col-sm-11 center"><span class="big">{{{name}}}</span><br>[[:Category:Cosmetic {{{type}}}|Cosmetic {{{type}}}]]{{#if: {{{weapontype|}}}|<br>Looks like a {{{weapontype}}}}}</td></tr></table></td></tr><tr><td>{{#if: {{{restriction|}}}|{{{restriction}}}<br>}} | ||
<table class="table table-bordered table-striped table-condensed"> | {{ItemBinding|{{{binding}}}}}</td></tr>{{#if: {{{enchantments|}}}|<tr><td>'''Enchantments:''' | ||
<tr> | {{{enchantments|}}}</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></table></td></tr>}}</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>{{#if: {{{droplocation|}}} | <tr><td>'''Where To Find:''' {{WrapMultiLine|{{{droplocation}}}}}</td></tr>|[[Category:Items without a Drop Location]]}}{{#if: {{{storedescription|}}} | <tr><td>'''Store Description:''' {{{storedescription}}}</td></tr>}}{{#if: {{{bug|}}} | <tr><td>'''Bugs:''' | ||
<td> | {{{bug}}}</td></tr>}}{{#if: {{{upgradeable|}}} | <tr><td class="extra-details">'''Upgradeable:''' {{WrapMultiLine|{{{upgradeable}}}}}</td></tr>}}{{#if: {{{replaced|}}} |<tr><td class="extra-details topborder">{{{replaced}}}</td></tr>}} | ||
<table class="table table-condensed"> | {{#if: {{{otherversions|}}} | <tr><td class="extra-details topborder">'''Related Items:'''{{WrapMultiLine|{{{otherversions}}}}}</td></tr>}}</table></div></div>[[Category:Cosmetic {{{type}}}]]{{#if: {{{update|}}}|[[Category: Update {{{update}}} Loot]]}} | ||
<tr> | |||
<td class="col-sm-1">{{IconImageWithLink|{{{name}}}|{{{icon|}}}}}</td><td class="col-sm-11 center"><span class="big">{{{name}}}</span><br>[[:Category:Cosmetic {{{type}}}|Cosmetic {{{type}}}]]{{#if: {{{weapontype|}}}|<br>Looks like a {{{weapontype}}}}}</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td> | |||
{{#if: {{{restriction|}}}|{{{restriction}}}<br>}} | |||
{{ItemBinding|{{{binding}}}}} | |||
</td> | |||
</tr> | |||
{{#if: {{{enchantments|}}}| | |||
<tr> | |||
<td> | |||
'''Enchantments:''' | |||
{{{enchantments|}}} | |||
</td> | |||
</tr> | |||
}} | |||
{{#if: {{{description|}}}| | |||
<tr> | |||
<td>'''Description:''' ''{{{description}}}''</td> | |||
</tr> | |||
}} | |||
{{#if: {{{weight|}}} | |||
<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> | |||
</table> | |||
</td> | |||
</tr> | |||
}} | |||
</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> | |||
{{#if: {{{droplocation|}}} | <tr><td>'''Where To Find:''' {{WrapMultiLine|{{{droplocation}}}}}</td></tr>|[[Category:Items without a Drop Location]]}}{{#if: {{{storedescription|}}} | <tr><td>'''Store Description:''' {{{storedescription}}}</td></tr>}} | |||
{{#if: {{{bug|}}} | <tr><td>'''Bugs:''' | |||
{{{bug}}}</td></tr>}} | |||
{{#if: {{{upgradeable|}}} | <tr><td class="extra-details">'''Upgradeable:''' {{WrapMultiLine|{{{upgradeable}}}}}</td></tr>}}{{#if: {{{replaced|}}} | | |||
<tr> | |||
<td class="extra-details topborder">{{{replaced}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{otherversions|}}} | <tr><td class="extra-details topborder">'''Related Items:''' | |||
{{WrapMultiLine|{{{otherversions}}}}}</td></tr>}}</table> | |||
</div> | |||
</div>[[Category:Cosmetic {{{type}}}]]{{#if: {{{update|}}}|[[Category: Update {{{update}}} Loot]]}} | |||
{{#seo: | {{#seo: | ||
|type=website | |type=website |
Latest revision as of 21:22, 13 June 2024
{{Template:Cosmetic |name = |type = |binding = |description = |droplocation = |storedescription = |restriction = |icon= |image= |bug= |weight= |basevalue= |update= |upgradeable = |link= |weapontype= |otherversions= }}
Item[edit]
This template is used to render information about a cosmetic.
Usage[edit]
Parameter Documentation | |
name | The name of the item. |
type | What type of item is it. Possible Values:
|
binding | How is this item bound - leave blank it is unbound. Possible Values:
|
description | Enter the description that is on the examine window at the bottom. |
droplocation | This specifies information on where this drops. Use Template:DropLocation, Template:ItemIconicReceived, Template:StorePurchase, Template:CollectablePurchase, Template:RaidRunePurchase to specify it. IF there is more than one, put each on its own line starting with an asterisk. |
storedescription | This is the description of the item found in the store. |
restriction | This is used when there is some kind of restriction. If it is a trait (Lawful, Good, etc), use Template:ItemRequiredTrait. If there is a race restriction, use Template:ItemRestrictedRace. |
icon | The icon to use for this item, overrides the image using the item name |
image | Image file, use if the image doesn't change between heroic and epic types. Do not include extension. |
bug | Contains any information about a bug related to the item. Use Template:Bug |
weight | This is the weight, in lbs, as shown on the examine window. The "lbs" will be added. |
basevalue | This is the base value as shown in the examine window. Use Template:Price. |
update | Update this was released in |
upgradeable | If this item is upgradeable, use Template:ItemUpgrade. If there is more than one (i.e. it is in the middle of a crafting chain), include multiple templates in a bulleted list. |
link | The link to this page, if it isn't the same as the name. |
weapontype | When a cosmetic weapon, the type of weapon this looks like |
otherversions | Other related version (i.e. heroic vs legendary or epic, feytwisted, etc) |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.