Template:Key: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk's Bot
No edit summary
imported>Arkalor
No edit summary
 
(45 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>From the [[{{{Quest|??}}}]] quest introduced in the [[{{{Patch|??}}}]] event.
<includeonly>
 
{|border=0 cellpadding=0 cellspacing=3 style=width:100%
|-valign=top
|
{|border=1 cellspacing=0 cellpadding=5 width=300 style=background:#F0F0F0
{|border=1 cellspacing=0 cellpadding=5 width=300 style=background:#F0F0F0
|colspan=2 align=center|'''{{{Name|??}}}'''
|colspan=2 align=center|'''{{{Name|??}}}'''
|-
|-
|align=center| Value: {{{Value|??}}}<br>{{{Burden|??}}} Burden Units
|align=center| Value: {{{Value|??}}}<br>{{#ifeq:{{lc:{{{Burden|}}}}}|unknown|Unknown Burden|{{{Burden|??}}} Burden Units}}
|width=40 align=center| [[{{#ifeq: {{{Icon Image|}}} || Image:Icon.png | Image:{{{Name}}} Icon.png }}]]
|width=40 align=center| [[{{#ifeq: {{{Icon Image|}}} || Image:Icon.png | Image:{{{Icon Image}}}}}]]
|-
|-
|colspan=2| {{{Description|}}}
|colspan=2|  
{{#ifeq:{{{Description|}}} || | <br> }}{{#ifeq:{{{Special Properties|}}} || | [[Special Properties]]: {{{Special Properties}}} }}
{{#ifeq:{{{Description|}}}|||{{{Description|}}}<br><br>}}{{#ifeq:{{{Special Properties|}}}|||[[Special Properties]]: {{{Special Properties|}}}<br><br>}}{{#ifeq:{{{Description Two|}}}|||{{{Description Two|}}}<br><br>}}{{#ifeq:{{{Number of Uses|}}}|||Number of uses remaining: {{{Number of Uses|}}}<br><br>}}{{#ifeq:{{{Cannot Be Sold|False}}}|True|This item cannot be sold.<br>|}}{{#ifeq:{{{Inscription|}}}|||<br><hr style="background#F0F0F0;"/>{{{Inscription|}}}<br>}}
{{#ifeq:{{{Special Properties|}}} || | {{#ifeq:{{{Description|}}} || | <br><br> }} }}{{#ifeq:{{{Number of Uses|}}} || | Number of uses remaining: {{{Number of Uses|??}}} }}
|}
{{#ifeq:{{{Cannot Be Sold|False}}} | False || <br><br>This item cannot be sold.}}
|width=20|
 
|
|-
{{#ifeq:{{{Live Image|Live.jpg}}}
|} [[Category:Key]]</includeonly><noinclude>
| Live.jpg
{{Related|Wiki Templates|Key Template|Chest Template|Template:Chest}}
|
| {{#ifeq:{{{Live Image|}}}
    |
    |  
    | [[Image:{{{Live Image|}}}{{!}}frame{{!}}{{{Live Image Caption}}}|right]]
  }}
}}
|}[[Category:Key]]</includeonly><noinclude>
{{Related|Wiki Templates|Key Template|Chest Template|{{mtl|Chest}}}}
== Syntax ==
== Syntax ==
<pre>
<pre>
{{Key
{{Key
|              Quest =
|              Patch =
  |              Name =  
  |              Name =  
  |        Icon Image =  Icon.png
  |        Icon Image =  Icon.png
|        Live Image =
  |              Value =  
  |              Value =  
  |            Burden =  
  |            Burden =  
  |        Description =  
  |        Description =  
  | Special Properties = [[Attuned]], [[Bonded]]
  | Special Properties = [[Attuned]], [[Bonded]]
  |    Number of Uses =  
|    Description Two = Use this item on a locked door or chest to unlock it.
  |    Cannot Be Sold = False
  |    Number of Uses = 1
  |    Cannot Be Sold = True
}}
}}
</pre>


== Usage ==
 
{{Key
{{Key
|              Quest = Virindi Keys
  |              Name =  
|              Patch = Release
  |              Name = Singularity Key
  |        Icon Image =  Icon.png
  |        Icon Image =  Icon.png
  |        Live Image =  
  |        Live Image =  
  |              Value = 0
| Live Image Caption =
  |            Burden = 10
  |              Value =  
  |        Description = A purple key.
  |            Burden =  
  | Special Properties = [[Attuned]], [[Bonded]]
  |        Description =  
  |    Number of Uses = 1
  | Special Properties =  
|    Description Two =
  |    Number of Uses =  
  |    Cannot Be Sold = False  
  |    Cannot Be Sold = False  
}}
}}
</pre>
== Usage ==
This wiki template is a section within the page template [[Key Template]], go there for full details and an example.


[[Category:Wiki Template]]
</noinclude>
</noinclude>

Latest revision as of 14:20, 10 July 2012

Related topics: Wiki Templates, Key Template, Chest Template, {{Chest}}

Syntax

{{Key
 |               Name = 
 |         Icon Image =  Icon.png
 |              Value = 
 |             Burden = 
 |        Description = 
 | Special Properties = [[Attuned]], [[Bonded]]
 |    Description Two = Use this item on a locked door or chest to unlock it.
 |     Number of Uses = 1
 |     Cannot Be Sold = True
}}


{{Key
 |               Name = 
 |         Icon Image =  Icon.png
 |         Live Image = 
 | Live Image Caption = 
 |              Value = 
 |             Burden = 
 |        Description = 
 | Special Properties = 
 |    Description Two = 
 |     Number of Uses = 
 |     Cannot Be Sold = False 
}}

Usage

This wiki template is a section within the page template Key Template, go there for full details and an example.