Template:Item Table: Difference between revisions

From leaftidewiki
Jump to navigation Jump to search
imported>Tlosk's Bot
mNo edit summary
imported>Arkalor
mNo edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{#if:{{{Caption|}}}|<div class="itemtable_caption">{{{Caption}}}</div>}}<span class="itemtable"><span class="itemtable_row">{{#if:{{{1|}}}|<span class="itemtable_cell">[[File:{{strip|{{{1|}}}}} Icon.png|link=]] [[{{strip|{{{1|}}}}}|<span class="ajaxttlink">{{strip|{{{1|}}}}}</span>]]</span>}}{{#if:{{{2|}}}|<span class="itemtable_cell">[[File:{{strip|{{{2|}}}}} Icon.png|link=]] [[{{strip|{{{2|}}}}}|<span class="ajaxttlink">{{strip|{{{2|}}}}}</span>]]</span>}}{{#if:{{{3|}}}|<span class="itemtable_cell">[[File:{{strip|{{{3|}}}}} Icon.png|link=]] [[{{strip|{{{3|}}}}}|<span class="ajaxttlink">{{strip|{{{3|}}}}}</span>]]</span>}}</span>{{#if:{{{4|}}}|<span class="itemtable_row">{{#if:{{{4|}}}|<span class="itemtable_cell">[[File:{{strip|{{{4|}}}}} Icon.png|link=]] [[{{strip|{{{4|}}}}}|<span class="ajaxttlink">{{strip|{{{4|}}}}}</span>]]</span>}}{{#if:{{{5|}}}|<span class="itemtable_cell">[[File:{{strip|{{{5|}}}}} Icon.png|link=]] [[{{strip|{{{5|}}}}}|<span class="ajaxttlink">{{strip|{{{5|}}}}}</span>]]</span>}}{{#if:{{{6|}}}|<span class="itemtable_cell">[[File:{{strip|{{{6|}}}}} Icon.png|link=]] [[{{strip|{{{6|}}}}}|<span class="ajaxttlink">{{strip|{{{6|}}}}}</span>]]</span>}}</span>}}{{#if:{{{7|}}}|<span class="itemtable_row">{{#if:{{{7|}}}|<span class="itemtable_cell">[[File:{{strip|{{{7|}}}}} Icon.png|link=]] [[{{strip|{{{7|}}}}}|<span class="ajaxttlink">{{strip|{{{7|}}}}}</span>]]</span>}}{{#if:{{{8|}}}|<span class="itemtable_cell">[[File:{{strip|{{{8|}}}}} Icon.png|link=]] [[{{strip|{{{8|}}}}}|<span class="ajaxttlink">{{strip|{{{8|}}}}}</span>]]</span>}}{{#if:{{{9|}}}|<span class="itemtable_cell">[[File:{{strip|{{{9|}}}}} Icon.png|link=]] [[{{strip|{{{9|}}}}}|<span class="ajaxttlink">{{strip|{{{9|}}}}}</span>]]</span>}}</span>}}{{#if:{{{10|}}}|<span class="itemtable_row">{{#if:{{{10|}}}|<span class="itemtable_cell">[[File:{{strip|{{{10|}}}}} Icon.png|link=]] [[{{strip|{{{10|}}}}}|<span class="ajaxttlink">{{strip|{{{10|}}}}}</span>]]</span>}}{{#if:{{{11|}}}|<span class="itemtable_cell">[[File:{{strip|{{{11|}}}}} Icon.png|link=]] [[{{strip|{{{11|}}}}}|<span class="ajaxttlink">{{strip|{{{11|}}}}}</span>]]</span>}}{{#if:{{{12|}}}|<span class="itemtable_cell">[[File:{{strip|{{{12|}}}}} Icon.png|link=]] [[{{strip|{{{12|}}}}}|<span class="ajaxttlink">{{strip|{{{12|}}}}}</span>]]</span>}}</span>}}{{#if:{{{13|}}}|<span class="itemtable_row">{{#if:{{{13|}}}|<span class="itemtable_cell">[[File:{{strip|{{{13|}}}}} Icon.png|link=]] [[{{strip|{{{13|}}}}}|<span class="ajaxttlink">{{strip|{{{13|}}}}}</span>]]</span>}}{{#if:{{{14|}}}|<span class="itemtable_cell">[[File:{{strip|{{{14|}}}}} Icon.png|link=]] [[{{strip|{{{14|}}}}}|<span class="ajaxttlink">{{strip|{{{14|}}}}}</span>]]</span>}}{{#if:{{{15|}}}|<span class="itemtable_cell">[[File:{{strip|{{{15|}}}}} Icon.png|link=]] [[{{strip|{{{15|}}}}}|<span class="ajaxttlink">{{strip|{{{15|}}}}}</span>]]</span>}}</span>}}{{#if:{{{16|}}}|<span class="itemtable_row">{{#if:{{{16|}}}|<span class="itemtable_cell">[[File:{{strip|{{{16|}}}}} Icon.png|link=]] [[{{strip|{{{16|}}}}}|<span class="ajaxttlink">{{strip|{{{16|}}}}}</span>]]</span>}}{{#if:{{{17|}}}|<span class="itemtable_cell">[[File:{{strip|{{{17|}}}}} Icon.png|link=]] [[{{strip|{{{17|}}}}}|<span class="ajaxttlink">{{strip|{{{17|}}}}}</span>]]</span>}}{{#if:{{{18|}}}|<span class="itemtable_cell">[[File:{{strip|{{{18|}}}}} Icon.png|link=]] [[{{strip|{{{18|}}}}}|<span class="ajaxttlink">{{strip|{{{18|}}}}}</span>]]</span>}}</span>}}{{#if:{{{19|}}}|<span class="itemtable_row">{{#if:{{{19|}}}|<span class="itemtable_cell">[[File:{{strip|{{{19|}}}}} Icon.png|link=]] [[{{strip|{{{19|}}}}}|<span class="ajaxttlink">{{strip|{{{19|}}}}}</span>]]</span>}}{{#if:{{{20|}}}|<span class="itemtable_cell">[[File:{{strip|{{{20|}}}}} Icon.png|link=]] [[{{strip|{{{20|}}}}}|<span class="ajaxttlink">{{strip|{{{20|}}}}}</span>]]</span>}}{{#if:{{{21|}}}|<span class="itemtable_cell">[[File:{{strip|{{{21|}}}}} Icon.png|link=]] [[{{strip|{{{21|}}}}}|<span class="ajaxttlink">{{strip|{{{21|}}}}}</span>]]</span>}}</span>}}{{#if:{{{22|}}}|<span class="itemtable_row">{{#if:{{{22|}}}|<span class="itemtable_cell">[[File:{{strip|{{{22|}}}}} Icon.png|link=]] [[{{strip|{{{22|}}}}}|<span class="ajaxttlink">{{strip|{{{22|}}}}}</span>]]</span>}}{{#if:{{{23|}}}|<span class="itemtable_cell">[[File:{{strip|{{{23|}}}}} Icon.png|link=]] [[{{strip|{{{23|}}}}}|<span class="ajaxttlink">{{strip|{{{23|}}}}}</span>]]</span>}}{{#if:{{{24|}}}|<span class="itemtable_cell">[[File:{{strip|{{{24|}}}}} Icon.png|link=]] [[{{strip|{{{24|}}}}}|<span class="ajaxttlink">{{strip|{{{24|}}}}}</span>]]</span>}}</span>}}{{#if:{{{25|}}}|<span class="itemtable_row">{{#if:{{{25|}}}|<span class="itemtable_cell">[[File:{{strip|{{{25|}}}}} Icon.png|link=]] [[{{strip|{{{25|}}}}}|<span class="ajaxttlink">{{strip|{{{25|}}}}}</span>]]</span>}}{{#if:{{{26|}}}|<span class="itemtable_cell">[[File:{{strip|{{{26|}}}}} Icon.png|link=]] [[{{strip|{{{26|}}}}}|<span class="ajaxttlink">{{strip|{{{26|}}}}}</span>]]</span>}}{{#if:{{{27|}}}|<span class="itemtable_cell">[[File:{{strip|{{{27|}}}}} Icon.png|link=]] [[{{strip|{{{27|}}}}}|<span class="ajaxttlink">{{strip|{{{27|}}}}}</span>]]</span>}}</span>}}{{#if:{{{28|}}}|<span class="itemtable_row">{{#if:{{{28|}}}|<span class="itemtable_cell">[[File:{{strip|{{{28|}}}}} Icon.png|link=]] [[{{strip|{{{28|}}}}}|<span class="ajaxttlink">{{strip|{{{28|}}}}}</span>]]</span>}}{{#if:{{{29|}}}|<span class="itemtable_cell">[[File:{{strip|{{{29|}}}}} Icon.png|link=]] [[{{strip|{{{29|}}}}}|<span class="ajaxttlink">{{strip|{{{29|}}}}}</span>]]</span>}}{{#if:{{{30|}}}|<span class="itemtable_cell">[[File:{{strip|{{{30|}}}}} Icon.png|link=]] [[{{strip|{{{30|}}}}}|<span class="ajaxttlink">{{strip|{{{30|}}}}}</span>]]</span>}}</span>}}{{#if:{{{31|}}}|<span class="itemtable_row">{{#if:{{{31|}}}|<span class="itemtable_cell">[[File:{{strip|{{{31|}}}}} Icon.png|link=]] [[{{strip|{{{31|}}}}}|<span class="ajaxttlink">{{strip|{{{31|}}}}}</span>]]</span>}}{{#if:{{{32|}}}|<span class="itemtable_cell">[[File:{{strip|{{{32|}}}}} Icon.png|link=]] [[{{strip|{{{32|}}}}}|<span class="ajaxttlink">{{strip|{{{32|}}}}}</span>]]</span>}}{{#if:{{{33|}}}|<span class="itemtable_cell">[[File:{{strip|{{{33|}}}}} Icon.png|link=]] [[{{strip|{{{33|}}}}}|<span class="ajaxttlink">{{strip|{{{33|}}}}}</span>]]</span>}}</span>}}{{#if:{{{34|}}}|<span class="itemtable_row">{{#if:{{{34|}}}|<span class="itemtable_cell">[[File:{{strip|{{{34|}}}}} Icon.png|link=]] [[{{strip|{{{34|}}}}}|<span class="ajaxttlink">{{strip|{{{34|}}}}}</span>]]</span>}}{{#if:{{{35|}}}|<span class="itemtable_cell">[[File:{{strip|{{{35|}}}}} Icon.png|link=]] [[{{strip|{{{35|}}}}}|<span class="ajaxttlink">{{strip|{{{35|}}}}}</span>]]</span>}}{{#if:{{{36|}}}|<span class="itemtable_cell">[[File:{{strip|{{{36|}}}}} Icon.png|link=]] [[{{strip|{{{36|}}}}}|<span class="ajaxttlink">{{strip|{{{36|}}}}}</span>]]</span>}}</span>}}{{#if:{{{37|}}}|<span class="itemtable_row">{{#if:{{{37|}}}|<span class="itemtable_cell">[[File:{{strip|{{{37|}}}}} Icon.png|link=]] [[{{strip|{{{37|}}}}}|<span class="ajaxttlink">{{strip|{{{37|}}}}}</span>]]</span>}}{{#if:{{{38|}}}|<span class="itemtable_cell">[[File:{{strip|{{{38|}}}}} Icon.png|link=]] [[{{strip|{{{38|}}}}}|<span class="ajaxttlink">{{strip|{{{38|}}}}}</span>]]</span>}}{{#if:{{{39|}}}|<span class="itemtable_cell">[[File:{{strip|{{{39|}}}}} Icon.png|link=]] [[{{strip|{{{39|}}}}}|<span class="ajaxttlink">{{strip|{{{39|}}}}}</span>]]</span>}}</span>}}{{#if:{{{40|}}}|<span class="itemtable_row">{{#if:{{{40|}}}|<span class="itemtable_cell">[[File:{{strip|{{{40|}}}}} Icon.png|link=]] [[{{strip|{{{40|}}}}}|<span class="ajaxttlink">{{strip|{{{40|}}}}}</span>]]</span>}}{{#if:{{{41|}}}|<span class="itemtable_cell">[[File:{{strip|{{{41|}}}}} Icon.png|link=]] [[{{strip|{{{41|}}}}}|<span class="ajaxttlink">{{strip|{{{41|}}}}}</span>]]</span>}}{{#if:{{{42|}}}|<span class="itemtable_cell">[[File:{{strip|{{{42|}}}}} Icon.png|link=]] [[{{strip|{{{42|}}}}}|<span class="ajaxttlink">{{strip|{{{42|}}}}}</span>]]</span>}}</span>}}</span></includeonly><noinclude>{{Documentation}}[[Category:Wiki Templates]]</noinclude>
{|border=0 cellpadding=3 cellspacing=0
{{#ifeq:{{{Caption|}}}|||{{!}}colspan=9{{!}}'''{{{Caption}}}'''}}
|-
{{#ifeq:{{{1|}}}|||
{{!}}width=10{{!}}
{{!}}
* [[Image:{{strip|{{{1}}}}} Icon.png]]
{{!}} [[{{strip|{{{1}}}}}]]
}}
{{#ifeq:{{{2|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{2|}}}|||
{{!}}
* [[Image:{{strip|{{{2}}}}} Icon.png]]
{{!}} [[{{strip|{{{2}}}}}]]
}}
{{#ifeq:{{{3|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{3|}}}|||
{{!}}
* [[Image:{{strip|{{{3}}}}} Icon.png]]
{{!}} [[{{strip|{{{3}}}}}]]
}}
{{#ifeq:{{{4|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{4|}}}|||
{{!}}
* [[Image:{{strip|{{{4}}}}} Icon.png]]
{{!}} [[{{strip|{{{4}}}}}]]
}}
{{#ifeq:{{{5|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{5|}}}|||
 
{{!}}-
 
{{!}}width=10{{!}}
{{!}}
* [[Image:{{strip|{{{5}}}}} Icon.png]]
{{!}} [[{{strip|{{{5}}}}}]]
}}
{{#ifeq:{{{6|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{6|}}}|||
{{!}}
* [[Image:{{strip|{{{6}}}}} Icon.png]]
{{!}} [[{{strip|{{{6}}}}}]]
}}
{{#ifeq:{{{7|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{7|}}}|||
{{!}}
* [[Image:{{strip|{{{7}}}}} Icon.png]]
{{!}} [[{{strip|{{{7}}}}}]]
}}
{{#ifeq:{{{8|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{8|}}}|||
{{!}}
* [[Image:{{strip|{{{8}}}}} Icon.png]]
{{!}} [[{{strip|{{{8}}}}}]]
}}
{{#ifeq:{{{9|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{9|}}}|||
 
{{!}}-
 
{{!}}width=10{{!}}
{{!}}
* [[Image:{{strip|{{{9}}}}} Icon.png]]
{{!}} [[{{strip|{{{9}}}}}]]
}}
{{#ifeq:{{{10|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{10|}}}|||
{{!}}
* [[Image:{{strip|{{{10}}}}} Icon.png]]
{{!}} [[{{strip|{{{10}}}}}]]
}}
{{#ifeq:{{{11|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{11|}}}|||
{{!}}
* [[Image:{{strip|{{{11}}}}} Icon.png]]
{{!}} [[{{strip|{{{11}}}}}]]
}}
{{#ifeq:{{{12|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{12|}}}|||
{{!}}
* [[Image:{{strip|{{{12}}}}} Icon.png]]
{{!}} [[{{strip|{{{12}}}}}]]
}}
{{#ifeq:{{{13|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{13|}}}|||
 
{{!}}-
 
{{!}}width=10{{!}}  
{{!}}
* [[Image:{{strip|{{{13}}}}} Icon.png]]
{{!}} [[{{strip|{{{13}}}}}]]
}}
{{#ifeq:{{{14|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{14|}}}|||
{{!}}
* [[Image:{{strip|{{{14}}}}} Icon.png]]
{{!}} [[{{strip|{{{14}}}}}]]
}}
{{#ifeq:{{{15|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{15|}}}|||
{{!}}
* [[Image:{{strip|{{{15}}}}} Icon.png]]
{{!}} [[{{strip|{{{15}}}}}]]
}}
{{#ifeq:{{{16|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{16|}}}|||
{{!}}
* [[Image:{{strip|{{{16}}}}} Icon.png]]
{{!}} [[{{strip|{{{16}}}}}]]
}}
{{#ifeq:{{{17|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{17|}}}|||
 
{{!}}-
 
{{!}}width=10{{!}}
{{!}}
* [[Image:{{strip|{{{17}}}}} Icon.png]]
{{!}} [[{{strip|{{{17}}}}}]]
}}
{{#ifeq:{{{18|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{18|}}}|||
{{!}}
* [[Image:{{strip|{{{18}}}}} Icon.png]]
{{!}} [[{{strip|{{{18}}}}}]]
}}
{{#ifeq:{{{19|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{19|}}}|||
{{!}}
* [[Image:{{strip|{{{19}}}}} Icon.png]]
{{!}} [[{{strip|{{{19}}}}}]]
}}
{{#ifeq:{{{20|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{20|}}}|||
{{!}}
* [[Image:{{strip|{{{20}}}}} Icon.png]]
{{!}} [[{{strip|{{{20}}}}}]]
}}
{{#ifeq:{{{21|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{21|}}}|||
 
{{!}}-
 
{{!}}width=10{{!}}
{{!}}
* [[Image:{{strip|{{{21}}}}} Icon.png]]
{{!}} [[{{strip|{{{21}}}}}]]
}}
{{#ifeq:{{{22|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{22|}}}|||
{{!}}
* [[Image:{{strip|{{{22}}}}} Icon.png]]
{{!}} [[{{strip|{{{22}}}}}]]
}}
{{#ifeq:{{{23|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{23|}}}|||
{{!}}
* [[Image:{{strip|{{{23}}}}} Icon.png]]
{{!}} [[{{strip|{{{23}}}}}]]
}}
{{#ifeq:{{{24|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{24|}}}|||
{{!}}
* [[Image:{{strip|{{{24}}}}} Icon.png]]
{{!}} [[{{strip|{{{24}}}}}]]
}}
{{#ifeq:{{{25|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{25|}}}|||
 
{{!}}-
 
{{!}}width=10{{!}}  
{{!}}
* [[Image:{{strip|{{{25}}}}} Icon.png]]
{{!}} [[{{strip|{{{25}}}}}]]
}}
{{#ifeq:{{{26|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{26|}}}|||
{{!}}
* [[Image:{{strip|{{{26}}}}} Icon.png]]
{{!}} [[{{strip|{{{26}}}}}]]
}}
{{#ifeq:{{{27|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{27|}}}|||
{{!}}
* [[Image:{{strip|{{{27}}}}} Icon.png]]
{{!}} [[{{strip|{{{27}}}}}]]
}}
{{#ifeq:{{{28|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{28|}}}|||
{{!}}
* [[Image:{{strip|{{{28}}}}} Icon.png]]
{{!}} [[{{strip|{{{28}}}}}]]
}}
{{#ifeq:{{{29|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{29|}}}|||
 
{{!}}-
 
{{!}}width=10{{!}}
{{!}}
* [[Image:{{strip|{{{29}}}}} Icon.png]]
{{!}} [[{{strip|{{{29}}}}}]]
}}
{{#ifeq:{{{30|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{30|}}}|||
{{!}}
* [[Image:{{strip|{{{30}}}}} Icon.png]]
{{!}} [[{{strip|{{{30}}}}}]]
}}
{{#ifeq:{{{31|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{31|}}}|||
{{!}}
* [[Image:{{strip|{{{31}}}}} Icon.png]]
{{!}} [[{{strip|{{{31}}}}}]]
}}
{{#ifeq:{{{32|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{32|}}}|||
{{!}}
* [[Image:{{strip|{{{32}}}}} Icon.png]]
{{!}} [[{{strip|{{{32}}}}}]]
}}
|}
</includeonly><noinclude>
{{Related|Wiki Templates}}
== Syntax ==
<pre style="width:auto; overflow:auto">
{{Item Table|Name|Name|Name|Name|Name|...}}
 
{{Item Table|Caption=caption|Name|Name|Name|Name|...}}
</pre>
 
== Usage ==
Displays a bulleted list of icons and links four 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. One quirk of this template is you cannot have any whitespace in the parameter list (spaces next to pipes).
 
[[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|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|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 14:37, 29 October 2015

Template Documentation: Table&action=edit Edit Documentation

Syntax

{{Item Table|Name|Name|Name|Name|Name|...}}

{{Item Table|Caption=caption|Name|Name|Name|Name|...}}

{{Item Table
 | Name
 | Name
 | Name
 | Name
 | Name
}}

Usage

Displays a list of icons and tooltip links three across for up to 33 items. An optional caption can be displayed. If more than 33 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 Name Icon.png (case sensitive).

For example:

{{Item Table|Caption=Rewards|Bonecrunch's Hammer|Burnja's Board with Nails|Drudge Scrying Orb|Protective Drudge Charm|Scroll of Flame Chain}}

displays as:

Rewards

Bonecrunch's Hammer Icon.png Bonecrunch's HammerBurnja's Board with Nails Icon.png Burnja's Board with NailsDrudge Scrying Orb Icon.png Drudge Scrying OrbProtective Drudge Charm Icon.png Protective Drudge CharmScroll of Flame Chain Icon.png Scroll of Flame Chain