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|}}}||| {{!}} * [..."
 
(One intermediate revision by one other user not shown)
Line 349: Line 349:
|}
|}
</includeonly><noinclude>
</includeonly><noinclude>
{{Related|Wiki Templates}}
{{Related|Wiki Templates|{{mtl|Item Table Two}}|{{mtl|Item Table Three}}}}
== Syntax ==
== Syntax ==
<pre style="width:auto; overflow:auto">
<pre style="width:auto; overflow:auto">

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