Template:Infobox location/doc: Difference between revisions
Appearance
No edit summary |
No edit summary Tag: sourceedit |
||
| Line 14: | Line 14: | ||
| mapcaption = Land of Bob | | mapcaption = Land of Bob | ||
| type = Garden | | type = Garden | ||
| location = Earth | | location = Earth | ||
| inhabitants = Flowerfolk | | inhabitants = Flowerfolk | ||
| Line 28: | Line 27: | ||
| mapcaption = Bob the Flower | | mapcaption = Bob the Flower | ||
| type = Garden | | type = Garden | ||
| location = Earth | | location = Earth | ||
| inhabitants = Flowerfolk | | inhabitants = Flowerfolk | ||
Revision as of 14:56, February 8, 2016
- 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
| location = Earth
| inhabitants = Flowerfolk
}}
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>