Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Shop Item: Difference between revisions

Template page
No edit summary
 
No edit summary
Line 16: Line 16:
{{#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}}
</noinclude><includeonly>{{#cargo_store:_table=Shop_Items}}
==Shop==
{| class="wikitable"
{{#if:{{{shop|}}}|[[{{{shop|}}}]]}}
|-
 
| Shop || {{#if:{{{shop|}}}|[[{{{shop|}}}]]}}
==X==
|-
{{{world_x|}}}
| X || {{{world_x|}}}
 
|-
==y==
| Y || {{{world_y|}}}
{{{world_y|}}}
|-
 
| Z || {{{world_z|}}}
==z==
|-
{{{world_z|}}}
| Status || {{{status|}}}
 
|-
==status==
| Notes || {{{notes|}}}
{{{status|}}}
|-
 
| Item || {{{item|}}}
==notes==
|}
{{{notes|}}}
 
==Item==
{{{item|}}}
</includeonly>
</includeonly>

Revision as of 07:31, 11 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.