Template:Theme Park Infobox: Difference between revisions

infobox class
m Move TemplateData to Documentation subpage
 
Line 26: Line 26:
|}<noinclude>
|}<noinclude>
{{documentation}}
{{documentation}}
==TemplateData==
<templatedata>
{
"params": {
"name": {
"label": "Name",
"description": "Name of the theme park",
"type": "line",
"required": true
},
"subtitle": {
"label": "Subtitle",
"description": "Optional. Secondary title (e.g. name in Japanese)",
"type": "line"
},
"logo": {
"label": "Logo",
"description": "Logo of the theme park. Don't include \"File:\".",
"type": "wiki-file-name",
"required": true
},
"logo_size": {
"label": "Logo size",
"description": "Size of the logo. Must include \"px\". Defaults to \"250px\".",
"type": "line",
"suggested": true
},
"caption": {
"label": "Caption",
"description": "Optional. A brief caption for the logo.",
"type": "line"
},
"location": {
"label": "Location",
"description": "The location of the theme park.",
"type": "line",
"required": true
},
"status": {
"label": "Status",
"description": "The status of the theme park.",
"type": "line",
"suggestedvalues": [
"Defunct",
"Operating"
],
"suggested": true
},
"opened": {
"label": "Opened",
"description": "The date the theme park opened.",
"type": "date",
"suggested": true
},
"closed": {
"label": "Closed",
"description": "The date the theme park closed.",
"type": "date"
},
"owner": {
"label": "Operated by",
"description": "The operator / owner of the theme park.",
"type": "line",
"required": true
},
"website": {
"label": "Website",
"description": "The official website of the theme park.",
"type": "line",
"suggested": true
}
},
"description": "This infobox template is used on theme park pages to outline basic information about the park."
}
</templatedata>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 14:12, 27 March 2025

{{{name}}}
[[File:{{{logo}}}|250px]]
Location {{{location}}}
Operated by {{{owner}}}

Template documentation
Note: portions of the template sample may not be visible without values provided.

{{Theme Park Infobox}} is to be used as the infobox for real-world theme parks.

Usage

Infoboxes should be used at the beginning of the page, before any introductory text.

Parameters

All parameters are case sensitive.

Parameter Allowed values Notes
name String Name of the theme park
subtitle String Optional. Secondary title (e.g. name in Japanese)
logo Filename Logo of the theme park. Don't include "File:".
logo_size Filesize Size of the logo. Must include "px". Defaults to "250px".
caption String Optional. A brief caption for the logo.
location String The location of the theme park.
status DefunctOperating Optional. The status of the theme park.
opened Date Optional. The date the theme park opened.
closed Date Optional. The date the theme park closed.
owner String The operator / owner of the theme park.
website String Optional. The official website of the theme park.

TemplateData

This infobox template is used on theme park pages to outline basic information about the park.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Name of the theme park

Linerequired
Subtitlesubtitle

Secondary title (e.g. name in Japanese)

Lineoptional
Logologo

Logo of the theme park. Don't include "File:".

Filerequired
Logo sizelogo_size

Size of the logo. Must include "px".

Default
250px
Lineoptional
Captioncaption

A brief caption for the logo.

Linesuggested
Locationlocation

The location of the theme park.

Linerequired
Statusstatus

The status of the theme park.

Suggested values
Defunct Operating
Linesuggested
Openedopened

The date the theme park opened.

Datesuggested
Closedclosed

The date the theme park closed.

Datesuggested
Operated byowner

The operator / owner of the theme park.

Linerequired
Websitewebsite

The official website of the theme park.

Linesuggested

Examples

PokéPark

PokéPark logo
Location Nagoya, Japan & Taipei, Taiwan
Status Defunct
Opened March 18, 2005 (Japan)
June 23, 2006 (Taiwan)
Closed September 25, 2005 (Japan)
September 24, 2006 (Taiwan)
Operated by POKéPARK LLP (The Pokémon Company)
Website
Japan: pokepark.jp (archived)
Taiwan: pokepark.tw (archived)
{{Theme Park Infobox
 | name = PokéPark
 | logo = PokePark theme park logo.png
 | caption = PokéPark logo
 | location = {{wp|Nagoya}}, Japan & {{wp|Taipei}}, {{pmin|Taiwan}}
 | status = Defunct
 | opened = March 18, 2005 (Japan) <br />June 23, 2006 (Taiwan)
 | closed = September 25, 2005 (Japan) <br />September 24, 2006 (Taiwan)
 | owner = POKéPARK LLP ([[The Pokémon Company]])
 | website = Japan: [https://web.archive.org/web/20050601005240/http://www.pokepark.jp/ pokepark.jp] (archived) <br />Taiwan: [https://web.archive.org/web/20060616133133/http://www.pokepark.tw/ pokepark.tw] (archived)
}}