Template:GameInfoBox: Difference between revisions

From Adventurelandians - Adventureland Iowa Encyclopedia (Unofficial)
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<!-- Conditional Game Info Box table template -->
<noinclude>
<!-- Usage:
This template uses other templates to generate the Shop Info Box.
| name = {{PAGENAME}}
== Usage ==
| area =
<pre>
{{InfoBox |
| name =  
| area =  
| category =  
| category =  
| type =  
| type =  
| opened =
| opened =  
| replaced =  
| replaced =  
| closed =  
| closed =  
Line 11: Line 14:
| photo =  
| photo =  
}}
}}
-->
</pre>
{| class="wikitable" style="float:right;" width="300px;"
</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 }}
|-
! 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 = Game
{{!}} [[{{{replacedby}}}]]
{{!}}-
}}
}}
| colspan="2" align="center" | <small>[[About the Game Info Box]]</small>
</includeonly>
|}

Revision as of 17:33, 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 = 
}}