Difference between revisions of "Template:Infobox roller coaster/extend"

From blackwiki
Jump to navigation Jump to search
imported>Astros4477
imported>GoneIn60
(→‎top: adding Name parameter to template...needs to be an option for coasters that were known under different titles in their prev location)
Line 3: Line 3:
 
|datastyle = {{#if:{{{dual|}}}|" colspan=3 "}}
 
|datastyle = {{#if:{{{dual|}}}|" colspan=3 "}}
 
|header1  = {{#if:{{{locationarticle|}}}|[[{{{locationarticle}}}{{!}}{{{location|}}}]]|{{#if:{{{location|}}}|[[{{{location|}}}]]}}}}
 
|header1  = {{#if:{{{locationarticle|}}}|[[{{{locationarticle}}}{{!}}{{{location|}}}]]|{{#if:{{{location|}}}|[[{{{location|}}}]]}}}}
|label2  = Park section
+
|label2   = Name
|data2   = {{#if:{{{section|}}}|{{#if:{{{locationarticle|}}}|[[{{{locationarticle}}}#{{{section}}}|{{{section}}}]]|<span class="label">[[{{{location}}}#{{{section}}}|{{{section}}}]]</span>}}{{#if:{{{subsection|}}}|&nbsp;- {{{subsection|}}}}}}}
+
|data2    = {{{name|}}}
|label3   = [[Geographical coordinates|Coordinates]]
+
|label3   = Park section
|data3   = {{{coordinates|}}}
+
|data3   = {{#if:{{{section|}}}|{{#if:{{{locationarticle|}}}|[[{{{locationarticle}}}#{{{section}}}|{{{section}}}]]|<span class="label">[[{{{location}}}#{{{section}}}|{{{section}}}]]</span>}}{{#if:{{{subsection|}}}|&nbsp;- {{{subsection|}}}}}}}
|label4   = Status
+
|label4   = [[Geographical coordinates|Coordinates]]
|data4   = {{#switch: {{lc:{{{status|{{{Status|}}}}}}}}
+
|data4   = {{{coordinates|}}}
 +
|label5   = Status
 +
|data5   = {{#switch: {{lc:{{{status|{{{Status|}}}}}}}}
 
  | open | operating = <span style="color:darkgreen">Operating</span>
 
  | open | operating = <span style="color:darkgreen">Operating</span>
 
  | closed | removed | demolished | defunct = <span style="color:#CC0000">Closed</span>
 
  | closed | removed | demolished | defunct = <span style="color:#CC0000">Closed</span>
Line 17: Line 19:
 
  | #default = {{{status|}}}
 
  | #default = {{{status|}}}
 
}}
 
}}
|label5   = Soft opening date
+
|label6   = Soft opening date
|data5   = {{{soft_opened|}}}
+
|data6   = {{{soft_opened|}}}
|label6   = Opening date
+
|label7   = Opening date
|data6   = {{{opened|}}}
+
|data7   = {{{opened|}}}
|label7   = Closing date
+
|label8   = Closing date
|data7   = {{{closed|}}}
+
|data8   = {{{closed|}}}
|label8   = Cost
+
|label9   = Cost
|data8   = {{{cost|}}}
+
|data9   = {{{cost|}}}
|label9   = Replaced
+
|label10   = Replaced
|data9   = {{{previousattraction|}}}
+
|data10   = {{{previousattraction|}}}
|label10   = Replaced by
+
|label11   = Replaced by
|data10   = {{{replacement|}}}
+
|data11   = {{{replacement|}}}
 
}}{{ns0|{{#if:{{{coordinates|}}}||
 
}}{{ns0|{{#if:{{{coordinates|}}}||
 
[[Category:Wikipedia infobox roller coaster articles without coordinates]]
 
[[Category:Wikipedia infobox roller coaster articles without coordinates]]

Revision as of 14:03, 13 July 2015

Template:Ns0

Template documentation[view] [edit] [history] [purge]
Template:PAGENAMEBASE
Template:Parameter names example
General statistics
Template:Ns0


Usage

This template is to be used with the "extend" parameter in the main roller coaster infobox to add an additional location to it.

{{Infobox roller coaster/extend
|name                 =
|location             = <!--Must not be linked.-->
|locationarticle      = <!--Must not be linked.--> 
|coordinates          = <!--Use {{Coord|display=inline}}-->     
|section              = <!--Must not be linked.-->
|subsection           = <!--Should be linked.-->
|status               = <!--Operating, Closed, Under construction, Removed-->
|soft_opened          = 
|opened               = <!--Use {{Start date}} -->
|year                 = <!--Used to override categorization based on {{start date}}-->
|closed               = <!--Use {{End date}} -->
|cost                 =
|previousattraction   =
|replacement          =
|website              = <!--Official location-specific website. Use {{URL|example.com}} -->
|custom_label         =
|custom_value         =
|virtual_queue_name   = <!--Use only if virtual queues are different at different locations-->
|virtual_queue_image  = <!--Use ONLY the filename, not a full [[File:]] link-->
|virtual_queue_status = <!--should be "available" if above fields are used-->
|single_rider         = <!--Use only if status is different at different locations. Must be "available" if available.-->
|pay_per_use          = <!--Use only if status is different at different locations. Must be "available" if available.-->
|accessible           = <!--Use only if status is different at different locations. Must be "available" if available.-->
|transfer_accessible  = <!--Use only if status is different at different locations. Must be "available" if available.-->
|assistive_listening  = <!--Use only if status is different at different locations. Must be "available" if available.-->
|cc                   = <!--Use only if status is different at different locations. Must be "available" if available.-->
|rcdb_number          = <!--The number in the URL of the coaster's location-specific RCDB page-->
}}

For the dual roller coaster infobox, use |dual=yes.

See also