More actions
GamingTwist (talk | contribs) No edit summary |
GamingTwist (talk | contribs) No edit summary |
||
Line 118: | Line 118: | ||
</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|season=Page|date_started=Start datetime|date_completed=End date|status=String (allowed values=Complete,Abandoned,Building,On hold)| | {{#cargo_declare:_table=Project|name=String|image=File|season=Page|date_started=Start datetime|date_completed=End date|status=String (allowed values=Complete,Abandoned,Building,On hold)|designers=List (,) of Page|owners=List (,) of Page|builders=List (,) of Page|world_x=Integer|world_z=Integer|tunnel_number=Integer|tunnel_colour=Page (allowed values=red,blue,yellow,green,purple,ice,stone,moss,mesa)|plot_id=String}} | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#cargo_store:_table=Project | <includeonly>{{#cargo_store:_table=Project | ||
Line 127: | Line 127: | ||
|date_completed={{{date_completed|}}} | |date_completed={{{date_completed|}}} | ||
|status={{{status|}}} | |status={{{status|}}} | ||
|designers={{{designers|}}} | |||
|owners={{{owners|}}} | |||
|builders={{{builders|}}} | |builders={{{builders|}}} | ||
|world_position_x={{{world_x|}}} | |world_position_x={{{world_x|}}} | ||
|world_position_z={{{world_z|}}} | |world_position_z={{{world_z|}}} | ||
Line 139: | Line 140: | ||
| caption = | | caption = | ||
| above = {{#if: {{{name|}}}|{{{name|}}}|{{#titleparts:{{SUBPAGENAME}}}} }} | | above = {{#if: {{{name|}}}|{{{name|}}}|{{#titleparts:{{SUBPAGENAME}}}} }} | ||
| header1 = Project Details | | header1 = Project Details | ||
| label1 = Name | | label1 = Name | ||
| data1 = {{{name|}}} | | data1 = {{{name|}}} | ||
| label2 = Season | | label2 = Season | ||
| data2 = {{BreadCrumbs Project|season={{{season|}}}}} | | data2 = {{BreadCrumbs Project|season={{{season|}}}}} | ||
| label4 = Started | | label4 = Started | ||
| data4 = {{{date_started|}}} | | data4 = {{{date_started|}}} | ||
| label5 = Completed | | label5 = Completed | ||
| data5 = {{{date_completed|}}} | | data5 = {{{date_completed|}}} | ||
| label6 = Status | | label6 = Status | ||
| data6 = {{{status|}}} | | data6 = {{{status|}}} | ||
| label7 = Designers | | label7 = Designers | ||
| data7 = {{#arraymap:{{{designers|}}}|,|x|{{player|x}}}} | | data7 = {{#arraymap:{{{designers|}}}|,|x|{{player|x}}}} | ||
| label8 = Builders | | label8 = Builders | ||
| data8 = {{#arraymap:{{{builders|}}}|,|x|{{player|x}}}} | | data8 = {{#arraymap:{{{builders|}}}|,|x|{{player|x}}}} | ||
| label9 = World Position | | label9 = World Position | ||
| data9 = {{#if: {{{world_x|}}}{{{world_z|}}} | ({{{world_x}}}, {{{world_z}}}) }} | | data9 = {{#if: {{{world_x|}}}{{{world_z|}}} | ({{{world_x}}}, {{{world_z}}}) }} | ||
| label10 = Tunnel Number | | label10 = Tunnel Number | ||
| data10 = {{{tunnel_number|}}} | | data10 = {{{tunnel_number|}}} | ||
| label11 = Tunnel Colour | | label11 = Tunnel Colour | ||
| data11 = {{{tunnel_colour|}}} | | data11 = {{{tunnel_colour|}}} | ||
| label12 = Plot ID | | label12 = Plot ID | ||
| data12 = {{{plot_id|}}} | | data12 = {{{plot_id|}}} | ||
| data13 = {{#if: {{{world_x|}}} | {{#if: {{{world_z|}}} | {{map|world=overworld|season=s4|zoom={{{map_zoom|-2}}}|world_x={{{world_x}}}|world_z={{{world_z}}}|height=300px}} }} }} | | data13 = {{#if: {{{world_x|}}} | {{#if: {{{world_z|}}} | {{map|world=overworld|season=s4|zoom={{{map_zoom|-2}}}|world_x={{{world_x}}}|world_z={{{world_z}}}|height=300px}} }} }} | ||
}}[[Category:Project]]</includeonly> | }}[[Category:Project]]</includeonly> |
Revision as of 02:04, 18 November 2024
This is the "Project Infobox" template. It should be called in the following format:
{{Project Infobox |name= |image= |season= |date_started= |date_completed= |status= |builders= |designers= |world_x= |world_z= |tunnel_number= |tunnel_colour= |plot_id= |map_zoom= }}
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 |
Season | season | The name of the season. 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 |
Designers | designers | Who did the design? | String | optional |
Builders | builders | Names of the builders involved in the project. | String | required |
World Position X | world_x | The X coordinate of the project in the world. | Number | suggested |
World Position Z | world_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 |
tunnel_colour | tunnel_colour | no description | Unknown | optional |
Edit the page to see the template text. This template defines the table "Project". View table.