Template:InfoBox: Difference between revisions

From Lost Islanders
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
Line 2: Line 2:
== Usage ==
== Usage ==
<pre>{{InfoBox |
<pre>{{InfoBox |
| boxtype =    (Realm, Character, Food and Drink, Game, Ride, Show, Shop)
| boxtype =    (Area, Character, Food and Drink, Game, Ride, Show, Shop)
| name =      (optional, else PAGENAME is used)
| name =      (optional, else PAGENAME is used)
| theme =      (REALM ONLY)
| theme =      (AREA ONLY)
| category =  (NOT REALM)
| category =  (NOT AREA)
| type =      (NOT REALM)
| type =      (NOT AREA)
| realm =     (NOT REALM)
| area =       (NOT AREA)
| opened =  
| opened =  
| replaced =  (optional)
| replaced =  (optional)
Line 27: Line 27:
| {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
| {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
{{!}}-
{{!}}-
<!-- if REALM -->
<!-- if AREA -->
{{#ifeq: {{{boxtype}}} | Realm |
{{#ifeq: {{{boxtype}}} | Area |
! scope="row" {{!}} Theme
! scope="row" {{!}} Theme
{{!}} {{#if: {{{theme|}}} | {{{theme}}} | INFO NEEDED [[Category: Missing Theme]]}}
{{!}} {{#if: {{{theme|}}} | {{{theme}}} | INFO NEEDED [[Category: Missing Theme]]}}
{{!}}-
{{!}}-
| <!-- else NOT REALM -->
| <!-- 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 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 REALM -->
}} <!-- end NOT AREA -->
<!-- if CHARACTER -->
<!-- if CHARACTER -->
{{#ifeq: {{{boxtype}}} | Character |
{{#ifeq: {{{boxtype}}} | Character |
<!-- nothing for CHARACTER -->
<!-- nothing for CHARACTER -->
| <!-- else NOT CHARACTER -->
| <!-- else NOT CHARACTER -->
{{#ifeq: {{{boxtype}}} | Realm |
{{#ifeq: {{{boxtype}}} | Area |
<!-- nothing for REALM -->
<!-- nothing for AREA -->
|
|
! scope="row" {{!}} Park Realm
! scope="row" {{!}} Park Area
{{!}} {{#if: {{{realm|}}} | [[{{{realm}}}]] [[Category: {{{realm}}}]] | INFO NEEDED [[Category: Missing Realm]]}}
{{!}} {{#if: {{{area|}}} | [[{{{area}}}]] [[Category: {{{area}}}]] | INFO NEEDED [[Category: Missing Area]]}}
{{!}}-
{{!}}-
}}
}}

Revision as of 12:54, 31 August 2022

This template generates the various types of Info Boxes.

Usage

{{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) 
| duration =   (RIDE ONLY)
| photo = 
}}