Template:Inventory Item: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
m (1 revision: For full history see http://ac.wikkii.net)
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
|align=center| [[Image:{{{1|Icon]]}}} Icon.png]]
|align=center width=32px| [[File:{{{1|}}} Icon.png|link={{{1|}}}]]
|align=left| {{#ifeq:{{{Alias|}}}||[[{{{1|??}}}]]|[[{{{1|}}}|{{{Alias|??}}}]]}}
|align=left| {{#ifeq:{{{Alias|}}}||[[{{{1|??}}}]]|[[{{{1|}}}|{{{Alias|??}}}]]}} [[{{strip|{{{1|}}}}}/Sold By|<nowiki></nowiki>]]
|align=center| {{{2|??}}}
|align=right| {{#ifeq:{{{3|}}}||{{{2|??}}}&nbsp;|{{formatnum: {{#expr: {{multiply|{{{2|}}}|{{{3|}}}}} round 0}}&nbsp;}} }}
|-</includeonly><noinclude>
|-</includeonly><noinclude>
{{Related|Wiki Templates|Template:Title Rewards Table}}
{{Related|Wiki Templates|Template:Inventory Table{{!}}<nowiki>{{Inventory Table}}</nowiki>}}
== Syntax ==
== Syntax ==
<pre>
<pre>
{{Inventory Item |  |  }}
{{Inventory Item |  |  }}


{{Inventory Item | <Name> | <Price> | Alias = <Name> }}
{{Inventory Item | <Name> | <Price> | <Optional Modifier> | Alias = <Name> }}
</pre>
</pre>


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>

Latest revision as of 05:54, 28 November 2012

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.