Template:Inventory Item: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
|align=center width=32px| [[Image:{{{1|Icon]]}}} Icon.png]]
|align=center width=32px| [[Image:{{{1|Icon]]}}} Icon.png]]
|align=left| {{#ifeq:{{{Alias|}}}||[[{{{1|??}}}]]|[[{{{1|}}}|{{{Alias|??}}}]]}}
|align=left| {{#ifeq:{{{Alias|}}}||[[{{{1|??}}}]]|[[{{{1|}}}|{{{Alias|??}}}]]}} [[{{{1|??}}}/Sold By|<nowiki></nowiki>]]
|align=right| {{{2|??}}}&nbsp;
|align=right| {{{2|??}}}&nbsp;
|-</includeonly><noinclude>
|-</includeonly><noinclude>
Line 15: Line 15:
Used as a single row within a table, see [[Template:Inventory Table]] for more details. Alias is optional and will display an alternate name as the link instead of the actual page name.
Used as a single row within a table, see [[Template:Inventory Table]] for more details. Alias is optional and will display an alternate name as the link instead of the actual page name.


[[Category:Wiki Template]]
</noinclude>
</noinclude>

Revision as of 19:47, 11 May 2009

Related topics: Wiki Templates, {{Inventory Table}}

Syntax

{{Inventory Item |  |  }}

{{Inventory Item | <Name> | <Price> | Alias = <Name> }}

Usage

Used as a single row within a table, see Template:Inventory Table for more details. Alias is optional and will display an alternate name as the link instead of the actual page name.