Template:Item Table: Difference between revisions
From Drunkapedia
imported>Tlosk No edit summary |
imported>Arkalor mNo edit summary |
||
(62 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> | ||
{{# | |||
{{# | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
{{ | |||
| | |||
{{ | |||
</noinclude> |
Latest revision as of 15:37, 29 October 2015
Template Documentation: | Table| |_}}/Doc?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:
Bonecrunch's Hammer Burnja's Board with Nails Drudge Scrying Orb Protective Drudge Charm Scroll of Flame Chain