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
| imagewidth = [defaults to 250]
| caption = Bob the Flower
| map = File:Example.jpg
| mapwidth = [defaults to 250]
| mapcaption = Land of Bob
| type = Garden
| level = 10-20
| location = Earth
| inhabitants = Flowerfolk
}}
Results in...
<infobox> <title source="name"><default>Infobox location/doc</default></title> <image source="image"/> <label>map</label> <label>mapwidth</label><default>250</default> <label>mapcaption</label><default> </default> <label>Type</label> <label>Level</label> <label>Location</label> <label>Inhabitants</label> </infobox>