More actions
ArkhamCookie (talk | contribs) add template data |
ArkhamCookie (talk | contribs) fluff up infobox |
||
Line 15: | Line 15: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
{{#cargo_declare:_table=Shops|name=String|image=File|section=String|world_x=Integer|world_z=Integer|owners=List (,) of String|latest_activity=Date}} | {{#cargo_declare:_table=Shops|name=String|image=File|section=String|world_x=Integer|world_z=Integer|owners=List (,) of String|latest_activity=Date}} | ||
</noinclude><includeonly>{{#cargo_store:_table=Shops | </noinclude> | ||
<includeonly>{{#cargo_store:_table=Shops | |||
|name={{{name|}}} | |name={{{name|}}} | ||
|image={{#if:{{{image|}}}|[[6:{{{image|}}}]]}} | |image={{#if:{{{image|}}}|[[6:{{{image|}}}]]}} | ||
Line 24: | Line 25: | ||
latest_activity={{{latest_activity|}}} | 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 = Owners | |||
| data2 = {{{owners|}}} | |||
| label3 = X Coordinate | |||
| data3 = {{{world_x}}} | |||
| label4 = Z Coordinate | |||
| data4 = {{{world_z}}} | |||
| label5 = Last Activity | |||
| data5 = {{{latest_activity}}} | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> |
Revision as of 23:10, 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.
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 | Unknown | optional |