Template:ShopInfoBox: 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 Shop Info Box table template -->
<noinclude>
<!-- Usage:
This template uses other templates to generate the Shop Info Box.
{{ShopInfoBox |
== Usage ==
| name = {{PAGENAME}}
<pre>
| area = Main Street
{{InfoBox |
| category = Building / Kiosk / Cart
| name =  
| type = Candy / T-Shirts / Beachwear
| area =  
| opened = 1974
| category =  
| type =  
| opened =  
| replaced =  
| replaced =  
| closed =  
| closed =  
Line 12: Line 14:
| 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 = Shop
{{!}} [[{{{replacedby}}}]]
{{!}}-
}}
}}
| colspan="2" align="center" | <small>[[About the Shop 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 = 
}}