Template:Pack: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Sanddh
mNo edit summary
imported>Arkalor
(Removing old parent (container) category tag)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>[[Category:Container]][[Category:Pack]]
<includeonly>[[Category:Pack]]
{|border=0 cellpadding=0 cellspacing=3 style=width:100%
{|border=0 cellpadding=0 cellspacing=3 style=width:100%
|-valign=top
|-valign=top
Line 6: Line 6:
|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:{{{Icon Image}}}}}]]
|width=40 align=center| [[{{#ifeq: {{{Icon Image|}}} || Image:Icon.png | Image:{{{Icon Image}}}}}]]
|-
|-
|colspan=2|  
|colspan=2|  
{{#ifeq:{{{Description|}}}|||{{#ifeq:{{{Description| }}}| ||{{{Description}}}<br><br>}}}}{{#ifeq:{{{Special Properties|}}}|||{{#ifeq:{{{Special Properties| }}}| ||[[Special Properties]]: {{{Special Properties}}}<br><br>}}}}{{#ifeq:{{{Description Two|}}}|||{{#ifeq:{{{Description Two| }}}| ||{{{Description Two}}}<br><br>}}}}{{#ifeq:{{{Holds Max Items|}}}|||Can hold up to {{{Holds Max Items}}} items.<br><br>}}{{#ifeq:{{lc:{{{Cannot Be Sold|False}}} }}|true|<br>This item cannot be sold.<br>|}}
{{#ifeq:{{{Description|}}}|||{{#ifeq:{{{Description| }}}| ||{{{Description}}}<br><br>}}}}{{#ifeq:{{{Special Properties|}}}|||{{#ifeq:{{{Special Properties| }}}| ||[[Special Properties]]: {{{Special Properties}}}<br><br>}}}}{{#ifeq:{{{Description Two|}}}|||{{#ifeq:{{{Description Two| }}}| ||{{{Description Two}}}<br><br>}}}}{{#ifeq:{{{Holds Max Items|}}}|||Can hold up to {{{Holds Max Items}}} items.<br><br>}}{{#ifeq:{{lc:{{{Cannot Be Sold|False}}} }}|true|<br>This item cannot be sold.<br>|}}{{#ifeq:{{{Inscription|}}}|||<br><hr style="background#F0F0F0;"/>{{{Inscription|}}}<br>}}
|}
|}
|width=20|
|width=20|
Line 24: Line 24:
}}
}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{Related|Wiki Templates|Container Template}}
{{Related|Wiki Templates|Pack Template}}
== Syntax ==
== Syntax ==
<pre>
<pre>
Line 30: Line 30:
  |              Name =  
  |              Name =  
  |        Icon Image =  Icon.png
  |        Icon Image =  Icon.png
  |        Live Image =  
  |        Live Image = Live.jpg
  | Live Image Caption =  
  | Live Image Caption =  
  |              Value =  
  |              Value =  
Line 43: Line 43:


== Usage ==
== Usage ==
This wiki template is a section within the page template [[Container Template]], go there for full details and an example.
This wiki template is a section within the page template [[Pack Template]], go there for full details and an example.


</noinclude>
</noinclude>

Latest revision as of 10:16, 15 October 2012

Related topics: Wiki Templates, Pack Template

Syntax

{{Pack
 |               Name = 
 |         Icon Image =  Icon.png
 |         Live Image =  Live.jpg
 | Live Image Caption = 
 |              Value = 
 |             Burden = 
 |        Description = 
 | Special Properties = 
 |    Description Two = Use this item to close it
 |    Holds Max Items = 
 |     Cannot Be Sold = False
}}

Usage

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