Difference between pages "Template:Infobox roller coaster" and "Template:Infobox roller coaster/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>Leijurv
(forgot to include in the unknown parameter check)
 
imported>Timrollpickering
m (→‎top: remove link to deleted category, removed: Category:Roller coasters by name, [[]])
 
Line 1: Line 1:
 +
{{short description|Roller coaster}}
 
{{Infobox
 
{{Infobox
 
|bodystyle    = vcard
 
|bodystyle    = vcard
 
|above        = {{#if:{{{name|}}}|{{{name}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
 
|above        = {{#if:{{{name|}}}|{{{name}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
 
|abovestyle  = fn org
 
|abovestyle  = fn org
|subheader    = {{#if:{{{previousnames|}}}|''Previously known as {{{previousnames}}}''}}
 
 
|image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_width|{{{logodimensions|{{{logo_dimensions|}}}}}}}}}|sizedefault=250px}}
 
|image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_width|{{{logodimensions|{{{logo_dimensions|}}}}}}}}}|sizedefault=250px}}
 
|caption      =  
 
|caption      =  
Line 11: Line 11:
 
|headerstyle  = font-size:110%; text-align:center; background-color:lightgray; font-weight:normal;
 
|headerstyle  = font-size:110%; text-align:center; background-color:lightgray; font-weight:normal;
  
