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

Template:Infobox Shop: Difference between revisions

Template page
invoke cargo
add template data
Line 25: Line 25:
}}
}}
</includeonly>
</includeonly>
<noinclude>
<templatedata>
{
"params": {
"name": {
"description": "Name of the shop",
"type": "string",
"required": true
},
"image": {
"description": "Image of the shop",
"type": "wiki-file-name",
"suggested": true
},
"section": {
"description": "Section of the shopping district",
"type": "string"
},
"world_x": {
"description": "X coordinate of shop",
"type": "number",
"required": true
},
"world_z": {
"description": "Z coordinates of shop",
"type": "number",
"required": true
},
"owners": {
"description": "Owner(s) of the shop",
"type": "string",
"required": true
},
"latest_activity": {
"description": "Last time the shop was stocked/checked for stock"
}
}
}
</templatedata>
</noinclude>

Revision as of 23:03, 13 October 2024

This is the "Infobox Shop" template. It should be called in the following format:

{{Infobox Shop
|name=
|image=
|section=
|world_x=
|world_z=
|owners=
|latest_activity=
}}

Edit the page to see the template text. This template defines the table "Shops". This table has not been created yet.


No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
namename

Name of the shop

Stringrequired
imageimage

Image of the shop

Filesuggested
sectionsection

Section of the shopping district

Stringoptional
world_xworld_x

X coordinate of shop

Numberrequired
world_zworld_z

Z coordinates of shop

Numberrequired
ownersowners

Owner(s) of the shop

Stringrequired
latest_activitylatest_activity

Last time the shop was stocked/checked for stock

Unknownoptional