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|}}}||| {{!}} * [...")
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{|border=1 cellpadding=3 cellspacing=0
{|border=0 cellpadding=3 cellspacing=0
{{#ifeq:{{{Caption|}}}|||{{!}}colspan=9{{!}}'''{{{Caption}}}'''}}
{{#ifeq:{{{Caption|}}}|||{{!}}colspan=9{{!}}'''{{{Caption}}}'''}}
|-
|-
Line 6: Line 6:
{{!}}width=10{{!}}  
{{!}}width=10{{!}}  
{{!}}
{{!}}
* [[Image:{{{1}}} Icon.png]]
* [[Image:{{strip|{{{1}}}}} Icon.png|link={{strip|{{{1|}}}}}]]
{{!}} [[{{{1}}}]]
{{!}} [[{{strip|{{{1}}}}}]]
}}
}}
{{#ifeq:{{{2|}}}||
{{!}}-
|}}
{{#ifeq:{{{2|}}}|||
{{#ifeq:{{{2|}}}|||
{{!}}
{{!}}
* [[Image:{{{2}}} Icon.png]]
* [[Image:{{strip|{{{2}}}}} Icon.png|link={{strip|{{{2|}}}}}]]
{{!}} [[{{{2}}}]]
{{!}} [[{{strip|{{{2}}}}}]]
}}
}}
{{#ifeq:{{{3|}}}||
{{!}}-
|}}
{{#ifeq:{{{3|}}}|||
{{#ifeq:{{{3|}}}|||
{{!}}
{{!}}
* [[Image:{{{3}}} Icon.png]]
* [[Image:{{strip|{{{3}}}}} Icon.png|link={{strip|{{{3|}}}}}]]
{{!}} [[{{{3}}}]]
{{!}} [[{{strip|{{{3}}}}}]]
}}
}}
{{#ifeq:{{{4|}}}||
{{!}}-
|}}
{{#ifeq:{{{4|}}}|||
{{#ifeq:{{{4|}}}|||
{{!}}
{{!}}
* [[Image:{{{4}}} Icon.png]]
* [[Image:{{strip|{{{4}}}}} Icon.png|link={{strip|{{{4|}}}}}]]
{{!}} [[{{{4}}}]]
{{!}} [[{{strip|{{{4}}}}}]]
}}{{#ifeq:{{{5|}}}|||
}}
{{#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:{{strip|{{{8}}}}} Icon.png|link={{strip|{{{8|}}}}}]]
{{!}} [[{{strip|{{{8}}}}}]]
}}
{{#ifeq:{{{9|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{9|}}}|||


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


{{!}}width=10{{!}}  
{{!}}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|}}}|||
{{!}}
* [[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|}}}|||


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


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


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


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


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


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


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


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


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


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


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


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


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


{{!}} [[{{{8}}}]]}}
|}}
{{#ifeq:{{{19|}}}|||
{{!}}
* [[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|}}}|||
{{!}}
* [[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:{{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 69: 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|A Farmer's Plea for Help|Bonecrunch's Chest Key|Cave Door Key|Drudge Fort Blueprints|Farmer Kao's Shovel|A Farmer's Plea for Help|Bonecrunch's Chest Key|Cave Door Key|Drudge Fort Blueprints|Farmer Kao's Shovel|A Farmer's Plea for Help|Bonecrunch's Chest Key|Cave Door Key|Drudge Fort|Blueprints|Farmer Kao's Shovel}}
 
{{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