Template:Infobox location/doc
Appearance
- Description
- This template is used to create a location infobox.
- Syntax
- Type
{{infobox location{{#ifeq: ...|---|||<...>}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}}somewhere, with parameters as shown below. - Sample output
{{infobox location
| name = Land of Bob [defaults to pagename]
| image = File:Example.jpg
| caption = Bob the Flower
| map = File:Example.jpg
| mapcaption = Land of Bob
| type = Garden
| location = Earth
| inhabitants = Flowerfolk
|web serial = imaginary
}}
Results in...
<infobox> <title source="name"><default>Infobox location/doc</default></title>
<image source="image"><default>File:Placeholder location.png</default></image> <header>Basic Information</header> <image source="map"></image> <label>Type</label> <label>Location</label> <label>Teams</label> <label>Inhabitants</label> <header>First Appearance</header> <label>Worm Debut</label> <label>Ward Debut</label> </infobox>