Difference between revisions of "Shop table row"
Stratonian (talk | contribs) m (Removed redirect to Shop table body) Tag: Removed redirect |
Stratonian (talk | contribs) m |
||
Line 2: | Line 2: | ||
|{{item|{{{1}}}|{{{quality}}}}}||{{{2}}} {{icon|Gold Icon.png}} | |{{item|{{{1}}}|{{{quality}}}}}||{{{2}}} {{icon|Gold Icon.png}} | ||
|- | |- | ||
− | </includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> | + | {{#if:{{NAMESPACE}}|<!-- if there is a namespace don't set any properties |
+ | -->{{#set:Has vendor={{PAGENAME}}}}<!-- | ||
+ | -->{{#set:Sells item={{{1}}}}}<!-- | ||
+ | -->{{#set:Has item cost={{{2}}}}}<!-- | ||
+ | -->{{#set:Has item quality={{{quality}}}}}}}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> |
Revision as of 20:58, 16 February 2024
Description
Used to create a row in a shop table, containing an item and its price. Used in conjunction with Shop table header.
Usage
{{shop table header}} {{shop table row|Campfire|25}} {{table footer}}
Parameters
- 1: The name of the item.
- Required.
- 2: The value of the item.
- Required.
- 3: The quality of the item.
- Optional.