Template:InfoBoxTest: 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:
<noinclude>
<!--noinclude>This template generates the various types of Info Boxes.
This template uses other templates to generate the Ride Info Box.
== Usage ==
== Usage ==
<pre>
<pre>
{{InfoBox |
{{InfoBoxTest |
| boxtype = (Area, Food and Drink, Game, Show, Shop)
| name =  
| name =  
| area =  
| theme = (AREA ONLY)
| category =  
| area = (NOT AREA)
| type =  
| category = (NOT AREA)
| type = (NOT AREA)
| opened =  
| opened =  
| replaced =  
| replaced =  
| closed =  
| closed =  
| replacedby =  
| replacedby =  
| riders =  
| riders = (RIDE ONLY)
| dispatch =  
| dispatch = (RIDE ONLY)
| duration =  
| duration = (RIDE ONLY)
| photo =  
| photo =  
}}
}}
</pre>
</pre>
</noinclude>
</noinclude><includeonly -->
<includeonly>
<!-- START of InfoBox -->
<!-- START of the box. All types have this. -->
{| class="wikitable" style="float:right;" width="300px"
{{InfoBoxStart |
|+ {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
| name = {{{name|}}}
|-
| photo = {{{photo|}}}
| colspan="2" align="center" |
{{#if: {{{photo|}}} | [[Image:{{{photo}}}|300px]] | MISSING PHOTO [[Category: Missing Photo]]}}
|-
! scope="row" {{!}} Name
| {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
|-
<!-- AREA only -->
! scope="row" {{!}} Theme
| {{#if: {{{theme|}}} | {{{theme}}} | INFO NEEDED [[Category: Missing Theme]]}}
|-
<!-- All -->
! 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}}}]]
{{!}}-
}}
}}
<!-- GENERIC section (used for all but Areas) -->
<!-- Optional -->
{{InfoBoxGeneric |
{{#if: {{{closed|}}} |
| area = {{{area|}}}
! scope="row" {{!}} Year Closed
| category = {{{category|}}}
{{!}} [[History#{{{closed}}}|{{{closed}}}]] [[Category: {{{closed}}}]]
| type = {{{type|}}}
{{!}}-
| opened = {{{opened|}}}
| replaced = {{{replaced|}}}
| closed = {{{closed|}}}
| replacedby = {{{replacedby|}}}
}}
}}
<!-- RIDE specific section. -->
<!-- Optional -->
{{InfoBoxRide |
{{#if: {{{replacedby|}}} |
| riders = {{{riders|}}}
! scope="row" {{!}} Replaced By
| dispatch = {{{dispatch|}}}
{{!}} [[{{{replacedby}}}]]
| duration = {{{duration|}}}
{{!}}-
}}
}}
<!-- END of the box. All types have this. -->
<!-- RIDE only -->
{{InfoBoxEnd |
! scope="row" | Riders
| boxtype = Ride
| {{#if: {{{riders|}}} | {{{riders}}} | INFO NEEDED [[Category: Missing Riders]]}}
| area = {{{area|}}}
|-
| category = {{{category|}}}
! scope="row" | Dispatch Rate
| type = {{{type|}}}
| {{#if: {{{dispatch|}}} | {{{dispatch}}} | INFO NEEDED [[Category: Missing Dispatch]]}}
| opened = {{{opened|}}}
|-
| replaced = {{{replaced|}}}
! scope="row" | Ride Duration
| closed = {{{closed|}}}
{{!}} {{#if: {{{duration|}}} | {{{duration}}} | INFO NEEDED [[Category: Missing Duration]]}}
| replacedby = {{{replacedby|}}}
|-
| description = {{{description|}}}
| colspan="2" align="center" | <small>[[About the {{{boxtype}}} Info Box]]</small>
| trivia = {{{trivia|}}}
|}
| photos = {{{photos|}}}
| links = {{{links|}}}
}}
</includeonly>

Revision as of 19:22, 9 August 2016

InfoBoxTest

MISSING PHOTO

Name InfoBoxTest
Theme INFO NEEDED
Park Area INFO NEEDED
Category INFO NEEDED
Type INFO NEEDED
Year Opened DATE NEEDED
Riders INFO NEEDED
Dispatch Rate INFO NEEDED
Ride Duration INFO NEEDED
[[About the {{{boxtype}}} Info Box]]