Template:Item Table: Difference between revisions
From Drunkapedia
imported>Tlosk No edit summary |
imported>Tlosk No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{|border=0 cellpadding=3 cellspacing=0 | {|border=0 cellpadding=3 cellspacing=0 | ||
{{#ifeq:{{{Caption|}}}|||{{!}}colspan= | {{#ifeq:{{{Caption|}}}|||{{!}}colspan=9{{!}}'''{{{Caption}}}'''}} | ||
|- | |- | ||
{{#ifeq:{{{1|}}}||| | {{#ifeq:{{{1|}}}||| | ||
{{!}}columwidth=10{{!}} | |||
{{!}} | {{!}} | ||
Line 45: | Line 47: | ||
{{!}}- | {{!}}- | ||
{{!}}columwidth=10{{!}} | |||
{{!}} | {{!}} | ||
Line 79: | Line 83: | ||
{{!}} [[{{{8}}}]]}} | {{!}} [[{{{8}}}]]}} | ||
{{#ifeq:{{{9|}}}||| | |||
{{!}}- | |||
{{!}}columwidth=10{{!}} | |||
{{!}} | |||
* [[Image:{{{9}}} Icon.png]] | |||
{{!}} [[{{{9}}}]] | |||
}}{{#ifeq:{{{10|}}}||| | |||
{{!}} | |||
* [[Image:{{{10}}} Icon.png]] | |||
{{!}} [[{{{10}}}]] | |||
}} | |||
{{#ifeq:{{{11|}}}||| | |||
{{!}} | |||
* [[Image:{{{11}}} Icon.png]] | |||
{{!}} [[{{{11}}}]] | |||
}} | |||
{{#ifeq:{{{12|}}}||| | |||
{{!}} | |||
* [[Image:{{{12}}} Icon.png]] | |||
{{!}} [[{{{12}}}]]}} | |||
{{#ifeq:{{{13|}}}||| | |||
{{!}}- | |||
{{!}}columwidth=10{{!}} | |||
{{!}} | |||
* [[Image:{{{13}}} Icon.png]] | |||
{{!}} [[{{{13}}}]] | |||
}}{{#ifeq:{{{14|}}}||| | |||
{{!}} | |||
* [[Image:{{{14}}} Icon.png]] | |||
{{!}} [[{{{14}}}]] | |||
}} | |||
{{#ifeq:{{{15|}}}||| | |||
{{!}} | |||
* [[Image:{{{15}}} Icon.png]] | |||
{{!}} [[{{{15}}}]] | |||
}} | |||
{{#ifeq:{{{16|}}}||| | |||
{{!}} | |||
* [[Image:{{{16}}} Icon.png]] | |||
{{!}} [[{{{16}}}]]}} | |||
{{#ifeq:{{{17|}}}||| | |||
{{!}}- | |||
{{!}}columwidth=10{{!}} | |||
{{!}} | |||
* [[Image:{{{17}}} Icon.png]] | |||
{{!}} [[{{{17}}}]] | |||
}}{{#ifeq:{{{18|}}}||| | |||
{{!}} | |||
* [[Image:{{{18}}} Icon.png]] | |||
{{!}} [[{{{18}}}]] | |||
}} | |||
{{#ifeq:{{{19|}}}||| | |||
{{!}} | |||
* [[Image:{{{19}}} Icon.png]] | |||
{{!}} [[{{{19}}}]] | |||
}} | |||
{{#ifeq:{{{20|}}}||| | |||
{{!}} | |||
* [[Image:{{{20}}} Icon.png]] | |||
{{!}} [[{{{20}}}]]}} | |||
{{#ifeq:{{{21|}}}||| | |||
{{!}}- | |||
{{!}}columwidth=10{{!}} | |||
{{!}} | |||
* [[Image:{{{21}}} Icon.png]] | |||
{{!}} [[{{{21}}}]] | |||
}} | |||
{{#ifeq:{{{22|}}}||| | |||
{{!}} | |||
* [[Image:{{{22}}} Icon.png]] | |||
{{!}} [[{{{22}}}]]}} | |||
{{#ifeq:{{{23|}}}||| | |||
{{!}} | |||
* [[Image:{{{23}}} Icon.png]] | |||
{{!}} [[{{{23}}}]] | |||
}}{{#ifeq:{{{24|}}}||| | |||
{{!}} | |||
* [[Image:{{{24}}} Icon.png]] | |||
{{!}} [[{{{24}}}]] | |||
}} | |||
{{#ifeq:{{{25|}}}||| | |||
{{!}}- | |||
{{!}}columwidth=10{{!}} | |||
{{!}} | |||
* [[Image:{{{25}}} Icon.png]] | |||
{{!}} [[{{{25}}}]] | |||
}} | |||
{{#ifeq:{{{26|}}}||| | |||
{{!}} | |||
* [[Image:{{{26}}} Icon.png]] | |||
{{!}} [[{{{26}}}]]}} | |||
{{#ifeq:{{{27|}}}||| | |||
{{!}} | |||
* [[Image:{{{27}}} Icon.png]] | |||
{{!}} [[{{{27}}}]] | |||
}}{{#ifeq:{{{28|}}}||| | |||
{{!}} | |||
* [[Image:{{{28}}} Icon.png]] | |||
{{!}} [[{{{28}}}]] | |||
}} | |||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
{{Item Table|Caption=Rewards|Farmer | {{Related|Wiki Templates}} | ||
== Syntax == | |||
<pre> | |||
{{Item Table|Name|Name|Name|Name|Name|...}} | |||
{{Item Table|Caption=caption|Name|Name|Name|Name|...}} | |||
{{Item Table | |||
| Caption = | |||
| | |||
| | |||
| | |||
}} | |||
</pre> | |||
== 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. | |||
For example: | |||
<pre> | |||
{{Item Table | |||
| Caption = Rewards | |||
| A Farmer's Plea for Help | |||
| Bonecrunch's Chest Key | |||
| Cave Door Key | |||
| Drudge Fort Blueprints | |||
| Farmer Kao's Shovel | |||
}} | |||
</pre> | |||
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 | |||
}} | |||
</noinclude> | </noinclude> |
Revision as of 04:31, 10 February 2009
Related topics: Wiki Templates
Syntax
{{Item Table|Name|Name|Name|Name|Name|...}} {{Item Table|Caption=caption|Name|Name|Name|Name|...}} {{Item Table | Caption = | | | }}
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.
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 | ||||||||
Icon.png]] |
[[ A Farmer's Plea for Help
]] |
Icon.png]] |
[[ Bonecrunch's Chest Key
]] |
Icon.png]] |
[[ Cave Door Key
]] |
Icon.png]] |
[[ Drudge Fort Blueprints
]] | |
Icon.png]] |
[[ Farmer Kao's Shovel
]]
|