Template:Inventory Item: Difference between revisions

From My Wiki
Jump to navigation Jump to 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|??}}}]]}} [[{{strip|{{{1|}}}}}/Sold By|<nowiki></nowiki>]]
|align=left| {{#ifeq:{{{Alias|}}}||[[{{{1|??}}}]]|[[{{{1|}}}|{{{Alias|??}}}]]}} [[{{strip|{{{1|}}}}}/Sold_By|<nowiki></nowiki>]]
|align=right| {{#ifeq:{{{3|}}}||{{{2|??}}}&nbsp;|{{formatnum: {{#expr: {{multiply|{{{2|}}}|{{{3|}}}}} round 0}}&nbsp;}} }}
|align=right| {{#ifeq:{{{3|}}}||{{{2|??}}}&nbsp;|{{formatnum: {{#expr: {{multiply|{{{2|}}}|{{{3|}}}}} round 0}}&nbsp;}} }}
|-</includeonly><noinclude>
|-</includeonly><noinclude>

Revision as of 18:43, 4 January 2010

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

Syntax

{{Inventory Item |  |  }}

{{Inventory Item | <Name> | <Price> | <Optional Modifier> | 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.