Template:InfoBoxTest: Difference between revisions

From Adventurelandians - Adventureland Iowa Encyclopedia (Unofficial)
Jump to navigation Jump to search
No edit summary
No edit summary
Line 29: Line 29:
<!-- if AREA -->
<!-- if AREA -->
{{#ifeq: {{{boxtype}}} | Area |
{{#ifeq: {{{boxtype}}} | Area |
! scope="row" {{!}} Theme
! scope="row" {{!}} Theme
{{!}} {{#if: {{{theme|}}} | {{{theme}}} | INFO NEEDED [[Category: Missing Theme]]}}
{{!}} {{#if: {{{theme|}}} | {{{theme}}} | INFO NEEDED [[Category: Missing Theme]]}}
{{!}}-
{{!}}-
| <!-- else NOT AREA -->
| <!-- else NOT AREA -->
! scope="row" {{!}} Park Area
! scope="row" {{!}} Park Area
{{!}} {{#if: {{{area|}}} | [[{{{area}}}]] [[Category: {{{area}}}]] | INFO NEEDED [[Category: Missing Area]]}}
{{!}} {{#if: {{{area|}}} | [[{{{area}}}]] [[Category: {{{area}}}]] | INFO NEEDED [[Category: Missing Area]]}}
{{!}}-
{{!}}-
}} <!-- end of NOT AREA -->
}} <!-- end of NOT AREA -->
<!-- if AREA -->
<!-- if AREA -->
{{#ifeq: {{{boxtype}}} | Area |
{{#ifeq: {{{boxtype}}} | Area |
| <!-- NOT AREA -->
| <!-- NOT AREA -->
!  scope="row" {{!}} Category
!  scope="row" {{!}} Category
{{!}} {{#if: {{{category|}}} | {{{category}}} [[Category: {{{category}}}]] | INFO NEEDED [[Category: Missing Category]]}} {{!}}-
{{!}} {{#if: {{{category|}}} | {{{category}}} [[Category: {{{category}}}]] | INFO NEEDED [[Category: Missing Category]]}}{{!}}-
! scope="row" {{!}} Type
! scope="row" {{!}} Type
{{!}} {{#if: {{{type|}}} | {{{type}}} [[Category: {{{type}}}]] | INFO NEEDED [[Category: Missing Type]]}}
{{!}} {{#if: {{{type|}}} | {{{type}}} [[Category: {{{type}}}]] | INFO NEEDED [[Category: Missing Type]]}}
{{!}}-
{{!}}-
<-- if CHARACTER -->
<-- if CHARACTER -->
{{#ifeq: {{{boxtype}}} | Character |
{{#ifeq: {{{boxtype}}} | Character |
<!-- CHARACTER shows nothing -->
<!-- CHARACTER shows nothing -->
| <!-- else NOT CHARACTER -->
| <!-- else NOT CHARACTER -->
<!-- Everything else -->
<!-- Everything else -->
! scope="row" {{!}} Year Opened
! scope="row" {{!}} Year Opened
| {{#if: {{{opened|}}} | [[{{{opened}}}]] [[Category: {{{opened}}}]] | DATE NEEDED [[Category: Missing Date]]}}
| {{#if: {{{opened|}}} | [[{{{opened}}}]] [[Category: {{{opened}}}]] | DATE NEEDED [[Category: Missing Date]]}}
|-
|-
<!-- Optional -->
<!-- Optional -->
{{#if: {{{replaced|}}} |
{{#if: {{{replaced|}}} |
! scope="row" {{!}} Replaced
! scope="row" {{!}} Replaced
{{!}} [[{{{replaced}}}]]
{{!}} [[{{{replaced}}}]]
{{!}}-
{{!}}-
}}
}}
<!-- Optional -->
<!-- Optional -->
{{#if: {{{closed|}}} |
{{#if: {{{closed|}}} |
! scope="row" {{!}} Year Closed
! scope="row" {{!}} Year Closed
{{!}} [[History#{{{closed}}}|{{{closed}}}]] [[Category: {{{closed}}}]]
{{!}} [[History#{{{closed}}}|{{{closed}}}]] [[Category: {{{closed}}}]]
{{!}}-
{{!}}-
}}
}}
<!-- Optional -->
<!-- Optional -->
{{#if: {{{replacedby|}}} |
{{#if: {{{replacedby|}}} |
! scope="row" {{!}} Replaced By
! scope="row" {{!}} Replaced By
{{!}} [[{{{replacedby}}}]]
{{!}} [[{{{replacedby}}}]]
{{!}}-
{{!}}-
}}
}}
<!-- if RIDE -->
<!-- if RIDE -->
{{#ifeq: {{{boxtype}}} | Ride |
{{#ifeq: {{{boxtype}}} | Ride |
! scope="row" {{!}} Riders
! scope="row" {{!}} Riders
{{!}} {{#if: {{{riders|}}} | {{{riders}}} | INFO NEEDED [[Category: Missing Riders]]}}
{{!}} {{#if: {{{riders|}}} | {{{riders}}} | INFO NEEDED [[Category: Missing Riders]]}}
{{!}}-
{{!}}-
! scope="row" {{!}} Dispatch Rate
! scope="row" {{!}} Dispatch Rate
{{!}} {{#if: {{{dispatch|}}} | {{{dispatch}}} | INFO NEEDED [[Category: Missing Dispatch]]}}
{{!}} {{#if: {{{dispatch|}}} | {{{dispatch}}} | INFO NEEDED [[Category: Missing Dispatch]]}}
{{!}}-
{{!}}-
! scope="row" {{!}} Ride Duration
! scope="row" {{!}} Ride Duration
{{!}} {{#if: {{{duration|}}} | {{{duration}}} | INFO NEEDED [[Category: Missing Duration]]}}
{{!}} {{#if: {{{duration|}}} | {{{duration}}} | INFO NEEDED [[Category: Missing Duration]]}}
{{!}}-
{{!}}-
}} <!-- end of RIDE -->
}} <!-- end of RIDE -->
}} <!- end of NOT CHARACTER -->
}} <!- end of NOT CHARACTER -->
}} <!-- end of NOT AREA -->
}} <!-- end of NOT AREA -->
< !-- All -->
<!-- All -->
| colspan="2" align="center" | <small>[[About the {{{boxtype}}} Info Box]]</small>
| colspan="2" align="center" | <small>[[About the {{{boxtype}}} Info Box]]</small>
|}
|}
</includeonly></onlyinclude>
</includeonly></onlyinclude>

Revision as of 02:11, 10 August 2016

This template generates the various types of Info Boxes.

Usage

{{InfoBoxTest |
| boxtype =    (Area, Character, Food and Drink, Game, Ride, Show, Shop)
| name =       (optional, else PAGENAME is used)
| theme =      (AREA ONLY)
| area =       (NOT AREA)
| category =   (NOT AREA)
| type =       (NOT AREA)
| opened = 
| replaced =   (optional)
| closed =     (optional)
| replacedby = (optional)
| riders =     (RIDE ONLY)
| dispatch =   (RIDE ONLY) 
| duration =   (RIDE ONLY)
| photo = 
}}