No edit summary
No edit summary
Line 302: Line 302:
* [[Image:{{{28}}} Icon.png]]
* [[Image:{{{28}}} Icon.png]]
{{!}} [[{{{28}}}]]
{{!}} [[{{{28}}}]]
}}
{{#ifeq:{{{29|}}}||
{{!}}-
|}}
{{#ifeq:{{{29|}}}|||
{{!}}-
{{!}}width=10{{!}}
{{!}}
* [[Image:{{{29}}} Icon.png]]
{{!}} [[{{{29}}}]]
}}
{{#ifeq:{{{30|}}}||
{{!}}-
|}}
{{#ifeq:{{{30|}}}|||
{{!}}
* [[Image:{{{30}}} Icon.png]]
{{!}} [[{{{30}}}]]
}}
{{#ifeq:{{{31|}}}||
{{!}}-
|}}
{{#ifeq:{{{31|}}}|||
{{!}}
* [[Image:{{{31}}} Icon.png]]
{{!}} [[{{{31}}}]]
}}
{{#ifeq:{{{32|}}}||
{{!}}-
|}}
{{#ifeq:{{{32|}}}|||
{{!}}
* [[Image:{{{32}}} Icon.png]]
{{!}} [[{{{32}}}]]
}}
}}
|}
|}
Line 307: Line 351:
{{Related|Wiki Templates}}
{{Related|Wiki Templates}}
== Syntax ==
== Syntax ==
<pre>
<pre style="width:auto; overflow:auto">
{{Item Table|Name|Name|Name|Name|Name|...}}
{{Item Table|Name|Name|Name|Name|Name|...}}


{{Item Table|Caption=caption|Name|Name|Name|Name|...}}
{{Item Table|Caption=caption|Name|Name|Name|Name|...}}
{{Item Table
| Caption =
|
|
|
}}
</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. Link text will not wrap below icons, only to the side. One quirk of this template is you cannot have any whitespace in the parameter list (spaces next to pipes).
 
[[Naming Conventions]] are enforced and icon images must follow the format <code>Name Icon.png</code>.


For example:
For example:


<pre>
<pre style="width:auto; overflow:auto">
{{Item Table
{{Item Table|Caption=Rewards|A Farmer's Plea for Help|Bonecrunch's Chest Key|Cave Door Key|Drudge Fort Blueprints|Farmer Kao's Shovel}}
| 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|A Farmer's Plea for Help|Bonecrunch's Chest Key}}
{{Item Table|A Farmer's Plea for Help|Bonecrunch's Chest Key}}


{{Item Table|Caption = Rewards|A Farmer's Plea for Help|Bonecrunch's Chest Key|Cave Door Key|Drudge Fort Blueprints|Farmer Kao's Shovel}}


</noinclude>
</noinclude>

Revision as of 12:55, 10 February 2009

Related topics: Wiki Templates

Syntax

{{Item Table|Name|Name|Name|Name|Name|...}}

{{Item Table|Caption=caption|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. Link text will not wrap below icons, only to the side. One quirk of this template is you cannot have any whitespace in the parameter list (spaces next to pipes).

Naming Conventions are enforced and icon images must follow the format Name Icon.png.

For example:

{{Item Table|Caption=Rewards|A Farmer's Plea for Help|Bonecrunch's Chest Key|Cave Door Key|Drudge Fort Blueprints|Farmer Kao's Shovel}}

displays as:


Rewards
A Farmer's Plea for Help
Bonecrunch's Chest Key
Cave Door Key
Drudge Fort Blueprints
Farmer Kao's Shovel