mNo edit summary
(Redirected page to Template:Item Table)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>
#REDIRECT[[Template:Item Table]]
{|border=0 cellpadding=3 cellspacing=0
{{#ifeq:{{{Caption|}}}|||{{!}}colspan=9{{!}}'''{{{Caption}}}'''}}
|-
{{#ifeq:{{{1|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{1|}}}|||
 
{{!}}-
 
{{!}}
{{!}}width=10{{!}}
* [[Image:{{strip|{{{1}}}}} Icon.png|link={{strip|{{{1|}}}}}]]
{{!}} [[{{strip|{{{1}}}}}]]
}}
{{#ifeq:{{{2|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{2|}}}|||
{{!}}
* [[Image:{{strip|{{{2}}}}} Icon.png|link={{strip|{{{2|}}}}}]]
{{!}} [[{{strip|{{{2}}}}}]]
}}
{{#ifeq:{{{3|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{3|}}}|||
 
{{!}}-
 
{{!}}
{{!}}width=10{{!}}
* [[Image:{{strip|{{{3}}}}} Icon.png|link={{strip|{{{3|}}}}}]]
{{!}} [[{{strip|{{{3}}}}}]]
}}
{{#ifeq:{{{4|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{4|}}}|||
{{!}}
* [[Image:{{strip|{{{4}}}}} Icon.png|link={{strip|{{{4|}}}}}]]
{{!}} [[{{strip|{{{4}}}}}]]
}}
{{#ifeq:{{{5|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{5|}}}|||
 
{{!}}-
 
{{!}}
{{!}}width=10{{!}}
* [[Image:{{strip|{{{5}}}}} Icon.png|link={{strip|{{{5|}}}}}]]
{{!}} [[{{strip|{{{5}}}}}]]
}}
{{#ifeq:{{{6|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{6|}}}|||
{{!}}
* [[Image:{{strip|{{{6}}}}} Icon.png|link={{strip|{{{6|}}}}}]]
{{!}} [[{{strip|{{{6}}}}}]]
}}
{{#ifeq:{{{7|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{7|}}}|||
 
{{!}}-
 
{{!}}
{{!}}width=10{{!}}
* [[Image:{{strip|{{{7}}}}} Icon.png|link={{strip|{{{7|}}}}}]]
{{!}} [[{{strip|{{{7}}}}}]]
}}
{{#ifeq:{{{8|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{8|}}}|||
{{!}}
* [[Image:{{strip|{{{8}}}}} Icon.png|link={{strip|{{{8|}}}}}]]
{{!}} [[{{strip|{{{8}}}}}]]
}}
{{#ifeq:{{{9|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{9|}}}|||
 
{{!}}-
 
{{!}}
{{!}}width=10{{!}}
* [[Image:{{strip|{{{9}}}}} Icon.png|link={{strip|{{{9|}}}}}]]
{{!}} [[{{strip|{{{9}}}}}]]
}}
{{#ifeq:{{{10|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{10|}}}|||
{{!}}
* [[Image:{{strip|{{{10}}}}} Icon.png|link={{strip|{{{10|}}}}}]]
{{!}} [[{{strip|{{{10}}}}}]]
}}
{{#ifeq:{{{11|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{11|}}}|||
 
{{!}}-
 
{{!}}
{{!}}width=10{{!}}
* [[Image:{{strip|{{{11}}}}} Icon.png|link={{strip|{{{11|}}}}}]]
{{!}} [[{{strip|{{{11}}}}}]]
}}
{{#ifeq:{{{12|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{12|}}}|||
{{!}}
* [[Image:{{strip|{{{12}}}}} Icon.png|link={{strip|{{{12|}}}}}]]
{{!}} [[{{strip|{{{12}}}}}]]
}}
{{#ifeq:{{{13|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{13|}}}|||
 
{{!}}-
 
{{!}}
{{!}}width=10{{!}}
* [[Image:{{strip|{{{13}}}}} Icon.png|link={{strip|{{{13|}}}}}]]
{{!}} [[{{strip|{{{13}}}}}]]
}}
{{#ifeq:{{{14|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{14|}}}|||
{{!}}
* [[Image:{{strip|{{{14}}}}} Icon.png|link={{strip|{{{14|}}}}}]]
{{!}} [[{{strip|{{{14}}}}}]]
}}
{{#ifeq:{{{15|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{15|}}}|||
 
{{!}}-
 
{{!}}
{{!}}width=10{{!}}
* [[Image:{{strip|{{{15}}}}} Icon.png|link={{strip|{{{15|}}}}}]]
{{!}} [[{{strip|{{{15}}}}}]]
}}
{{#ifeq:{{{16|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{16|}}}|||
{{!}}
* [[Image:{{strip|{{{16}}}}} Icon.png|link={{strip|{{{16|}}}}}]]
{{!}} [[{{strip|{{{16}}}}}]]
}}
{{#ifeq:{{{17|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{17|}}}|||
 
{{!}}-
 
{{!}}
{{!}}width=10{{!}}
* [[Image:{{strip|{{{17}}}}} Icon.png|link={{strip|{{{17|}}}}}]]
{{!}} [[{{strip|{{{17}}}}}]]
}}
{{#ifeq:{{{18|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{18|}}}|||
{{!}}
* [[Image:{{strip|{{{18}}}}} Icon.png|link={{strip|{{{18|}}}}}]]
{{!}} [[{{strip|{{{18}}}}}]]
}}
{{#ifeq:{{{19|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{19|}}}|||
 
{{!}}-
 
{{!}}
{{!}}width=10{{!}}
* [[Image:{{strip|{{{19}}}}} Icon.png|link={{strip|{{{19|}}}}}]]
{{!}} [[{{strip|{{{19}}}}}]]
}}
{{#ifeq:{{{20|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{20|}}}|||
{{!}}
* [[Image:{{strip|{{{20}}}}} Icon.png|link={{strip|{{{20|}}}}}]]
{{!}} [[{{strip|{{{20}}}}}]]
}}
{{#ifeq:{{{21|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{21|}}}|||
 
{{!}}-
 
{{!}}
{{!}}width=10{{!}}
* [[Image:{{strip|{{{21}}}}} Icon.png|link={{strip|{{{21|}}}}}]]
{{!}} [[{{strip|{{{21}}}}}]]
}}
{{#ifeq:{{{22|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{22|}}}|||
{{!}}
* [[Image:{{strip|{{{22}}}}} Icon.png|link={{strip|{{{22|}}}}}]]
{{!}} [[{{strip|{{{22}}}}}]]
}}
{{#ifeq:{{{23|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{23|}}}|||
 
{{!}}-
 
{{!}}
{{!}}width=10{{!}}
* [[Image:{{strip|{{{23}}}}} Icon.png|link={{strip|{{{23|}}}}}]]
{{!}} [[{{strip|{{{23}}}}}]]
}}
{{#ifeq:{{{24|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{24|}}}|||
{{!}}
* [[Image:{{strip|{{{24}}}}} Icon.png|link={{strip|{{{24|}}}}}]]
{{!}} [[{{strip|{{{24}}}}}]]
}}
{{#ifeq:{{{25|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{25|}}}|||
 
{{!}}-
 
{{!}}
{{!}}width=10{{!}}
* [[Image:{{strip|{{{25}}}}} Icon.png|link={{strip|{{{25|}}}}}]]
{{!}} [[{{strip|{{{25}}}}}]]
}}
{{#ifeq:{{{26|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{26|}}}|||
{{!}}
* [[Image:{{strip|{{{26}}}}} Icon.png|link={{strip|{{{26|}}}}}]]
{{!}} [[{{strip|{{{26}}}}}]]
}}
{{#ifeq:{{{27|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{27|}}}|||
 
{{!}}-
 
{{!}}
{{!}}width=10{{!}}
* [[Image:{{strip|{{{27}}}}} Icon.png|link={{strip|{{{27|}}}}}]]
{{!}} [[{{strip|{{{27}}}}}]]
}}
{{#ifeq:{{{28|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{28|}}}|||
{{!}}
* [[Image:{{strip|{{{28}}}}} Icon.png|link={{strip|{{{28|}}}}}]]
{{!}} [[{{strip|{{{28}}}}}]]
}}
{{#ifeq:{{{29|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{29|}}}|||
 
{{!}}-
 
{{!}}
{{!}}width=10{{!}}
* [[Image:{{strip|{{{29}}}}} Icon.png|link={{strip|{{{29|}}}}}]]
{{!}} [[{{strip|{{{29}}}}}]]
}}
{{#ifeq:{{{30|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{30|}}}|||
{{!}}
* [[Image:{{strip|{{{30}}}}} Icon.png|link={{strip|{{{30|}}}}}]]
{{!}} [[{{strip|{{{30}}}}}]]
}}
|}
</includeonly><noinclude>
{{Related|Wiki Templates}}
== Syntax ==
<pre style="width:auto; overflow:auto">
{{Item Table Two|Name|Name|Name|Name|Name|...}}
 
{{Item Table Two|Caption=caption|Name|Name|Name|Name|...}}
 
{{Item Table Two
| Name
| Name
| Name
| Name
| Name
}}
</pre>
 
== Usage ==
Displays a bulleted list of icons and links two across for up to 32 items. An optional caption can be displayed. If more than 32 are needed, just add a second Item Table and leave out the caption. Link text will not wrap below icons, only to the side.
 
[[Naming Conventions]] are enforced and icon images must follow the format <code>Name Icon.png</code> (case sensitive).
 
For example:
 
<pre style="width:auto; overflow:auto">
{{Item Table Two|Caption=Rewards|Bonecrunch's Hammer|Burnja's Board with Nails|Drudge Scrying Orb|Protective Drudge Charm|Scroll of Flame Chain}}
</pre>
 
displays as:
 
{{Item Table Two|Caption=Rewards|Bonecrunch's Hammer|Burnja's Board with Nails|Drudge Scrying Orb|Protective Drudge Charm|Scroll of Flame Chain}}
 
[[Category:Wiki Template]]
</noinclude>

Latest revision as of 00:03, 11 April 2015