More actions
GamingTwist (talk | contribs) No edit summary |
GamingTwist (talk | contribs) No edit summary |
||
Line 116: | Line 116: | ||
</templatedata> | </templatedata> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
{{#cargo_declare:_table=Project|name=String|image=File|server=Page|date_started=Start datetime|date_completed=End date|status=String (allowed values=Complete,Abandoned,Building,On hold)|builders=List (,) of Page|world_position_x=Integer|world_position_z=Integer|tunnel_number=Integer|tunnel_colour=Page (allowed values=red,blue,yellow,green,purple)|plot_id=String}} | {{#cargo_declare:_table=Project|name=String|image=File|server=Page|season=Page|date_started=Start datetime|date_completed=End date|status=String (allowed values=Complete,Abandoned,Building,On hold)|builders=List (,) of Page|world_position_x=Integer|world_position_z=Integer|tunnel_number=Integer|tunnel_colour=Page (allowed values=red,blue,yellow,green,purple)|plot_id=String}} | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#cargo_store:_table=Project | <includeonly>{{#cargo_store:_table=Project | ||
|name={{{name|}}} | |name={{{name|}}} | ||
|image={{{image|}}} | |image={{{image|}}} | ||
|server={{{ | |server={{#if: {{{season|}}} | {{{season|}}} | {{#titleparts:{{FULLPAGENAME}}|1|-2}}}} | ||
|season={{#if: {{{season|}}} | {{{season|}}} | {{#titleparts:{{FULLPAGENAME}}|1|-2}}}} | |season={{#if: {{{season|}}} | {{{season|}}} | {{#titleparts:{{FULLPAGENAME}}|1|-2}}}} | ||
|date_started={{{date_started|}}} | |date_started={{{date_started|}}} |
Revision as of 20:11, 10 September 2024
This is the "Project Infobox" template. It should be called in the following format:
{{Project Infobox |name= |image= |server= |season= |date_started= |date_completed= |status= |builders= |world_position_x= |world_position_z= |tunnel_number= |tunnel_colour= |plot_id= }}
Infobox for projects. This is normally builds on the server
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the project. | String | required |
Image | image | The image file name associated with the project. | String | suggested |
Server | server | The name of the server. Defaults to part of the page name if not provided. | String | optional |
Season | season | The season of the project. Defaults to part of the page name if not provided. | String | optional |
Date Started | date_started | The date the project was started. | String | suggested |
Date Completed | date_completed | The date the project was completed. | String | optional |
Status | status | The current status of the project (e.g., completed, ongoing). | String | suggested |
Builders | builders | Names of the builders involved in the project. | String | required |
World Position X | world_position_x | The X coordinate of the project in the world. | Number | suggested |
World Position Z | world_position_z | The Z coordinate of the project in the world. | Number | suggested |
Tunnel Number | tunnel_number | The number of the tunnel associated with the project. | Number | optional |
Tunnel | tunnel | no description
| String | optional |
Plot Id | plot_id | no description | String | optional |
Edit the page to see the template text. This template defines the table "Project". View table.