Template:RideInfoBox: Difference between revisions

From Adventurelandians - Adventureland Iowa Encyclopedia (Unofficial)
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<!-- Conditional Ride Info Box table template -->
<noinclude>
<!-- Usage:
This template uses other templates to generate the Ride Info Box.
{{RideInfoBox |
== Usage ==
| name = {{PAGENAME}}
<pre>
| area = Outlaw Gulch
{{InfoBox |
| category = Thrill Ride / Family Ride / Kiddie Ride
| name =  
| type = Wooden Coaster / Steel Coaster / ???
| area =  
| opened = 1993
| category =  
| type =  
| opened =  
| replaced =  
| replaced =  
| closed =  
| closed =  
Line 15: Line 17:
| photo =  
| photo =  
}}
}}
-->
</pre>
</noinclude>
<includeonly>
<includeonly>
{| class="wikitable" style="float:right;"
<!-- START of the box. All types have this. -->
|+ {{#if: {{{name|}}} | {{{name}}} | MISSING NAME }}
{{InfoBoxStart |
|-
| name = {{{name|}}}
| colspan="2" align="center" |
| photo = {{{photo|}}}
{{#if: {{{photo|}}} | [[Image:{{{photo}}}|300px]] | MISSING PHOTO [[Category: Missing Photo]]}}
|-
! scope="row" | Name
| {{#if: {{{name|}}} | {{{name}}} | MISSING NAME [[Category: Missing Name]]}}
|-
! scope="row" | Park Area
| {{#if: {{{area|}}} | {{{area}}} [[Category: {{{area}}}]] | INFO NEEDED [[Category: Missing Area]]}}
|-
!  scope="row" | Category
| {{#if: {{{category|}}} | {{{category}}} [[Category: {{{category}}}]] | INFO NEEDED [[Category: Missing Category]]}}
|-
! scope="row" | Type
| {{#if: {{{type|}}} | {{{type}}} [[Category: {{{type}}}]] | INFO NEEDED [[Category: Missing Type]]}}
|-
! scope="row" | Year Opened
| {{#if: {{{opened|}}} | {{{opened}}} [[Category: {{{opened}}}]] | DATE NEEDED [[Category: Missing Date]]}}
|-
<!-- Optional -->
{{#if: {{{replaced|}}} |
! scope="row" {{!}} Replaced
{{!}} [[{{{replaced}}}]]
{{!}}-
}}
}}
<!-- Optional -->
<!-- GENERIC section (used for all but Areas) -->
{{#if: {{{closed|}}} |
{{InfoBoxGeneric |
! scope="row" {{!}} Year Closed
| area = {{{area|}}}
{{!}} {{{closed}}} [[Category: {{{closed}}}]]
| category = {{{category|}}}
{{!}}-
| type = {{{type|}}}
| opened = {{{opened|}}}
| replaced = {{{replaced|}}}
| closed = {{{closed|}}}
| replacedby = {{{replacedby|}}}
}}
}}
<!-- Optional -->
<!-- RIDE specific section. -->
{{#if: {{{replacedby|}}} |
{{InfoBoxRide |
! scope="row" {{!}} Replaced By
| riders = {{{riders|}}}
{{!}} [[{{{replacedby}}}]]
| dispatch = {{{dispatch|}}}
{{!}}-
| duration = {{{duration|}}}
}}
<!-- END of the box. All types have this. -->
{{InfoBoxEnd |
| boxtype = Ride
}}
}}
! scope="row" | Riders
| {{#if: {{{riders|}}} | {{{riders}}} | INFO NEEDED [[Category: Missing Riders]]}}
|-
! scope="row" | Dispatch Rate
| {{#if: {{{dispatch|}}} | {{{dispatch}}} | INFO NEEDED [[Category: Missing Dispatch]]}}
|-
! scope="row" | Ride Duration
{{!}} {{#if: {{{duration|}}} | {{{duration}}} | INFO NEEDED [[Category: Missing Duration]]}}
|-
| colspan="2" align="center" | <small>[[About the Ride Info Box]]</small>
|}
</includeonly>
</includeonly>

Revision as of 16:55, 9 August 2016

This template uses other templates to generate the Ride Info Box.

Usage

{{InfoBox |
| name = 
| area = 
| category = 
| type = 
| opened = 
| replaced = 
| closed = 
| replacedby = 
| riders = 
| dispatch = 
| duration = 
| photo = 
}}