Template:InfoBox: Difference between revisions

From Adventurelandians - Adventureland Iowa Encyclopedia (Unofficial)
Jump to navigation Jump to search
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This template generates the various types of Info Boxes.
<noinclude>This template generates the various types of Info Boxes.
== Usage ==
== Usage ==
<pre>{{InfoBoxTest |
<pre>{{InfoBox |
| boxtype =    (Area, Character, Food and Drink, Game, Ride, Show, Shop)
| boxtype =    (Area, Character, Food and Drink, Game, Ride, Show, Shop)
| name =      (optional, else PAGENAME is used)
| name =      (optional, else PAGENAME is used)
Line 26: Line 26:
! scope="row" {{!}} Name
! scope="row" {{!}} Name
| {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
| {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
|-
{{!}}-
<!-- if AREA -->
<!-- if AREA -->
{{#ifeq: {{{boxtype}}} | Area |
{{#ifeq: {{{boxtype}}} | Area |
Line 40: Line 40:
{{!}}-
{{!}}-
}} <!-- end NOT AREA -->
}} <!-- end NOT AREA -->
<!-- if CHARACTER -->
<!-- if CHARACTER -->
{{#ifeq: {{{boxtype}}} | Character |
{{#ifeq: {{{boxtype}}} | Character |
<!-- nothing for CHARACTER -->
<!-- nothing for CHARACTER -->
| <!-- else NOT CHARACTER -->
| <!-- else NOT CHARACTER -->
{{#ifeq: {{{boxtype}}} | Area |
<!-- nothing for 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]]}}
{{!}}-
{{!}}-
! scope="row" {{!}} Year Opened
}}
! scope="row" {{!}} First Year
{{!}} {{#if: {{{opened|}}} | [[{{{opened}}}]] [[Category: {{{opened}}}]] | DATE NEEDED [[Category: Missing Date]]}}
{{!}} {{#if: {{{opened|}}} | [[{{{opened}}}]] [[Category: {{{opened}}}]] | DATE NEEDED [[Category: Missing Date]]}}
{{!}}-
{{!}}-
Line 59: Line 62:
<!-- Optional -->
<!-- Optional -->
{{#if: {{{closed|}}} |
{{#if: {{{closed|}}} |
! scope="row" {{!}} Year Closed
! scope="row" {{!}} Final Year
{{!}} [[History#{{{closed}}}|{{{closed}}}]] [[Category: {{{closed}}}]]
{{!}} [[History#{{{closed}}}|{{{closed}}}]] [[Category: {{{closed}}}]]
{{!}}-
{{!}}-

Latest revision as of 18:55, 11 August 2016

This template generates the various types of Info Boxes.

Usage

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