Template:InfoBox: Difference between revisions
Jump to navigation
Jump to search
Created page with "<noinclude>This template generates the various types of Info Boxes. == Usage == <pre>{{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) | dura..." |
No edit summary |
||
| Line 2: | Line 2: | ||
== Usage == | == Usage == | ||
<pre>{{InfoBox | | <pre>{{InfoBox | | ||
| boxtype = ( | | boxtype = (Realm, Character, Food and Drink, Game, Ride, Show, Shop) | ||
| name = (optional, else PAGENAME is used) | | name = (optional, else PAGENAME is used) | ||
| theme = ( | | theme = (REALM ONLY) | ||
| category = (NOT | | category = (NOT REALM) | ||
| type = (NOT | | type = (NOT REALM) | ||
| | | realm = (NOT REALM) | ||
| opened = | | opened = | ||
| replaced = (optional) | | replaced = (optional) | ||
| Line 39: | Line 39: | ||
{{!}} {{#if: {{{type|}}} | {{{type}}} [[Category: {{{type}}}]] | INFO NEEDED [[Category: Missing Type]]}} | {{!}} {{#if: {{{type|}}} | {{{type}}} [[Category: {{{type}}}]] | INFO NEEDED [[Category: Missing Type]]}} | ||
{{!}}- | {{!}}- | ||
}} <!-- end NOT | }} <!-- end NOT REALM --> | ||
<!-- if CHARACTER --> | <!-- if CHARACTER --> | ||
{{#ifeq: {{{boxtype}}} | Character | | {{#ifeq: {{{boxtype}}} | Character | | ||
<!-- nothing for CHARACTER --> | <!-- nothing for CHARACTER --> | ||
| <!-- else NOT CHARACTER --> | | <!-- else NOT CHARACTER --> | ||
{{#ifeq: {{{boxtype}}} | | {{#ifeq: {{{boxtype}}} | Realm | | ||
<!-- nothing for | <!-- nothing for REALM --> | ||
| | | | ||
! scope="row" {{!}} Park | ! scope="row" {{!}} Park Realm | ||
{{!}} {{#if: {{{ | {{!}} {{#if: {{{realm|}}} | [[{{{realm}}}]] [[Category: {{{realm}}}]] | INFO NEEDED [[Category: Missing Realm]]}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Revision as of 03:13, 31 August 2022
This template generates the various types of Info Boxes.
Usage
{{InfoBox |
| boxtype = (Realm, Character, Food and Drink, Game, Ride, Show, Shop)
| name = (optional, else PAGENAME is used)
| theme = (REALM ONLY)
| category = (NOT REALM)
| type = (NOT REALM)
| realm = (NOT REALM)
| opened =
| replaced = (optional)
| closed = (optional)
| replacedby = (optional)
| riders = (RIDE ONLY)
| dispatch = (RIDE ONLY)
| duration = (RIDE ONLY)
| photo =
}}