More actions
GamingTwist (talk | contribs) No edit summary |
GamingTwist (talk | contribs) No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 73: | Line 73: | ||
</templatedata> | </templatedata> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
{{#cargo_declare:_table= | {{#cargo_declare:_table=Shop | ||
| name = String | | name = String | ||
| image = File | | image = File | ||
Line 83: | Line 83: | ||
| latest_activity = Date | | latest_activity = Date | ||
}}</noinclude> | }}</noinclude> | ||
<includeonly>{{#cargo_store:_table= | <includeonly>{{#cargo_store:_table=Shop | ||
| section = {{{section|}}} | | section = {{{section|}}} | ||
| owners = {{{owners|}}} | | owners = {{{owners|}}} | ||
| latest_activity = {{{latest_activity|}}} | | latest_activity = {{{latest_activity|}}} | ||
}}{{Infobox | }}{{Infobox | ||
| above = {{#if: {{{name|}}}|{{{name|}}}}} | |||
| name = {{{name|}}} | | name = {{{name|}}} | ||
| image = {{#if: {{{image|}}}|[[File:{{{image}}}|250px|alt=Alt text|Caption]]}} | | image = {{#if: {{{image|}}}|[[File:{{{image}}}|250px|alt=Alt text|Caption]]}} | ||
| caption = | | caption = [[SurvivalS3_Shops|View all shops]] | ||
| header1 = Shop Details | | header1 = Shop Details | ||
Line 100: | Line 101: | ||
| label3 = Owners | | label3 = Owners | ||
| data3 = {{{owners|}}} | | data3 = {{#arraymap:{{{owners|}}}|,|x|{{player|x}}}} | ||
| label4 = | | label4 = Location | ||
| data4 = {{{world_x}}} | | data4 = {{#if: {{{world_x|}}}{{{world_z|}}}|( {{{world_x}}},{{{world_z}}} )}} | ||
| data6 = {{map|world=overworld|season={{{season|}}}|zoom=-2|world_x={{{world_x}}}|world_z={{{world_z}}}|height=300px}} | | data6 = {{map|world=overworld|season={{{season|}}}|zoom=-2|world_x={{{world_x}}}|world_z={{{world_z}}}|height=300px}} |
Latest revision as of 22:38, 16 December 2024
This is the "Infobox Shop" template. It should be called in the following format:
{{Infobox Shop |name= |image= |season= |section= |world_x= |world_z= |owners= |latest_activity= }}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | Name of the shop | String | required |
Server | server | no description | Page name | optional |
Season | season | no description | Page name | optional |
image | image | Image of the shop | File | suggested |
section | section | Section of the shopping district | String | optional |
world_x | world_x | X coordinate of shop | Number | required |
world_z | world_z | Z coordinates of shop | Number | required |
owners | owners | Owner(s) of the shop | String | required |
latest_activity | latest_activity | Last time the shop was stocked/checked for stock | Date | optional |
Edit the page to see the template text. This template defines the table "Shop". View table.