Template:Key: Difference between revisions
From Drunkapedia
imported>Tlosk's Bot No edit summary |
imported>Arkalor No edit summary |
||
(50 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <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| [[{{# | |width=40 align=center| [[{{#ifeq: {{{Icon Image|}}} || Image:Icon.png | Image:{{{Icon Image}}}}}]] | ||
|- | |- | ||
|colspan=2| | |colspan=2| | ||
{{#ifeq:{{{Description|}}} || | <br> }}{{#ifeq:{{{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:{{{Number of Uses|}}} || | | |width=20| | ||
{{#ifeq:{{{Cannot Be Sold|False}}} | | | | ||
{{#ifeq:{{{Live Image|Live.jpg}}} | |||
| | | Live.jpg | ||
|} [[Category:Key]]</includeonly><noinclude> | | | ||
{{Related|Wiki Templates|Key Template|Template | | {{#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 | ||
| Name = | | Name = | ||
| Icon Image = Icon.png | |||
| Value = | | Value = | ||
| Burden = | | Burden = | ||
| Description = | | Description = | ||
| Special Properties = [[Attuned]], [[Bonded]] | | 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 = | | Number of Uses = | ||
| Cannot Be Sold = False | | Cannot Be Sold = False | ||
Line 33: | Line 56: | ||
== Usage == | == 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 13: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.