Template:InfoBoxTest: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
| name = (optional, else PAGENAME is used) | | name = (optional, else PAGENAME is used) | ||
| theme = (AREA ONLY) | | theme = (AREA ONLY) | ||
| category = (NOT AREA) | | category = (NOT AREA) | ||
| type = (NOT AREA) | | type = (NOT AREA) | ||
| area = (NOT AREA) | |||
| opened = | | opened = | ||
| replaced = (optional) | | replaced = (optional) | ||
Line 33: | Line 33: | ||
{{!}}- | {{!}}- | ||
| <!-- else NOT AREA --> | | <!-- else 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]]}}{{!}}- | ||
Line 45: | Line 38: | ||
{{!}} {{#if: {{{type|}}} | {{{type}}} [[Category: {{{type}}}]] | INFO NEEDED [[Category: Missing Type]]}} | {{!}} {{#if: {{{type|}}} | {{{type}}} [[Category: {{{type}}}]] | INFO NEEDED [[Category: Missing Type]]}} | ||
{{!}}- | {{!}}- | ||
}} <!-- end NOT AREA --> | |||
<!-- if CHARACTER --> | <!-- if CHARACTER --> | ||
{{#ifeq: {{{boxtype}}} | Character | | {{#ifeq: {{{boxtype}}} | Character | | ||
<!-- CHARACTER | <!-- nothing for CHARACTER --> | ||
| < | | <-- else NOT CHARACTER --> | ||
! scope="row" {{!}} Park Area | |||
{{!}} {{#if: {{{area|}}} | [[{{{area}}}]] [[Category: {{{area}}}]] | INFO NEEDED [[Category: Missing Area]]}} | |||
{{!}}- | |||
! 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]]}} | ||
Line 84: | Line 81: | ||
}} <!-- end of RIDE --> | }} <!-- end of RIDE --> | ||
}} <!-- end of NOT CHARACTER --> | }} <!-- end of NOT CHARACTER --> | ||
<!-- 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:45, 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) | 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 = }}