Template:Pack: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Arkalor
(Removing old parent (container) category tag)
 
(One intermediate revision by the same user 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 10: Line 10:
|-
|-
|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 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 09: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.