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 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}}
</noinclude><includeonly>{{#cargo_store:_table=Shop_Items|shop={{{shop|}}}}}
|-
|-
| {{#if:{{{shop|}}}|[[{{{shop|}}}]]}} || {{{world_x|}}} || {{{world_y|}}} || {{{world_z|}}} || {{{status|}}} || {{{notes|}}} || {{{item|}}}
| {{{item|}}} || {{{world_x|}}},{{{world_y|}}},{{{world_z|}}} || {{{status|}}} || {{{notes|}}} ||  
|
|
</includeonly>
</includeonly>

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