Template:Essence: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
 
imported>Arkalor
(Changed to CSS class to match all other item templates. Tidied template up)
 
Line 1: Line 1:
<includeonly>[[Category:Essence]]
<includeonly><div style="overflow:auto">
{|border=0 cellpadding=0 cellspacing=3 style=width:100%
<div class="item tooltip-content">
|-valign=top
<div id="item_header">
|
<div>{{{Name|Name}}}</div>
{|border=1 cellspacing=0 cellpadding=5 width=300 style=background:#F0F0F0
<div>[[File:{{{Icon Image}}}]]</div>
|colspan=2 align=center|'''{{{Name|??}}}'''
</div>
|-
<ul>
|align=center| Value: {{{Value|??}}}<br>{{#ifeq:{{lc:{{{Burden|}}}}}|unknown|Unknown Burden|{{{Burden|??}}} Burden Units}}
<li>Value: {{{Value|??}}}
|width=40 align=center| [[{{#ifeq: {{{Icon Image|}}} || Image:Icon.png | Image:{{{Icon Image}}}}}]]
<li>Burden: {{{Burden|??}}}
|-
<li class="bottomspace">Workmanship: (Varies)
|colspan=2|
<li class="bottomspace">Ratings: {{#if:{{{Dam|}}} |Dam {{{Dam}}} }}{{#if:{{{Dam Resist|}}} |, Dam Resist {{{Dam Resist}}} }}{{#if:{{{Crit|}}} |, Crit {{{Crit}}} }}{{#if:{{{Crit Dam|}}} |, Crit Dam {{{Crit Dam}}} }}{{#if:{{{Crit Resist|}}} |, Crit Resist {{{Crit Resist}}} }}{{#if:{{{Crit Dam Resist|}}} |, Crit Dam Resist {{{Crit Dam Resist}}} }}.
Ratings: Dam {{#ifeq:{{{Dam|}}} | | ?? | {{{Dam}}} }}, Dam Resist {{#ifeq:{{{Dam Resist|}}} | | ?? | {{{Dam Resist}}} }}, Crit {{#ifeq:{{{Crit|}}} | | ?? | {{{Crit}}} }}, Crit Dam {{#ifeq:{{{Crit Dam|}}} | | ?? | {{{Crit Dam}}} }}, Crit Resist {{#ifeq:{{{Crit Resist|}}} | | ?? | {{{Crit Resist}}} }}, Crit Dam Resist {{#ifeq:{{{Crit Dam Resist|}}} | | ?? | {{{Crit Dam Resist}}} }}.<br><br>Workmanship: (Varies)<br><br>{{#ifeq:{{{Cooldown|}}}|||{{#ifeq:{{{Cooldown| }}}| ||Cooldown When Used: {{{Cooldown}}}s<br><br><br>}}}}{{#ifeq:{{{Summons|}}}|||{{#ifeq:{{{Summons| }}}| ||Use this essence to summon or dismiss your {{{Summons}}}.<br><br>}}}}{{#ifeq:{{{Level Req|}}}|||Use requires level {{{Level Req}}}.<br>}}{{#ifeq:{{lc:{{{Requires Spec|False}}} }}|true|Use requires specialized Summoning.<br>|<br>}}<br>{{#ifeq:{{{Activation Reqs|}}}|||Use requires Summoning of at least {{{Activation Reqs}}}.<br><br>}}{{#ifeq:{{{Uses|}}}|||Number of uses remaining: {{{Uses}}}<br>}}
<li class="bottomspace">{{#if:{{{Cooldown|}}}|Cooldown When Used: {{{Cooldown}}}s}}
|}
<li class="bottomspace">{{#if:{{{Summons|}}}|Use this essence to summon or dismiss your {{{Summons}}}.}}
|width=20|
<li>{{#if:{{{Level Req|}}}|Use requires level {{{Level Req}}}.}}
|
<li>{{#if:{{{Activation Reqs|}}}|Use requires Summoning of at least {{{Activation Reqs}}}.}}
{{#ifeq:{{{Live Image|Live.jpg}}}
<li>{{#ifeq:{{lc:{{{Requires Spec|}}}}}|true|Use requires specialized Summoning.}}
| Live.jpg
<li>{{#if:{{{Uses|}}}|Number of uses remaining: {{{Uses}}}}}
|
</ul></div></div>[[Category:Essences]]</includeonly><noinclude>{{Documentation}}[[Category:Wiki Templates]]</noinclude>
| {{#ifeq:{{{Live Image|}}}
    |  
    |
    | [[Image:{{{Live Image|}}}{{!}}frame{{!}}{{{Live Image Caption}}}|right]]
  }}
}}
|}</includeonly><noinclude>
{{Related|Wiki Templates|Essence Template}}
== Syntax ==
<pre>
{{Essence
|              Name =
|        Icon Image =  Icon.png
|        Live Image =
| Live Image Caption =
|              Value =
|            Burden =
|
|                Dam =
|        Dam Resist =
|              Crit =
|          Crit Dam =
|        Crit Resist =
|    Crit Dam Resist =
|
|        Workmanship = (Varies)
|          Cooldown =
|            Summons =
|          Level Req =
|    Activation Reqs =
|      Requires Spec = False
|              Uses =
}}
</pre>
 
== Usage ==
This wiki template is a section within the page template [[Essence Template]], go there for full details and an example.
 
</noinclude>

Latest revision as of 18:49, 5 February 2016