More actions
GamingTwist (talk | contribs) No edit summary Tag: Reverted |
GamingTwist (talk | contribs) 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 | |||
| label1 = Name | |||
| | | data1 = {{{name|}}} | ||
| | |||
| | | label2 = Server | ||
| | | data2 = {{{server|}}} | ||
| | | label3 = Season | ||
| | | data3 = {{{season|}}} | ||
| | | label4 = Owners | ||
| | | data4 = {{{owners|}}} | ||
| | | label5 = X Coordinate | ||
| | | data5 = {{{world_x}}} | ||
| | | label6 = Z Coordinate | ||
| data6 = {{{world_z}}} | |||
| | | label7 = Map | ||
| | | 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | Name of the shop | String | required |
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 "Shops". This table has not been created yet.