Template:Inventory Item: Difference between revisions
From Drunkapedia
imported>Tlosk No edit summary |
imported>Tlosk (added icon image link to article) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
|align=center width=32px| [[ | |align=center width=32px| [[File:{{{1|}}} Icon.png|link={{{1|}}}]] | ||
|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|??}}} |{{formatnum: {{#expr: {{multiply|{{{2|}}}|{{{3|}}}}} round 0}} }} }} | |align=right| {{#ifeq:{{{3|}}}||{{{2|??}}} |{{formatnum: {{#expr: {{multiply|{{{2|}}}|{{{3|}}}}} round 0}} }} }} |
Revision as of 05:58, 22 October 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.