Template:Infobox location/doc: Difference between revisions
Appearance
No edit summary Tag: sourceedit |
No edit summary Tag: sourceedit |
||
| Line 8: | Line 8: | ||
| name = Land of Bob [defaults to pagename] | | name = Land of Bob [defaults to pagename] | ||
| image = File:Example.jpg | | image = File:Example.jpg | ||
| caption = Bob the Flower | | caption = Bob the Flower | ||
| map = File:Example.jpg | | map = File:Example.jpg | ||
| mapcaption = Land of Bob | | mapcaption = Land of Bob | ||
| type = Garden | | type = Garden | ||
Revision as of 14:57, 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
| caption = Bob the Flower
| map = File:Example.jpg
| 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>