|header1 = {{#if:{{{locationarticle|}}}|[[{{{locationarticle}}}|{{{location|}}}]]|{{#ifexist:{{{location|}}}|[[{{{location|}}}]]|{{{location|}}}}}}} {{#if:{{{location2|}}}|or<br>[[{{{location2}}}]]}}
+
|data1    = {{#if:{{{previousnames|}}}|''Previously known as {{{previousnames}}}''}}
 +
|header2 = {{#if:{{{locationarticle|}}}|[[{{{locationarticle}}}|{{{location|}}}]]|{{#ifexist:{{{location|}}}|[[{{{location|}}}]]|{{{location|}}}}}}} {{#if:{{{location2|}}}|or<br>[[{{{location2}}}]]}}
 
|label2  = Location
 
|label2  = Location
 
|data2    = {{#if:{{{extend|}}}||{{#if:{{{locationarticle|}}}|[[{{{locationarticle}}}|{{{location|}}}]]|{{#ifexist:{{{location|}}}|[[{{{location|}}}]]|{{{location|}}}}}}}}}
 
|data2    = {{#if:{{{extend|}}}||{{#if:{{{locationarticle|}}}|[[{{{locationarticle}}}|{{{location|}}}]]|{{#ifexist:{{{location|}}}|[[{{{location|}}}]]|{{{location|}}}}}}}}}
Line 66: Line 67:
 
|label31  = Height
 
|label31  = Height
 
|data31  = {{#if:{{{height_m|}}}
 
|data31  = {{#if:{{{height_m|}}}
   |{{convert|{{{height_m}}}|m|ft|abbr=on|sigfig={{{sigfig_height|{{{sigfig|}}}}}}}}
+
   |{{convert|{{{height_m}}}|m|ft|abbr=on}}
 
   |{{#if:{{{height_ft|}}}
 
   |{{#if:{{{height_ft|}}}
     |{{convert|{{{height_ft}}}|ft|m|abbr=on|sigfig={{{sigfig_height|{{{sigfig|}}}}}}}}
+
     |{{convert|{{{height_ft}}}|ft|m|abbr=on}}
 
     }}
 
     }}
 
   }}
 
   }}
 
|label32  = Drop
 
|label32  = Drop
 
|data32  = {{#if:{{{drop_m|}}}
 
|data32  = {{#if:{{{drop_m|}}}
   |{{convert|{{{drop_m}}}|m|ft|abbr=on|sigfig={{{sigfig_drop|{{{sigfig|}}}}}}}}
+
   |{{convert|{{{drop_m}}}|m|ft|abbr=on}}
 
   |{{#if:{{{drop_ft|}}}
 
   |{{#if:{{{drop_ft|}}}
     |{{convert|{{{drop_ft}}}|ft|m|abbr=on|sigfig={{{sigfig_drop|{{{sigfig|}}}}}}}}
+
     |{{convert|{{{drop_ft}}}|ft|m|abbr=on}}
 
     }}
 
     }}
 
   }}
 
   }}
 
|label33  = Length
 
|label33  = Length
 
|data33  = {{#if:{{{length_m|}}}
 
|data33  = {{#if:{{{length_m|}}}
   |{{convert|{{{length_m}}}|m|ft|abbr=on|sigfig={{{sigfig_length|{{{sigfig|}}}}}}}}
+
   |{{convert|{{{length_m}}}|m|ft|abbr=on}}
 
   |{{#if:{{{length_ft|}}}
 
   |{{#if:{{{length_ft|}}}
     |{{convert|{{{length_ft}}}|ft|m|abbr=on|sigfig={{{sigfig_length|{{{sigfig|}}}}}}}}
+
     |{{convert|{{{length_ft}}}|ft|m|abbr=on}}
 
     }}
 
     }}
 
   }}
 
   }}
 
|label34  = Speed
 
|label34  = Speed
 
|data34  = {{#if:{{{speed_km/h|}}}
 
|data34  = {{#if:{{{speed_km/h|}}}
   |{{convert|{{{speed_km/h|}}}|km/h|abbr=on|sigfig={{{sigfig_speed|{{{sigfig|}}}}}}}}
+
   |{{convert|{{{speed_km/h|}}}|km/h|abbr=on}}
 
   |{{#if:{{{speed_mph|}}}
 
   |{{#if:{{{speed_mph|}}}
     |{{convert|{{{speed_mph}}}|mph|abbr=on|sigfig={{{sigfig_speed|{{{sigfig|}}}}}}}}
+
     |{{convert|{{{speed_mph}}}|mph|abbr=on}}
 
     }}
 
     }}
 
   }}
 
   }}
 
|label35  = Site Area
 
|label35  = Site Area
 
|data35  = {{#if:{{{sitearea_sqm|}}}
 
|data35  = {{#if:{{{sitearea_sqm|}}}
   |{{convert|{{{sitearea_sqm}}}|m2|sqft|abbr=on|sigfig={{{sigfig_area|{{{sigfig|}}}}}}}}
+
   |{{convert|{{{sitearea_sqm}}}|m2|sqft|abbr=on}}
 
   |{{#if:{{{sitearea_sqft|}}}
 
   |{{#if:{{{sitearea_sqft|}}}
     |{{convert|{{{sitearea_sqft}}}|sqft|m2|abbr=on|sigfig={{{sigfig_area|{{{sigfig|}}}}}}}}
+
     |{{convert|{{{sitearea_sqft}}}|sqft|m2|abbr=on}}
 
     }}
 
     }}
 
   }}
 
   }}
Line 154: Line 155:
 
|label54  = {{{custom_label_8|}}}
 
|label54  = {{{custom_label_8|}}}
 
|data54  = {{{custom_value_8|}}}
 
|data54  = {{{custom_value_8|}}}
|label55 = Sponsored by
+
|label55  = {{#if:{{{virtual_queue_image|}}}||}}
|data55  = {{{sponsor|}}}
+
|data55   = {{#if:{{{virtual_queue_name|}}}|{{#if:{{{virtual_queue_status|}}}|<div style="text-align:left">{{#if:{{{virtual_queue_image|}}}|[[File:{{{virtual_queue_image}}}|x20px|link=|alt=]]}} {{{virtual_queue_name|}}} {{{virtual_queue_status|}}}</div>}}}}
|label56 = {{#if:{{{virtual_queue_image|}}}||}}
+
|label56 = {{#if:{{{virtual_queue_image2|}}}||}}
|data56   = {{#if:{{{virtual_queue_name|}}}|{{#if:{{{virtual_queue_status|}}}|<div style="text-align:left">{{#if:{{{virtual_queue_image|}}}|[[File:{{{virtual_queue_image}}}|x20px|link=|alt=]]}} {{{virtual_queue_name|}}} {{{virtual_queue_status|}}}</div>}}}}
+
|data56 = {{#if:{{{virtual_queue_name2|}}}|{{#if:{{{virtual_queue_status2|}}}|<div style="text-align:left">{{#if:{{{virtual_queue_image2|}}}|[[File:{{{virtual_queue_image2}}}|x20px|link=|alt=]]}} {{{virtual_queue_name2|}}} {{{virtual_queue_status2|}}}</div>|{{#if:{{{virtual_queue_status|}}}|<div style="text-align:left">{{#if:{{{virtual_queue_image2|}}}|[[File:{{{virtual_queue_image2}}}|x20px|link=|alt=]]}} {{{virtual_queue_name2|}}} {{{virtual_queue_status|}}}</div>}}}}}}
|label57 = {{#if:{{{virtual_queue_image2|}}}||}}
+
|data57   = {{#if:{{{single_rider|}}}|<div style="text-align:left">[[File:Single rider line availability icon.svg|20px|link=|alt=]] [[Single rider]] line {{{single_rider}}}</div>}}
|data57 = {{#if:{{{virtual_queue_name2|}}}|{{#if:{{{virtual_queue_status2|}}}|<div style="text-align:left">{{#if:{{{virtual_queue_image2|}}}|[[File:{{{virtual_queue_image2}}}|x20px|link=|alt=]]}} {{{virtual_queue_name2|}}} {{{virtual_queue_status2|}}}</div>|{{#if:{{{virtual_queue_status|}}}|<div style="text-align:left">{{#if:{{{virtual_queue_image2|}}}|[[File:{{{virtual_queue_image2}}}|x20px|link=|alt=]]}} {{{virtual_queue_name2|}}} {{{virtual_queue_status|}}}</div>}}}}}}
+
|data58   = {{#if:{{{pay_per_use|}}}|<div style="text-align:left">[[File:Pay-Per-Use Sign.png|20px]] This is a [[Upcharge attraction|Pay-Per-Use attraction]]</div>}}
|data58   = {{#if:{{{single_rider|}}}|<div style="text-align:left">[[File:Single rider line availability icon.svg|20px|link=|alt=]] [[Single rider]] line {{{single_rider}}}</div>}}
+
|data59   = {{#if:{{{accessible|}}}|<div style="text-align:left">{{access icon|20px}} Wheelchair accessible</div>}}
|data59   = {{#if:{{{pay_per_use|}}}|<div style="text-align:left">[[File:Pay-Per-Use Sign.png|20px]] This is a [[Upcharge attraction|Pay-Per-Use attraction]]</div>}}
+
|data60   = {{#if:{{{transfer_accessible|}}}|<div style="text-align:left">[[File:Attraction transfer icon.svg|20px|link=|alt=]] Must transfer from wheelchair</div>}}
|data60   = {{#if:{{{accessible|}}}|<div style="text-align:left">{{access icon|20px}} Wheelchair accessible</div>}}
+
|data61   = {{#if:{{{assistive_listening|}}}|<div style="text-align:left">[[File:Assistive listening icon.svg|20px]] Assistive listening available</div>}}
|data61   = {{#if:{{{transfer_accessible|}}}|<div style="text-align:left">[[File:Attraction transfer icon.svg|20px|link=|alt=]] Must transfer from wheelchair</div>}}
+
|data62   = {{#if:{{{cc|}}}|<div style="text-align:left">[[File:Closed captioning symbol.svg|20px|link=|alt=]] Closed captioning available</div>}}
|data62   = {{#if:{{{assistive_listening|}}}|<div style="text-align:left">[[File:Assistive listening icon.svg|20px]] Assistive listening available</div>}}
+
|data63   = {{#if:{{{rcdb_number|}}}|<small>[https://rcdb.com/{{{rcdb_number}}}.htm {{#if:{{{name|}}}|{{{name}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}} at RCDB]</small><br/><small>[https://rcdb.com/{{{rcdb_number}}}.htm?p=0 Pictures of {{#if:{{{name|}}}|{{{name}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}} at RCDB]</small>}}
|data63   = {{#if:{{{cc|}}}|<div style="text-align:left">[[File:Closed captioning symbol.svg|20px|link=|alt=]] Closed captioning available</div>}}
 
|data64   = {{#if:{{{rcdb_number|}}}|<small>[https://rcdb.com/{{{rcdb_number}}}.htm {{#if:{{{name|}}}|{{{name}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}} at RCDB]</small><br/><small>[https://rcdb.com/{{{rcdb_number}}}.htm?p=0 Pictures of {{#if:{{{name|}}}|{{{name}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}} at RCDB]</small>}}
 
  
|header65 = {{#if:{{{video|}}}|Video}}
+
|header64 = {{#if:{{{video|}}}|Video}}
|data66 = {{#if:{{{video|}}}|[[File:{{{video|}}}|{{{videodimensions|250px}}}]]{{#if:{{{videocaption|}}}|<br />{{{videocaption}}}}} }}
+
|data65 = {{#if:{{{video|}}}|[[File:{{{video|}}}|{{{videodimensions|250px}}}]]{{#if:{{{videocaption|}}}|<br />{{{videocaption}}}}} }}
  
 
|below =  
 
|below =  
}}{{#ifeq: {{{auto-cat}}}|no||{{ns0|{{#if:{{{coordinates|}}}||{{#if:{{{nomissingcoordscategory|}}}||
+
}}{{#ifeq: {{{auto-cat}}}|no||{{ns0|{{#if:{{{coordinates|}}}||
 
[[Category:Wikipedia infobox roller coaster articles without coordinates]]
 
[[Category:Wikipedia infobox roller coaster articles without coordinates]]
}}}}{{#if:{{{opened|}}} |{{#if:{{{year|}}}|[[Category:Roller coasters introduced in {{{year}}}]] |{{#iferror:{{#time:Y|{{trim date|{{{opened}}}}}}} ||[[Category:Roller coasters introduced in {{#time:Y|{{trim date|{{{opened}}}}}}}]] }}}}
+
}}{{#if:{{{opened|}}} |{{#if:{{{year|}}}|[[Category:Roller coasters introduced in {{{year}}}]] |{{#iferror:{{#time:Y|{{trim date|{{{opened}}}}}}} ||[[Category:Roller coasters introduced in {{#time:Y|{{trim date|{{{opened}}}}}}}]] }}}}
 
}}{{#if:{{{closed|}}} |{{#iferror:{{#time:Y|{{trim date|{{{closed}}}}}}}||[[Category:Amusement rides that closed in {{#time:Y|{{trim date|{{{closed}}}}}}}]]}}
 
}}{{#if:{{{closed|}}} |{{#iferror:{{#time:Y|{{trim date|{{{closed}}}}}}}||[[Category:Amusement rides that closed in {{#time:Y|{{trim date|{{{closed}}}}}}}]]}}
 
}}{{#ifeq:{{{location|}}}|Portable|[[Category:Portable roller coasters]]
 
}}{{#ifeq:{{{location|}}}|Portable|[[Category:Portable roller coasters]]
Line 196: Line 195:
  
 
{{ifnotempty|{{#property:P2751}}||{{ifnotempty|{{{rcdb_number}}}|[[Category:Articles needing their RCDB number moved to Wikidata]]|{{ifnotempty|{{{location_rcdb_number}}}|| [[Category:Articles needing RCDB numbers]]}}}}}}
 
{{ifnotempty|{{#property:P2751}}||{{ifnotempty|{{{rcdb_number}}}|[[Category:Articles needing their RCDB number moved to Wikidata]]|{{ifnotempty|{{{location_rcdb_number}}}|| [[Category:Articles needing RCDB numbers]]}}}}}}
<!-- end ns0 -->}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Amusement ride article using undocumented parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox roller coaster]] with unknown parameter "_VALUE_"|ignoreblank=y| acceleration | acceleration_from | acceleration_in | acceleration_km/h | acceleration_mph | accessible | altname | angle | assistive_listening | auto-cat | capacity | caption | carspertrain | cc | closed | coordinates | cost | custom_label_1 | custom_label_2 | custom_label_3 | custom_label_4 | custom_label_5 | custom_label_6 | custom_label_7 | custom_label_8 | custom_value_1 | custom_value_2 | custom_value_3 | custom_value_4 | custom_value_5 | custom_value_6 | custom_value_7 | custom_value_8 | sponsor | designer | drop_ft | drop_m | duration | extend | gforce | height_ft | height_m | homepage | image | image_dimensions | image_width | imagedimensions | inversions | length_ft | length_m | lift | location | location2 | location_accessible | location_assistive_listening | location_cc | location_custom_label | location_custom_value | location_homepage | location_pay_per_use | location_rcdb_number | location_single_rider | location_transfer_accessible | location_virtual_queue_image | location_virtual_queue_name | location_virtual_queue_status | location_website | locationarticle | logo | logo_dimensions | logo_width | logodimensions | manufacturer | manufacturerarticle | manufacturer-category | model | name | noheightcategory | nomissingcoordscategory | opened | pay_per_use | previousattraction | previousnames | rcdb_number | replacement | restraint | restraint_type | restriction_cm | restriction_ft | restriction_in | ridersperrow | rowspercar | section | sigfig | sigfig_area | sigfig_drop | sigfig_height | sigfig_length | sigfig_speed | single_rider | sitearea_sqft | sitearea_sqm | soft_opened | speed_km/h | speed_mph | status | subsection | theme | track | trains | transfer_accessible | type | type2 | type3 | video | videocaption | videodimensions | virtual_queue_image | virtual_queue_image2 | virtual_queue_name | virtual_queue_name2 | virtual_queue_status | virtual_queue_status2 | website | year }}<noinclude><!--
+
<!-- end ns0 -->}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Amusement ride article using undocumented parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox roller coaster]] with unknown parameter "_VALUE_"|ignoreblank=y| acceleration | acceleration_from | acceleration_in | acceleration_km/h | acceleration_mph | accessible | altname | angle | assistive_listening | auto-cat | capacity | caption | carspertrain | cc | closed | coordinates | cost | custom_label_1 | custom_label_2 | custom_label_3 | custom_label_4 | custom_label_5 | custom_label_6 | custom_label_7 | custom_label_8 | custom_value_1 | custom_value_2 | custom_value_3 | custom_value_4 | custom_value_5 | custom_value_6 | custom_value_7 | custom_value_8 | designer | drop_ft | drop_m | duration | extend | gforce | height_ft | height_m | homepage | image | image_dimensions | image_width | imagedimensions | inversions | length_ft | length_m | lift | location | location2 | location_accessible | location_assistive_listening | location_cc | location_custom_label | location_custom_value | location_homepage | location_pay_per_use | location_rcdb_number | location_single_rider | location_transfer_accessible | location_virtual_queue_image | location_virtual_queue_name | location_virtual_queue_status | location_website | locationarticle | logo | logo_dimensions | logo_width | logodimensions | manufacturer | manufacturerarticle | manufacturer-category | model | name | noheightcategory | opened | pay_per_use | previousattraction | previousnames | rcdb_number | replacement | restraint | restraint_type | restriction_cm | restriction_ft | restriction_in | ridersperrow | rowspercar | section | single_rider | sitearea_sqft | sitearea_sqm | soft_opened | speed_km/h | speed_mph | status | subsection | theme | track | trains | transfer_accessible | type | type2 | type3 | video | videocaption | videodimensions | virtual_queue_image | virtual_queue_image2 | virtual_queue_name | virtual_queue_name2 | virtual_queue_status | virtual_queue_status2 | website | year }}<noinclude><!--
 
--------------------------------------------
 
--------------------------------------------
 
-HISTORY:
 
-HISTORY:
 
-10May2017 Added HISTORY to log changes.
 
-10May2017 Added HISTORY to log changes.
 
-10May2017 Added "location2=" for 2nd site.
 
-10May2017 Added "location2=" for 2nd site.
-10Oct2018 RCDB category checks
 
-15Mar2019 Added sponsor
 
 
-->
 
-->
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>