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..."
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This template generates the various types of Info Boxes.
<noinclude>This template generates the various types of Info Boxes.
<noinclude>This template generates the various types of Info Boxes.
== Usage ==
== Usage ==
Line 27: Line 28:
| {{#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]]}}

Latest revision as of 18:27, 13 May 2023

This template generates the various types of Info Boxes. 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 = 
}}