Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox Project: Difference between revisions

Template page
No edit summary
No edit summary
Line 6: Line 6:
|name=
|name=
|image=
|image=
|server=
|season=
|date_started=
|date_started=
|date_completed=
|date_completed=
Line 36: Line 36:
"suggested": true
"suggested": true
},
},
"server": {
"season": {
"label": "Server",
"label": "Season",
"description": "The name of the server. Defaults to part of the page name if not provided.",
"description": "The name of the server. Defaults to part of the page name if not provided.",
"type": "string"
"type": "string"
Line 102: Line 102:
"name",
"name",
"image",
"image",
"server",
"season",
"date_started",
"date_started",
"date_completed",
"date_completed",
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|server=Page|date_started=Start datetime|date_completed=End date|status=String (allowed values=Complete,Abandoned,Building,On hold)|builders=List (,) of Page|designers=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}}
{{#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)|builders=List (,) of Page|designers=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
|name={{{name|}}}
|name={{{name|}}}
|image={{{image|}}}
|image={{{image|}}}
|server={{{server|}}}
|season={{{season|}}}
|date_started={{{date_started|}}}
|date_started={{{date_started|}}}
|date_completed={{{date_completed|}}}
|date_completed={{{date_completed|}}}
Line 145: Line 145:
| data1          = {{{name|}}}
| data1          = {{{name|}}}


| label2          = Server
| label2          = Season
| data2          = {{BreadCrumbs Project|server={{{server|}}}}}
| data2          = {{BreadCrumbs Project|season={{{season|}}}}}


| label4          = Started
| label4          = Started
Line 176: Line 176:


| 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]]{{{temp_gamemode|}}}</includeonly>
}}[[Category:Project]]</includeonly>

Revision as of 01:31, 17 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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namename

The name of the project.

Stringrequired
Imageimage

The image file name associated with the project.

Stringsuggested
Seasonseason

The name of the server. Defaults to part of the page name if not provided.

Stringoptional
Date Starteddate_started

The date the project was started.

Stringsuggested
Date Completeddate_completed

The date the project was completed.

Stringoptional
Statusstatus

The current status of the project (e.g., completed, ongoing).

Stringsuggested
Designersdesigners

Who did the design?

Stringoptional
Buildersbuilders

Names of the builders involved in the project.

Stringrequired
World Position Xworld_x

The X coordinate of the project in the world.

Numbersuggested
World Position Zworld_z

The Z coordinate of the project in the world.

Numbersuggested
Tunnel Numbertunnel_number

The number of the tunnel associated with the project.

Numberoptional
Tunneltunnel

no description

Suggested values
Red, Green, Blue, Yellow, Purple
Stringoptional
Plot Idplot_id

no description

Stringoptional
tunnel_colourtunnel_colour

no description

Unknownoptional

Edit the page to see the template text. This template defines the table "Project". View table.