More actions
GamingTwist (talk | contribs) No edit summary |
GamingTwist (talk | contribs) No edit summary |
||
Line 15: | Line 15: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
{{#cargo_declare:_table=Shop_Items|shop=Page|world_x=Integer|world_y=Integer|world_z=Integer|status=Boolean|notes=Wikitext string|item=String}} | {{#cargo_declare:_table=Shop_Items|shop=Page|world_x=Integer|world_y=Integer|world_z=Integer|status=Boolean|notes=Wikitext string|item=String}} | ||
</noinclude><includeonly>{{#cargo_store:_table=Shop_Items|shop={{{shop|}}}}} | </noinclude><includeonly> | ||
<div class="container"> | |||
<div class="view-stock"> | |||
<h3>View Stock</h3> | |||
<table class="wikitable mw-collapsible"> | |||
<thead> | |||
<tr> | |||
<th>Item</th> | |||
<th>X Y Z</th> | |||
<th>Status</th> | |||
<th>Notes</th> | |||
</tr> | |||
</thead> | |||
<tbody> | |||
{{#cargo_store:_table=Shop_Items|shop={{{shop|}}}}} | |||
<tr> | |||
<td>{{{item|}}}</td> | |||
<td>{{{world_x|}}},{{{world_y|}}},{{{world_z|}}}</td> | |||
<td>{{{status|}}}</td> | |||
<td>{{{notes|}}}</td> | |||
</tr> | |||
</tbody> | |||
</table> | |||
</div> | |||
</div> | |||
</includeonly> | </includeonly> |
Revision as of 16:54, 16 December 2024
This is the "Shop Item" template. It should be called in the following format:
{{Shop Item |shop= |world_x= |world_y= |world_z= |status= |notes= |item= }}
Edit the page to see the template text. This template defines the table "Shop_Items". This table has not been created yet.