Template:InfoBox: Difference between revisions

From Lost Islanders
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 =    (Area, Character, Food and Drink, Game, Ride, Show, Shop)
| boxtype =    (Realm, Character, Food and Drink, Game, Ride, Show, Shop)
| name =      (optional, else PAGENAME is used)
| name =      (optional, else PAGENAME is used)
| theme =      (AREA ONLY)
| theme =      (REALM ONLY)
| category =  (NOT AREA)
| category =  (NOT REALM)
| type =      (NOT AREA)
| type =      (NOT REALM)
| area =       (NOT AREA)
| 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 AREA -->
}} <!-- 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}}} | Area |
{{#ifeq: {{{boxtype}}} | Realm |
<!-- nothing for AREA -->
<!-- nothing for REALM -->
|
|
! scope="row" {{!}} Park Area
! scope="row" {{!}} Park Realm
{{!}} {{#if: {{{area|}}} | [[{{{area}}}]] [[Category: {{{area}}}]] | INFO NEEDED [[Category: Missing Area]]}}
{{!}} {{#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 = 
}}