Template:Item Table: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
No edit summary
Line 4: Line 4:
|-
|-
{{#ifeq:{{{1|}}}
{{#ifeq:{{{1|}}}
|||
||
{{!}}width=10{{!}}  
{{!}}width=10{{!}}  
{{!}}
{{!}}
Line 10: Line 10:
{{!}} [[{{{1}}}]]
{{!}} [[{{{1}}}]]
}}{{#ifeq:{{{2|}}}
}}{{#ifeq:{{{2|}}}
|||
||
{{!}}
{{!}}
* [[Image:{{{2}}} Icon.png]]
* [[Image:{{{2}}} Icon.png]]
{{!}} [[{{{2}}}]]
{{!}} [[{{{2}}}]]
}}{{#ifeq:{{{3|}}}
}}{{#ifeq:{{{3|}}}
|||
||
{{!}}
{{!}}
* [[Image:{{{3}}} Icon.png]]
* [[Image:{{{3}}} Icon.png]]
{{!}} [[{{{3}}}]]
{{!}} [[{{{3}}}]]
}}{{#ifeq:{{{4|}}}
}}{{#ifeq:{{{4|}}}
|||
||
{{!}}
{{!}}
* [[Image:{{{4}}} Icon.png]]
* [[Image:{{{4}}} Icon.png]]
{{!}} [[{{{4}}}]]
{{!}} [[{{{4}}}]]
}}{{#ifeq:{{{5|}}}
}}{{#ifeq:{{{5|}}}
|||
||
{{!}}-
{{!}}-
{{!}}width=10{{!}}  
{{!}}width=10{{!}}  
Line 32: Line 32:
{{!}} [[{{{5}}}]]
{{!}} [[{{{5}}}]]
}}{{#ifeq:{{{6|}}}
}}{{#ifeq:{{{6|}}}
|||
||
{{!}}
{{!}}
* [[Image:{{{6}}} Icon.png]]
* [[Image:{{{6}}} Icon.png]]
{{!}} [[{{{6}}}]]
{{!}} [[{{{6}}}]]
}}{{#ifeq:{{{7|}}}
}}{{#ifeq:{{{7|}}}
|||
||
{{!}}
{{!}}
* [[Image:{{{7}}} Icon.png]]
* [[Image:{{{7}}} Icon.png]]
{{!}} [[{{{7}}}]]
{{!}} [[{{{7}}}]]
}}{{#ifeq:{{{8|}}}
}}{{#ifeq:{{{8|}}}
|||
||
{{!}}
{{!}}
* [[Image:{{{8}}} Icon.png]]
* [[Image:{{{8}}} Icon.png]]

Revision as of 06:25, 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



Rewards
  • [[Image:{{{3}}} Icon.png]]
[[{{{3}}}]]|
  • [[Image:{{{4}}} Icon.png]]
[[{{{4}}}]]|-
  • [[Image:{{{5}}} Icon.png]]
[[{{{5}}}]]|
  • [[Image:{{{6}}} Icon.png]]
[[{{{6}}}]]|
  • [[Image:{{{7}}} Icon.png]]
[[{{{7}}}]]|
  • [[Image:{{{8}}} Icon.png]]
[[{{{8}}}]]