Template:Item Table: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
No edit summary
(Created page with "<includeonly> {|border=0 cellpadding=3 cellspacing=0 {{#ifeq:{{{Caption|}}}|||{{!}}colspan=9{{!}}'''{{{Caption}}}'''}} |- {{#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|}}}||| {{!}} * [...")
 
(61 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{|border=0 cellpadding=3 cellspacing=0
{|border=0 cellpadding=3 cellspacing=0
{{#ifeq:{{{Caption|}}}|||{{!}}colspan=8{{!}}'''{{{Caption}}}'''}}
{{#ifeq:{{{Caption|}}}|||{{!}}colspan=9{{!}}'''{{{Caption}}}'''}}
|-
|-
{{#ifeq:{{{1|}}}|||
{{#ifeq:{{{1|}}}|||
{{!}}width=10{{!}}
{{!}}
{{!}}
* [[Image:{{{1}}} Icon.png]]
* [[Image:{{strip|{{{1}}}}} Icon.png|link={{strip|{{{1|}}}}}]]
{{!}} [[{{{1}}}]]}}{{#ifeq:{{{2|}}}|||
{{!}} [[{{strip|{{{1}}}}}]]
}}
{{#ifeq:{{{2|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{2|}}}|||
{{!}}
* [[Image:{{strip|{{{2}}}}} Icon.png|link={{strip|{{{2|}}}}}]]
{{!}} [[{{strip|{{{2}}}}}]]
}}
{{#ifeq:{{{3|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{3|}}}|||
{{!}}
{{!}}
* [[Image:{{{2}}} Icon.png]]
* [[Image:{{strip|{{{3}}}}} Icon.png|link={{strip|{{{3|}}}}}]]
{{!}} [[{{{2}}}]]}}{{#ifeq:{{{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|}}}|||
{{!}}
* [[Image:{{strip|{{{7}}}}} Icon.png|link={{strip|{{{7|}}}}}]]
{{!}} [[{{strip|{{{7}}}}}]]
}}
{{#ifeq:{{{8|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{8|}}}|||
{{!}}
{{!}}
* [[Image:{{{3}}} Icon.png]]
* [[Image:{{strip|{{{8}}}}} Icon.png|link={{strip|{{{8|}}}}}]]
{{!}} [[{{{3}}}]]}}{{#ifeq:{{{4|}}}|||
{{!}} [[{{strip|{{{8}}}}}]]
}}
{{#ifeq:{{{9|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{9|}}}|||
 
{{!}}-
 
{{!}}width=10{{!}}
{{!}}
{{!}}
* [[Image:{{{4}}} Icon.png]]
* [[Image:{{strip|{{{9}}}}} Icon.png|link={{strip|{{{9|}}}}}]]
{{!}} [[{{{4}}}]]}}{{#ifeq:{{{5|}}}|||
{{!}} [[{{strip|{{{9}}}}}]]
}}
{{#ifeq:{{{10|}}}||
 
{{!}}-
{{!}}-
|}}
{{#ifeq:{{{10|}}}|||
{{!}}
{{!}}
* [[Image:{{{5}}} Icon.png]]
* [[Image:{{strip|{{{10}}}}} Icon.png|link={{strip|{{{10|}}}}}]]
{{!}} [[{{{5}}}]]}}{{#ifeq:{{{6|}}}|||
{{!}} [[{{strip|{{{10}}}}}]]
}}
{{#ifeq:{{{11|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{11|}}}|||
{{!}}
{{!}}
* [[Image:{{{6}}} Icon.png]]
* [[Image:{{strip|{{{11}}}}} Icon.png|link={{strip|{{{11|}}}}}]]
{{!}} [[{{{6}}}]]}}{{#ifeq:{{{7|}}}|||
{{!}} [[{{strip|{{{11}}}}}]]
}}
{{#ifeq:{{{12|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{12|}}}|||
{{!}}
{{!}}
* [[Image:{{{7}}} Icon.png]]
* [[Image:{{strip|{{{12}}}}} Icon.png|link={{strip|{{{12|}}}}}]]
{{!}} [[{{{7}}}]]}}{{#ifeq:{{{8|}}}|||
{{!}} [[{{strip|{{{12}}}}}]]
}}
{{#ifeq:{{{13|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{13|}}}|||
 
{{!}}-
 
{{!}}width=10{{!}}
{{!}}
{{!}}
* [[Image:{{{8}}} Icon.png]]
* [[Image:{{strip|{{{13}}}}} Icon.png|link={{strip|{{{13|}}}}}]]
{{!}} [[{{{8}}}]]}}{{#ifeq:{{{9|}}}|||
{{!}} [[{{strip|{{{13}}}}}]]
}}
{{#ifeq:{{{14|}}}||
 
{{!}}-
{{!}}-
|}}
{{#ifeq:{{{14|}}}|||
{{!}}
{{!}}
* [[Image:{{{9}}} Icon.png]]
* [[Image:{{strip|{{{14}}}}} Icon.png|link={{strip|{{{14|}}}}}]]
{{!}} [[{{{9}}}]]}}{{#ifeq:{{{10|}}}|||
{{!}} [[{{strip|{{{14}}}}}]]
}}
{{#ifeq:{{{15|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{15|}}}|||
{{!}}
{{!}}
* [[Image:{{{10}}} Icon.png]]
* [[Image:{{strip|{{{15}}}}} Icon.png|link={{strip|{{{15|}}}}}]]
{{!}} [[{{{10}}}]]}}{{#ifeq:{{{11|}}}|||
{{!}} [[{{strip|{{{15}}}}}]]
}}
{{#ifeq:{{{16|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{16|}}}|||
{{!}}
{{!}}
* [[Image:{{{11}}} Icon.png]]
* [[Image:{{strip|{{{16}}}}} Icon.png|link={{strip|{{{16|}}}}}]]
{{!}} [[{{{11}}}]]}}{{#ifeq:{{{12|}}}|||
{{!}} [[{{strip|{{{16}}}}}]]
}}
{{#ifeq:{{{17|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{17|}}}|||
 
{{!}}-
 
{{!}}width=10{{!}}
{{!}}
{{!}}
* [[Image:{{{12}}} Icon.png]]
* [[Image:{{strip|{{{17}}}}} Icon.png|link={{strip|{{{17|}}}}}]]
{{!}} [[{{{12}}}]]}}{{#ifeq:{{{13|}}}|||
{{!}} [[{{strip|{{{17}}}}}]]
}}
{{#ifeq:{{{18|}}}||
 
{{!}}-
{{!}}-
|}}
{{#ifeq:{{{18|}}}|||
{{!}}
{{!}}
* [[Image:{{{13}}} Icon.png]]
* [[Image:{{strip|{{{18}}}}} Icon.png|link={{strip|{{{18|}}}}}]]
{{!}} [[{{{13}}}]]}}{{#ifeq:{{{14|}}}|||
{{!}} [[{{strip|{{{18}}}}}]]
}}
{{#ifeq:{{{19|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{19|}}}|||
{{!}}
{{!}}
* [[Image:{{{14}}} Icon.png]]
* [[Image:{{strip|{{{19}}}}} Icon.png|link={{strip|{{{19|}}}}}]]
{{!}} [[{{{14}}}]]}}{{#ifeq:{{{15|}}}|||
{{!}} [[{{strip|{{{19}}}}}]]
}}
{{#ifeq:{{{20|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{20|}}}|||
{{!}}
{{!}}
* [[Image:{{{15}}} Icon.png]]
* [[Image:{{strip|{{{20}}}}} Icon.png|link={{strip|{{{20|}}}}}]]
{{!}} [[{{{15}}}]]}}{{#ifeq:{{{16|}}}|||
{{!}} [[{{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|}}}|||
{{!}}
* [[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|}}}|||
{{!}}
* [[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}}}}}]]
}}
{{#ifeq:{{{31|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{31|}}}|||
{{!}}
* [[Image:{{strip|{{{31}}}}} Icon.png|link={{strip|{{{31|}}}}}]]
{{!}} [[{{strip|{{{31}}}}}]]
}}
{{#ifeq:{{{32|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{32|}}}|||
{{!}}
{{!}}
* [[Image:{{{16}}} Icon.png]]
* [[Image:{{strip|{{{32}}}}} Icon.png|link={{strip|{{{32|}}}}}]]
{{!}} [[{{{16}}}]]}}
{{!}} [[{{strip|{{{32}}}}}]]
|}</includeonly><noinclude>
}}
{{Item Table|Caption=Rewards|Farmer Kao's Shovel|Drudge Fort Blueprints}}
|}
</includeonly><noinclude>
{{Related|Wiki Templates|{{mtl|Item Table Two}}|{{mtl|Item Table Three}}}}
== Syntax ==
<pre style="width:auto; overflow:auto">
{{Item Table|Name|Name|Name|Name|Name|...}}
 
{{Item Table|Caption=caption|Name|Name|Name|Name|...}}
 
{{Item Table
| Name
| 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.
 
[[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>
</noinclude>

Latest revision as of 02:56, 17 January 2024

Related topics: Wiki Templates, {{Item Table Two}}, {{Item Table Three}}

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 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.

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
Burnja's Board with Nails
Drudge Scrying Orb
Protective Drudge Charm
Scroll of Flame Chain