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|}}}||| {{!}} * [...")
 
(50 intermediate revisions by 2 users not shown)
Line 4: Line 4:
|-
|-
{{#ifeq:{{{1|}}}|||
{{#ifeq:{{{1|}}}|||
 
{{!}}width=10{{!}}  
{{!}}columwidth=10{{!}}
 
{{!}}
{{!}}
* [[Image:{{strip|{{{1}}}}} Icon.png|link={{strip|{{{1|}}}}}]]
{{!}} [[{{strip|{{{1}}}}}]]
}}
{{#ifeq:{{{2|}}}||


* [[Image:{{{1}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{1}}}]]
 
}}


|}}
{{#ifeq:{{{2|}}}|||
{{#ifeq:{{{2|}}}|||
{{!}}
{{!}}
* [[Image:{{strip|{{{2}}}}} Icon.png|link={{strip|{{{2|}}}}}]]
{{!}} [[{{strip|{{{2}}}}}]]
}}
{{#ifeq:{{{3|}}}||


* [[Image:{{{2}}} Icon.png]]
{{!}}-
{{!}} [[{{{2}}}]]
 
}}


|}}
{{#ifeq:{{{3|}}}|||
{{#ifeq:{{{3|}}}|||
{{!}}
{{!}}
* [[Image:{{strip|{{{3}}}}} Icon.png|link={{strip|{{{3|}}}}}]]
{{!}} [[{{strip|{{{3}}}}}]]
}}
{{#ifeq:{{{4|}}}||


* [[Image:{{{3}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{3}}}]]
 
}}


|}}
{{#ifeq:{{{4|}}}|||
{{#ifeq:{{{4|}}}|||
{{!}}
{{!}}
* [[Image:{{strip|{{{4}}}}} Icon.png|link={{strip|{{{4|}}}}}]]
{{!}} [[{{strip|{{{4}}}}}]]
}}
{{#ifeq:{{{5|}}}||


* [[Image:{{{4}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{4}}}]]
 
}}


|}}
{{#ifeq:{{{5|}}}|||
{{#ifeq:{{{5|}}}|||


{{!}}-
{{!}}-


{{!}}columwidth=10{{!}}
{{!}}width=10{{!}}  
 
{{!}}
{{!}}
* [[Image:{{strip|{{{5}}}}} Icon.png|link={{strip|{{{5|}}}}}]]
{{!}} [[{{strip|{{{5}}}}}]]
}}
{{#ifeq:{{{6|}}}||


* [[Image:{{{5}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{5}}}]]
 
}}{{#ifeq:{{{6|}}}|||


|}}
{{#ifeq:{{{6|}}}|||
{{!}}
{{!}}
* [[Image:{{strip|{{{6}}}}} Icon.png|link={{strip|{{{6|}}}}}]]
{{!}} [[{{strip|{{{6}}}}}]]
}}
{{#ifeq:{{{7|}}}||


* [[Image:{{{6}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{6}}}]]
 
}}


|}}
{{#ifeq:{{{7|}}}|||
{{#ifeq:{{{7|}}}|||
{{!}}
{{!}}
* [[Image:{{strip|{{{7}}}}} Icon.png|link={{strip|{{{7|}}}}}]]
{{!}} [[{{strip|{{{7}}}}}]]
}}
{{#ifeq:{{{8|}}}||


* [[Image:{{{7}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{7}}}]]
 
}}


|}}
{{#ifeq:{{{8|}}}|||
{{#ifeq:{{{8|}}}|||
{{!}}
{{!}}
* [[Image:{{strip|{{{8}}}}} Icon.png|link={{strip|{{{8|}}}}}]]
{{!}} [[{{strip|{{{8}}}}}]]
}}
{{#ifeq:{{{9|}}}||


* [[Image:{{{8}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{8}}}]]}}


|}}
{{#ifeq:{{{9|}}}|||
{{#ifeq:{{{9|}}}|||


{{!}}-
{{!}}-


{{!}}columwidth=10{{!}}
{{!}}width=10{{!}}  
 
{{!}}
{{!}}
* [[Image:{{strip|{{{9}}}}} Icon.png|link={{strip|{{{9|}}}}}]]
{{!}} [[{{strip|{{{9}}}}}]]
}}
{{#ifeq:{{{10|}}}||


* [[Image:{{{9}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{9}}}]]
 
}}{{#ifeq:{{{10|}}}|||


|}}
{{#ifeq:{{{10|}}}|||
{{!}}
{{!}}
* [[Image:{{strip|{{{10}}}}} Icon.png|link={{strip|{{{10|}}}}}]]
{{!}} [[{{strip|{{{10}}}}}]]
}}
{{#ifeq:{{{11|}}}||


* [[Image:{{{10}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{10}}}]]
 
}}


|}}
{{#ifeq:{{{11|}}}|||
{{#ifeq:{{{11|}}}|||
{{!}}
{{!}}
* [[Image:{{strip|{{{11}}}}} Icon.png|link={{strip|{{{11|}}}}}]]
{{!}} [[{{strip|{{{11}}}}}]]
}}
{{#ifeq:{{{12|}}}||


* [[Image:{{{11}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{11}}}]]
 
}}


|}}
{{#ifeq:{{{12|}}}|||
{{#ifeq:{{{12|}}}|||
{{!}}
{{!}}
* [[Image:{{strip|{{{12}}}}} Icon.png|link={{strip|{{{12|}}}}}]]
{{!}} [[{{strip|{{{12}}}}}]]
}}
{{#ifeq:{{{13|}}}||


* [[Image:{{{12}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{12}}}]]}}


|}}
{{#ifeq:{{{13|}}}|||
{{#ifeq:{{{13|}}}|||


{{!}}-
{{!}}-


{{!}}columwidth=10{{!}}
{{!}}width=10{{!}}  
 
{{!}}
{{!}}
* [[Image:{{strip|{{{13}}}}} Icon.png|link={{strip|{{{13|}}}}}]]
{{!}} [[{{strip|{{{13}}}}}]]
}}
{{#ifeq:{{{14|}}}||


* [[Image:{{{13}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{13}}}]]
 
}}{{#ifeq:{{{14|}}}|||


|}}
{{#ifeq:{{{14|}}}|||
{{!}}
{{!}}
* [[Image:{{strip|{{{14}}}}} Icon.png|link={{strip|{{{14|}}}}}]]
{{!}} [[{{strip|{{{14}}}}}]]
}}
{{#ifeq:{{{15|}}}||


* [[Image:{{{14}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{14}}}]]
 
}}


|}}
{{#ifeq:{{{15|}}}|||
{{#ifeq:{{{15|}}}|||
{{!}}
{{!}}
* [[Image:{{strip|{{{15}}}}} Icon.png|link={{strip|{{{15|}}}}}]]
{{!}} [[{{strip|{{{15}}}}}]]
}}
{{#ifeq:{{{16|}}}||


* [[Image:{{{15}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{15}}}]]
 
}}


|}}
{{#ifeq:{{{16|}}}|||
{{#ifeq:{{{16|}}}|||
{{!}}
{{!}}
* [[Image:{{strip|{{{16}}}}} Icon.png|link={{strip|{{{16|}}}}}]]
{{!}} [[{{strip|{{{16}}}}}]]
}}
{{#ifeq:{{{17|}}}||


* [[Image:{{{16}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{16}}}]]}}


|}}
{{#ifeq:{{{17|}}}|||
{{#ifeq:{{{17|}}}|||


{{!}}-
{{!}}-


{{!}}columwidth=10{{!}}
{{!}}width=10{{!}}  
 
{{!}}
{{!}}
* [[Image:{{strip|{{{17}}}}} Icon.png|link={{strip|{{{17|}}}}}]]
{{!}} [[{{strip|{{{17}}}}}]]
}}
{{#ifeq:{{{18|}}}||


* [[Image:{{{17}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{17}}}]]
 
}}{{#ifeq:{{{18|}}}|||


|}}
{{#ifeq:{{{18|}}}|||
{{!}}
{{!}}
* [[Image:{{strip|{{{18}}}}} Icon.png|link={{strip|{{{18|}}}}}]]
{{!}} [[{{strip|{{{18}}}}}]]
}}
{{#ifeq:{{{19|}}}||


* [[Image:{{{18}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{18}}}]]
 
}}


|}}
{{#ifeq:{{{19|}}}|||
{{#ifeq:{{{19|}}}|||
{{!}}
{{!}}
* [[Image:{{strip|{{{19}}}}} Icon.png|link={{strip|{{{19|}}}}}]]
{{!}} [[{{strip|{{{19}}}}}]]
}}
{{#ifeq:{{{20|}}}||


* [[Image:{{{19}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{19}}}]]
 
}}


|}}
{{#ifeq:{{{20|}}}|||
{{#ifeq:{{{20|}}}|||
{{!}}
{{!}}
* [[Image:{{strip|{{{20}}}}} Icon.png|link={{strip|{{{20|}}}}}]]
{{!}} [[{{strip|{{{20}}}}}]]
}}
{{#ifeq:{{{21|}}}||


* [[Image:{{{20}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{20}}}]]}}


|}}
{{#ifeq:{{{21|}}}|||
{{#ifeq:{{{21|}}}|||


{{!}}-
{{!}}-


{{!}}columwidth=10{{!}}
{{!}}width=10{{!}}  
 
{{!}}
{{!}}
* [[Image:{{strip|{{{21}}}}} Icon.png|link={{strip|{{{21|}}}}}]]
{{!}} [[{{strip|{{{21}}}}}]]
}}
{{#ifeq:{{{22|}}}||


* [[Image:{{{21}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{21}}}]]


|}}
{{#ifeq:{{{22|}}}|||
{{!}}
* [[Image:{{strip|{{{22}}}}} Icon.png|link={{strip|{{{22|}}}}}]]
{{!}} [[{{strip|{{{22}}}}}]]
}}
}}
{{#ifeq:{{{23|}}}||


{{#ifeq:{{{22|}}}|||
{{!}}-


|}}
{{#ifeq:{{{23|}}}|||
{{!}}
{{!}}
* [[Image:{{strip|{{{23}}}}} Icon.png|link={{strip|{{{23|}}}}}]]
{{!}} [[{{strip|{{{23}}}}}]]
}}
{{#ifeq:{{{24|}}}||


* [[Image:{{{22}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{22}}}]]}}
 
{{#ifeq:{{{23|}}}|||


|}}
{{#ifeq:{{{24|}}}|||
{{!}}
{{!}}
* [[Image:{{strip|{{{24}}}}} Icon.png|link={{strip|{{{24|}}}}}]]
{{!}} [[{{strip|{{{24}}}}}]]
}}
{{#ifeq:{{{25|}}}||


* [[Image:{{{23}}} Icon.png]]
{{!}}-


{{!}} [[{{{23}}}]]
|}}
{{#ifeq:{{{25|}}}|||


}}{{#ifeq:{{{24|}}}|||
{{!}}-


{{!}}width=10{{!}}
{{!}}
{{!}}
* [[Image:{{strip|{{{25}}}}} Icon.png|link={{strip|{{{25|}}}}}]]
{{!}} [[{{strip|{{{25}}}}}]]
}}
{{#ifeq:{{{26|}}}||


* [[Image:{{{24}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{24}}}]]


|}}
{{#ifeq:{{{26|}}}|||
{{!}}
* [[Image:{{strip|{{{26}}}}} Icon.png|link={{strip|{{{26|}}}}}]]
{{!}} [[{{strip|{{{26}}}}}]]
}}
}}
 
{{#ifeq:{{{27|}}}||
{{#ifeq:{{{25|}}}|||


{{!}}-
{{!}}-


{{!}}columwidth=10{{!}}
|}}
 
{{#ifeq:{{{27|}}}|||
{{!}}
{{!}}
 
* [[Image:{{strip|{{{27}}}}} Icon.png|link={{strip|{{{27|}}}}}]]
* [[Image:{{{25}}} Icon.png]]
{{!}} [[{{strip|{{{27}}}}}]]
 
{{!}} [[{{{25}}}]]
 
}}
}}
{{#ifeq:{{{28|}}}||


{{#ifeq:{{{26|}}}|||
{{!}}-


|}}
{{#ifeq:{{{28|}}}|||
{{!}}
{{!}}
* [[Image:{{strip|{{{28}}}}} Icon.png|link={{strip|{{{28|}}}}}]]
{{!}} [[{{strip|{{{28}}}}}]]
}}
{{#ifeq:{{{29|}}}||


* [[Image:{{{26}}} Icon.png]]
{{!}}-


{{!}} [[{{{26}}}]]}}
|}}
{{#ifeq:{{{29|}}}|||


{{#ifeq:{{{27|}}}|||
{{!}}-


{{!}}width=10{{!}}
{{!}}
{{!}}
* [[Image:{{strip|{{{29}}}}} Icon.png|link={{strip|{{{29|}}}}}]]
{{!}} [[{{strip|{{{29}}}}}]]
}}
{{#ifeq:{{{30|}}}||


* [[Image:{{{27}}} Icon.png]]
{{!}}-


{{!}} [[{{{27}}}]]
|}}
{{#ifeq:{{{30|}}}|||
{{!}}
* [[Image:{{strip|{{{30}}}}} Icon.png|link={{strip|{{{30|}}}}}]]
{{!}} [[{{strip|{{{30}}}}}]]
}}
{{#ifeq:{{{31|}}}||


}}{{#ifeq:{{{28|}}}|||
{{!}}-


|}}
{{#ifeq:{{{31|}}}|||
{{!}}
{{!}}
* [[Image:{{strip|{{{31}}}}} Icon.png|link={{strip|{{{31|}}}}}]]
{{!}} [[{{strip|{{{31}}}}}]]
}}
{{#ifeq:{{{32|}}}||


* [[Image:{{{28}}} Icon.png]]
{{!}}-
 
{{!}} [[{{{28}}}]]


|}}
{{#ifeq:{{{32|}}}|||
{{!}}
* [[Image:{{strip|{{{32}}}}} Icon.png|link={{strip|{{{32|}}}}}]]
{{!}} [[{{strip|{{{32}}}}}]]
}}
}}
 
|}
|}</includeonly><noinclude>
</includeonly><noinclude>
{{Related|Wiki Templates}}
{{Related|Wiki Templates|{{mtl|Item Table Two}}|{{mtl|Item Table Three}}}}
== Syntax ==
== Syntax ==
<pre>
<pre style="width:auto; overflow:auto">
{{Item Table|Name|Name|Name|Name|Name|...}}
{{Item Table|Name|Name|Name|Name|Name|...}}


