Difference between revisions of "Shop table row"

m
m
 
Line 1: Line 1:
 
<includeonly>{{#vardefine:item count|{{#expr:{{#var:item count|0}}+1}}}}
 
<includeonly>{{#vardefine:item count|{{#expr:{{#var:item count|0}}+1}}}}
|{{item|{{{1}}}|{{{quality}}}}}||{{{2}}} {{icon|Gold Icon.png}}
+
|{{item|{{{1}}}|{{{3}}}}}||{{{2}}} {{icon|Gold Icon.png}}
 
|-
 
|-
 
{{#if:{{NAMESPACE}}|<!-- if there is a namespace don't set any properties
 
{{#if:{{NAMESPACE}}|<!-- if there is a namespace don't set any properties
Line 7: Line 7:
 
-->|Sells item={{{1}}}<!-- set 'Sells item' property
 
-->|Sells item={{{1}}}<!-- set 'Sells item' property
 
-->|Has item cost={{{2}}}<!-- set 'Has item cost' property
 
-->|Has item cost={{{2}}}<!-- set 'Has item cost' property
-->|Has item quality={{{quality}}}}}}}<!-- set 'Has item quality' property
+
-->|Has item quality={{{3}}}}}}}<!-- set 'Has item quality' property
 
--></includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>
 
--></includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>

Latest revision as of 15:09, 17 February 2024

Description[edit]

Used to create a row in a shop table, containing an item and its price. Used in conjunction with Shop table header.

Usage[edit]

{{shop table header}}
{{shop table row|Campfire|25}}
{{table footer}}

Parameters[edit]

Arrow.png1: The name of the item.
Required.
Arrow.png2: The value of the item.
Required.
Arrow.png3: The quality of the item.
Optional.

See Also[edit]

Arrow.pngVendor table body