Template:AreaInfoBox: 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:
<includeonly>
<noinclude>
<!-- Conditional Area Info Box table template -->
This template uses other templates to generate the Ride Info Box.
<!-- Usage:
== Usage ==
{{AreaInfoBox |
<pre>
| name = {{PAGENAME}}
{{InfoBox |
| name =  
| theme =  
| theme =  
| opened =  
| opened =  
Line 9: Line 10:
| closed =  
| closed =  
| replacedby =  
| replacedby =  
| riders =
| dispatch =
| duration =
| photo =  
| photo =  
}}
}}
-->
</pre>
{| class="wikitable" style="float:right;"
</noinclude>
|+ {{#if: {{{name|}}} | {{{name}}} | MISSING NAME }}
<includeonly>
|-
<!-- START of the box. All types have this. -->
| colspan="2" align="center" |
{{InfoBoxStart |
{{#if: {{{photo|}}} | [[Image:{{{photo}}}|300px]] | MISSING PHOTO [[Category: Missing Photo]]}}
| name = {{{name|}}}
|-
| photo = {{{photo|}}}
! scope="row" {{!}} Name
| {{#if: {{{name|}}} | {{{name}}} | MISSING NAME [[Category: Missing Name]] }}
|-
<!-- Include theme, if specified -->
{{#if: {{{theme|}}} |
! scope="row" {{!}} Theme
{{!}} {{{theme}}}
{{!}}-
}}
}}
! scope="row" {{!}} Year Opened
<!-- AREA section (used for all but Areas) -->
| {{#if: {{{opened|}}} | {{{opened}}} [[Category: {{{opened}}}]] | MISSING DATE [[Category: Missing Date]]}}
{{InfoBoxArea |
|-
| theme = {{{theme|}}}
{{#if: {{{replaced|}}} |
| opened = {{{opened|}}}
! scope="row" {{!}} Replaced
| replaced = {{{replaced|}}}
{{!}} [[{{{replaced}}}]]
| closed = {{{closed|}}}
{{!}}-
| replacedby = {{{replacedby|}}}
}}
}}
{{#if: {{{closed|}}} |
<!-- RIDE specific section. -->
! scope="row" {{!}} Year Closed
{{InfoBoxRide |
{{!}} {{{closed}}} [[Category: {{{closed}}}]]
| riders = {{{riders|}}}
{{!}}-
| dispatch = {{{dispatch|}}}
| duration = {{{duration|}}}
}}
}}
{{#if: {{{replacedby|}}} |
<!-- END of the box. All types have this. -->
! scope="row" {{!}} Replaced By
{{InfoBoxEnd |
{{!}} [[{{{replacedby}}}]]
| boxtype = Ride
}}
}}
|-
| colspan="2" align="center" | <small>[[About the Area Info Box]]</small>
|}
</includeonly>
</includeonly>

Revision as of 17:21, 9 August 2016

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

Usage

{{InfoBox |
| name = 
| theme = 
| opened = 
| replaced = 
| closed = 
| replacedby = 
| riders = 
| dispatch = 
| duration = 
| photo = 
}}