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
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 56: Line 56:
</noinclude>
</noinclude>
<includeonly>{{#cargo_store:_table=Shops
<includeonly>{{#cargo_store:_table=Shops
|name={{{name|}}}
| name           = {{{name|}}}
|image={{#if:{{{image|}}}|[[6:{{{image|}}}]]}}
| image           = {{#if: {{{image|}}} | [[6:{{{image}}}]] }}
|section={{{section|}}}
| server          = {{{server|}}}
|world_x={{{world_x|}}}
| season          = {{{season|}}}
|world_z={{{world_z|}}}
| section         = {{{section|}}}
|owners={{{owners|}}}
| world_x         = {{{world_x|}}}
latest_activity={{{latest_activity|}}}
| world_z         = {{{world_z|}}}
}}
| owners         = {{{owners|}}}
| latest_activity = {{{latest_activity|}}}
}}{{Infobox
| name        = {{{name|}}}
| image      = {{#if: {{{image|}}}|[[File:{{{image}}}|250px|alt=Alt text|Caption]]}}
| caption    =
| header1    = Shop Details


{{Infobox
| label1      = Name
| name = {{{name|}}}
| data1      = {{{name|}}}
| image = {{#if: {{{image|}}}|[[File:{{{image|}}}|250px|alt=Alt text|Caption]]}}
| caption =
| header1 = Shop Details


| label1 = Name
| label2      = Server
| data1 = {{{name|}}}
| data2      = {{{server|}}}


| label2 = Owners
| label3      = Season
| data2 = {{{owners|}}}
| data3      = {{{season|}}}


| label3 = X Coordinate
| label4      = Owners
| data3 = {{{world_x}}}
| data4      = {{{owners|}}}


| label4 = Z Coordinate
| label5      = X Coordinate
| data4 = {{{world_z}}}
| data5      = {{{world_x}}}


| data5 = {{map|world=overworld|season=s4|zoom=-2|world_x={{{world_x}}}|world_z={{{world_z}}}|zoom=-2|height=300px}}
| label6      = Z Coordinate
| data6      = {{{world_z}}}


| label6 = Last Activity
| label7      = Map
| data6 = {{#if: {{{latest_activity|}}}|{{{latest_activity}}}}}
| data7      = {{map|world=overworld|season=s4|zoom=-2|world_x={{{world_x}}}|world_z={{{world_z}}}|height=300px}}
}}


 
| label8      = Last Activity
 
| data8      = {{#if: {{{latest_activity|}}}|{{{latest_activity}}}}}
</includeonly>
}}</includeonly>

Revision as of 23:43, 2 November 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=
}}

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

Dateoptional

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