Template:Jewelry: Difference between revisions
From Drunkapedia
imported>Tlosk No edit summary |
imported>An Adventurer (adding special req back to template to properly render those reqs on some items) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><div style="overflow:auto"> | ||
<div class="item tooltip-content"> | |||
{ | <div id="item_header"> | ||
<div>{{{Name|Name}}}</div> | |||
<div>[[File:{{{Icon Image}}}]]</div> | |||
</div> | |||
}} | <ul><li>Value: {{{Value|??}}} | ||
<li class="bottomspace">Burden: {{{Burden|??}}} | |||
{{#if:{{{Set|}}}|<li>Set: {{{Set}}}}} | |||
{{#if:{{{Spells|}}}|<li class="topbottomspace">Spells: {{{Spells}}}}} | |||
{{#if:{{{Special Properties|}}}|<li class="bottomspace">Properties: {{{Special Properties}}}}} | |||
{{#if:{{{Additional|}}}|<li>{{{Additional}}}}} | |||
{{#if:{{{Level Req|}}}|<li>Wield requires level {{{Level Req}}}}} | |||
{{#if:{{{Special Req|}}}|<li>{{{Special Req}}}}} | |||
{{#if:{{{Activation Reqs|}}}|<li>Activation requires {{{Activation Reqs}}}}} | |||
{{#if:{{{Item Level|}}}|<li>Item Level: {{{Item Level|}}}}} | |||
{{#if:{{{Item XP|}}}|<li>Item XP: {{{Item XP|}}}}} | |||
{{# | {{#if:{{{Recommended Level|}}}|<li>Recommended Level: {{{Recommended Level}}}}} | ||
|} | {{#if:{{{Cannot Be Sold|}}}|<li class="topspace">This item cannot be sold.}} | ||
| | {{#if:{{{Rare Number|}}}|<li>Rare #{{{Rare Number}}}}} | ||
{{#if:{{{Spellcraft|}}}|<li>Spellcraft: {{{Spellcraft}}}.}} | |||
{{#ifeq:{{{ | {{#if:{{{Mana|}}}|<li>Mana: {{{Mana}}}.}} | ||
{{#if:{{{Mana Cost|}}}|<li>Mana Cost: 1 point per {{{Mana Cost|}}} seconds.}} | |||
{{#if:{{{Description|}}}|<li class="topbottomspace">{{{Description}}}}} | |||
{{#if:{{{Inscription|}}}|<li class="inscription">{{{Inscription}}}}}</ul></div></div> | |||
<!-- Categories --> | |||
{{#ifeq:{{lc:{{{Retired Jewelry|}}}}} | yes | [[Category:Retired Jewelry]] | [[Category:Jewelry]]{{#ifeq:{{{Level Req|}}}||[[Category:Jewelry: No Level Requirement]]|[[Category:Jewelry: Level {{{Level Req}}}]]}} {{#switch:{{lc:{{{Jewelry Type|}}}}} | bracelets = [[Category:Bracelets]] | necklaces = [[Category:Necklaces]] | rings = [[Category:Rings]] | trinkets = [[Category:Trinkets]]}}}}</includeonly><noinclude>{{Documentation}}[[Category:Wiki Templates]]</noinclude> | |||
}} | |||
= | |||
}} | |||
</ | |||
</noinclude> |
Latest revision as of 15:50, 25 November 2020
Template Documentation: | |_}}/Doc?action=edit Edit Documentation |
---|
Related topics: Wiki Templates, Jewelry Template, Jewelry
Syntax
{{Jewelry | Jewelry Type = | Icon Image = Icon.png | Name = | Value = | Burden = | Spells = | Special Properties = [[Attuned]], [[Bonded]] | Additional = | Level Req = | Activation Reqs = | Spellcraft = | Mana = | Mana Cost = | Description = | Cannot Be Sold = True }}
Usage
This wiki template is a section within the page template Jewelry Template, go there for full details and an example.