Template:ShowInfoBox: 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 Show Info Box table template -->
<noinclude>
<!-- Usage:
This template uses other templates to generate the Shop Info Box.
{{ ShowInfoBox |
== Usage ==
| name = {{PAGENAME}}
<pre>
{{InfoBox |
| name =  
| area =  
| area =  
| category = Stage / Street
| category =  
| type = Magic / Juggling / Music / Variety
| type =  
| opened =
| opened =  
| replaced =
| replaced =  
| closed =
| closed =  
| replaced by =  
| replacedby =  
| 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]]}}
|-
! 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 -->
<!-- END of the box. All types have this. -->
{{#if: {{{replacedby|}}} |
{{InfoBoxEnd |
! scope="row" {{!}} Replaced By
| boxtype = Show
{{!}} [[{{{replacedby}}}]]
{{!}}-
}}
}}
| colspan="2" align="center" | <small>[[About the Show Info Box]]</small>
</includeonly>
|}

Revision as of 17:32, 9 August 2016

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

Usage

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