Line 293: Line 357:


{{Item Table
{{Item Table
  | Caption =
  | Name
  |  
  | Name
  |  
  | Name
  |  
  | Name
| Name
}}
}}
</pre>
</pre>


== Usage ==
== Usage ==
Displays a bulleted list of icons and links four across for up to 28 items. Optional caption can be displayed. Link text will not wrap below the icon, only to the side.
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:
For example:


<pre>
<pre style="width:auto; overflow:auto">
{{Item Table
{{Item Table|Caption=Rewards|Bonecrunch's Hammer|Burnja's Board with Nails|Drudge Scrying Orb|Protective Drudge Charm|Scroll of Flame Chain}}
| Caption = Rewards
| A Farmer's Plea for Help
| Bonecrunch's Chest Key
| Cave Door Key
| Drudge Fort Blueprints
| Farmer Kao's Shovel
}}
</pre>
</pre>


displays as:
displays as:
{{Item Table
 
| Caption = Rewards
{{Item Table|Caption=Rewards|Bonecrunch's Hammer|Burnja's Board with Nails|Drudge Scrying Orb|Protective Drudge Charm|Scroll of Flame Chain}}
| A Farmer's Plea for Help
 
| Bonecrunch's Chest Key
[[Category:Wiki Template]]
| Cave Door Key
| Drudge Fort Blueprints
| Farmer Kao's Shovel
}}
</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