Template:Infobox World's Fair/doc

From Holocaustmap

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

         | Template:Mbox
        }}{{#if: |
         |   {{#ifexist:Template:Infobox World's Fair
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

Usage

This template is designed to supply information on world's fairs, official BIE recognized, Universal, Specialized and Horticultural exhibitions as well as unofficial non-BIE exhibitions.

Parameters

Parameter list and definitions

Name Parameter Required Definition
Infobox width box_width No Width of infobox, default: 25em; Note: use auto for automatic width
Class class Yes Expo class; Universal or Specialized or Horticultural or Triennial; default:Unrecognized
Category category No Expo sub category, applies only to Universal or Specialized class Expos;
Universal: 0=Historical, 1=First category, 2=Second category, 3=World Expo (governed by the third BIE convention)
Specialized: 2=governed by the second BIE convention, 3=governed by the third BIE convention although adding 10 to the category will override the standard EXPO header and display the name instead
Image image No Filename of image
Image width image_width No Size of image, default: 250px
Caption caption No Caption of image
Year year Yes The year(s) this Expo was held
Overview section
Name name No Full name of the fair (adding 10 to the category will override the standard EXPO header and display the name instead)
Motto motto No Motto of the fair
Building building No Landmark built for or related to the fair (e.g. The Eiffeltower)
Area area No Area of land used by the fair
Invention(s) invent No Invention(s) first shown in public
Visitors visitors No Number of visitors
Organized organized No Name of expo-commissioner/president or organizing body
Mascot mascot No Mascot for the fair
Participant(s) section
Countries cnt No Number of participating countries and dependencies
Organizations org No Number of participating (international) organizations, agencies and institutions
Business biz No Number of participating commercial entities
Location section
Country country No No flags here please, per WP:ICONDECORATION
City city Yes
Venue venue No place in the city where the Expo is held
Coordinates coord No topographical coordinates of the venue
Timeline section
Bidding cand No Date or Year candidacy was filed at BIE
Award award No Date or Year the expo was awarded by government or BIE
Opening open No Date the fair was opened
Closure close No Date the fair was closed
Same-class Expositions section
Previous prevexpo No link to the article regarding, or name of, the previous world's fair of the same BIE-class
Previouscity prevcity No link to the article regarding, or name of, the city where the previous world's fair of the same BIE-class was held
Next nextexpo No link to the article regarding, or name of, the next world's fair of the same BIE-class
Nextcity nextcity No link to the article regarding, or name of, the city where the next world's fair of the same BIE-class will be held
Supplementary section
Supplementary suppl No Used to mention a supplementary series of expositions other than the BIE-class of this exposition (e.g. the previous and next Specialized exposition in case of a universal exposition or vice versa, or an other series of which the exposition is part at the same time)
Previous prevsuppl No link to the article regarding, or name of, the previous world's fair of the same supplementary series
Previouscity prevsupcity No link to the article regarding, or name of, the city where the previous world's fair of the same supplementary series was held
Next nextsuppl No link to the article regarding, or name of, the next world's fair of the same supplementary series
Nextcity nextsupcity No link to the article regarding, or name of, the city where the next world's fair of the same supplementary series will be held
Previous prevunho No link to the article regarding, or name of, the previous world's fair of universal or horticultural class reversed to main series
in prevunhocity No link to the article regarding, or name of, the city where the previous world's fair of universal or horticultural class reversed to main series
Next nextunho No link to the article regarding, or name of, the next world's fair of universal or horticultural class reversed to main series
in nextunhocity No link to the article regarding, or name of, the city where the next world's fair of universal or horticultural class reversed to main series
Simultaneous section
Universal simuni No link to the article regarding, or name of, the universal exposition in the same year (e.g. 1992 Universal Expo in the Genova 1992 infobox)
Specialized simspe No link to the article regarding, or name of, the specialized exposition in the same year (e.g. Genova 1992 in the 1992 Universal Expo infobox)
Horticultural simhor No link to the article regarding, or name of, the horticultural exposition in the same year (e.g. Floriade 1992 in the 1992 Universal Expo infobox)
Other simoth No link to the article regarding, or name of, one or more unrecognized exposition(s) in the same year
Internet section
Website website No URL of website(s)


Blank syntax

<syntaxhighlight lang="wikitext">

{{#switch:
       | 10|11|12|13|14 = 
       | {{#ifeq: | Triennial | Triennial  | {{#ifeq: | Horticultural | EXPO }}   }}
}}
{{#if:|Overview}}
BIE-class{{#if:| exposition|Unrecognized exposition}}
Category{{#ifeq: | Universal |
 {{#ifeq: | 0 | Historical Expo| 
  {{#ifeq: | 1 | First category General Exposition|
   {{#ifeq: | 2 | Second category General Exposition|
    {{#ifeq: | 3 | International Registered Exhibition|
     {{#ifeq: | 10 | Historical Expo| 
      {{#ifeq: | 11 | First category General Exposition|
       {{#ifeq: | 12 | Second category General Exposition|
        {{#ifeq: | 13 | International Registered Exhibition| 
        }}
       }}
      }}
     }}
    }}
   }}
  }}
 }}

| {{#ifeq: | Specialized |

  {{#ifeq: | 2 | International specialized exposition|
   {{#ifeq: | 3 | International Recognized Exhibition|
    {{#ifeq: | 12 | International specialized exposition|
     {{#ifeq: | 13 | International Recognized Exhibition|   
     }}
    }}
   }}
  }}
  | }}
}}
{{#if:|Participant(s)}}
{{#if:|Location}}
{{#if:|Timeline}}
{{#if:| expositions}}
Previous{{#if:|in}}
Next{{#if:|in}}
{{#if: |{{#if:| |{{#ifeq: | Specialized | Universal expositions | Specialized expositions}} }} }}
Previous{{#if:|in}}
Next{{#if:|in}}
{{#if: | {{#ifeq: | Horticultural | Universal expositions | Horticultural expositions}} | }}
Previous{{#if:|in}}
Next{{#if:|in}}
{{#if:|Simultaneous}}
{{#if:|Internet}}

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox World's Fair/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }}</syntaxhighlight>

Example

<syntaxhighlight lang="wikitext">
{{#switch: 0 11|12|13|14 = Great Exhibition Triennial | Triennial 1851 | {{#ifeq:Universal | Horticultural | EXPO }} 1851 London }} }}
File:Crystal Palace from the northeast.jpg
The Great Exhibition 1851
{{#if:UniversalGreat ExhibitionEveryone competingCrystal Palace10.5 hectaresTelegraph, Vulcanised rubber10 mln|Overview}}
BIE-class{{#if:Universal| Universal exposition|Unrecognized exposition}}
Category{{#ifeq:Universal | Universal |
 {{#ifeq:0 | 0 | Historical Expo| 
  {{#ifeq:0 | 1 | First category General Exposition|
   {{#ifeq:0 | 2 | Second category General Exposition|
    {{#ifeq:0 | 3 | International Registered Exhibition|
     {{#ifeq:0 | 10 | Historical Expo| 
      {{#ifeq:0 | 11 | First category General Exposition|
       {{#ifeq:0 | 12 | Second category General Exposition|
        {{#ifeq:0 | 13 | International Registered Exhibition| 0
        }}
       }}
      }}
     }}
    }}
   }}
  }}
 }}
Specialized |
  {{#ifeq:0 | 2 | International specialized exposition|
   {{#ifeq:0 | 3 | International Recognized Exhibition|
    {{#ifeq:0 | 12 | International specialized exposition|
     {{#ifeq:0 | 13 | International Recognized Exhibition| 0  
     }}
    }}
   }}
  }}
}} }}
NameGreat Exhibition
MottoEveryone competing
Building(s)Crystal Palace
Area10.5 hectares
Invention(s)Telegraph, Vulcanised rubber
Visitors10 mln
{{#if:203510|Participant(s)}}
Countries20
Organizations3
Business510
{{#if:United KingdomLondonHyde Park|Location}}
CountryUnited Kingdom
CityLondon
VenueHyde Park
{{#if:184918491 May 185111 October 1851|Timeline}}
Bidding1849
Awarded1849
Opening1 May 1851
Closure11 October 1851
{{#if:noneExposition Universelle| Universal expositions}}
Previousnone {{#if:|in}}
NextExposition Universelle {{#if:Paris|in}} Paris
{{#if:Pottery expo Shamrock international|{{#if:Empire Exhibitions| Empire Exhibitions |{{#ifeq:Universal | Specialized | Universal expositions | Specialized expositions}} }} }}
PreviousPottery expo {{#if:Dundee (1812)|in}} Dundee (1812)
NextShamrock international {{#if:Dublin|in}} Dublin
{{#if: Flower Power 1875 | {{#ifeq:Universal | Horticultural | Universal expositions | Horticultural expositions}} | }}
Previous{{#if:|in}}
NextFlower Power 1875 {{#if:Kew|in}} Kew
{{#if:Kite exhibit Hong KongBotanic 1851 MerseysideCanons and guns Baltimore|Simultaneous}}
SpecializedKite exhibit Hong Kong
Horticultural (AIPH)Botanic 1851 Merseyside
OtherCanons and guns Baltimore
{{#if:|Internet}}
{{#switch:
 {{#if:
{{{demospace}}} Template template other
   }}
 }}
Infobox Infobox|[[Category:Infobox templates|]]}}}} other #default =

}}</syntaxhighlight>

{{#switch: 0 11|12|13|14 = Great Exhibition Triennial | Triennial 1851 | {{#ifeq:Universal | Horticultural | EXPO }} 1851 London }} }}
File:Crystal Palace from the northeast from Dickinson's Comprehensive Pictures of the Great Exhibition of 1851. 1854.jpg
The Great Exhibition 1851
{{#if:UniversalGreat ExhibitionEveryone competingCrystal Palace10.5 hectaresTelegraph, Vulcanised rubber10 mln|Overview}}
BIE-class{{#if:Universal| Universal exposition|Unrecognized exposition}}
Category{{#ifeq:Universal | Universal |
 {{#ifeq:0 | 0 | Historical Expo| 
  {{#ifeq:0 | 1 | First category General Exposition|
   {{#ifeq:0 | 2 | Second category General Exposition|
    {{#ifeq:0 | 3 | International Registered Exhibition|
     {{#ifeq:0 | 10 | Historical Expo| 
      {{#ifeq:0 | 11 | First category General Exposition|
       {{#ifeq:0 | 12 | Second category General Exposition|
        {{#ifeq:0 | 13 | International Registered Exhibition| 0
        }}
       }}
      }}
     }}
    }}
   }}
  }}
 }}
Specialized |
  {{#ifeq:0 | 2 | International specialized exposition|
   {{#ifeq:0 | 3 | International Recognized Exhibition|
    {{#ifeq:0 | 12 | International specialized exposition|
     {{#ifeq:0 | 13 | International Recognized Exhibition| 0  
     }}
    }}
   }}
  }}
}} }}
NameGreat Exhibition
MottoEveryone competing
Building(s)Crystal Palace
Area10.5 hectares
Invention(s)Telegraph, Vulcanised rubber
Visitors10 mln
{{#if:203510|Participant(s)}}
Countries20
Organizations3
Business510
{{#if:United KingdomLondonHyde Park|Location}}
CountryUnited Kingdom
CityLondon
VenueHyde Park
{{#if:184918491 May 185111 October 1851|Timeline}}
Bidding1849
Awarded1849
Opening1 May 1851
Closure11 October 1851
{{#if:noneExposition Universelle| Universal expositions}}
Previousnone {{#if:|in}}
NextExposition Universelle {{#if:Paris|in}} Paris
{{#if:Pottery expo Shamrock international|{{#if:Empire Exhibitions| Empire Exhibitions |{{#ifeq:Universal | Specialized | Universal expositions | Specialized expositions}} }} }}
PreviousPottery expo {{#if:Dundee (1812)|in}} Dundee (1812)
NextShamrock international {{#if:Dublin|in}} Dublin
{{#if: Flower Power 1875 | {{#ifeq:Universal | Horticultural | Universal expositions | Horticultural expositions}} | }}
Previous{{#if:|in}}
NextFlower Power 1875 {{#if:Kew|in}} Kew
{{#if:Kite exhibit Hong KongBotanic 1851 MerseysideCanons and guns Baltimore|Simultaneous}}
SpecializedKite exhibit Hong Kong
Horticultural (AIPH)Botanic 1851 Merseyside
OtherCanons and guns Baltimore
{{#if:|Internet}}
{{#switch:
 {{#if:
{{{demospace}}} Template template other
   }}
 }}
Infobox Infobox|[[Category:Infobox templates|]]}}}} other #default =

}}

See also