Template:Infobox location: Difference between revisions
Appearance
No edit summary |
FossilLord (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
< | <infobox> | ||
<title source="name"><default>{{PAGENAME}}</default></title> | |||
<image source="image"><default>[[File:Placeholder location.png]]</default><caption source="imagecaption"/></image> | |||
<header>Basic Information</header> | |||
<image source="map"><caption source="mapcaption"/></image> | |||
<data source="type"><label>'''Type'''</label></data> | |||
<data source="location"><label>'''Location'''</label></data> | |||
<data source="teams"><label>'''Teams'''</label></data> | |||
<data source="inhabitants"><label>'''Inhabitants'''</label></data> | |||
<header>First Appearence</header> | |||
<data source="web serial"><label>'''Web Serial'''</label></data> | |||
</infobox> | |||
[[Category:Places]] | |||
<br> | |||
<noinclude> | |||
{{documentation}} | |||
</noinclude> | |||
{{documentation}}</noinclude> | |||
Latest revision as of 06:39, March 17, 2018
<infobox> <title source="name"><default>Infobox location</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 Appearence</header>
<label>Web Serial</label>
</infobox>
| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| Visit Template:Infobox_location/doc to edit this documentation. (How does this work?) |
- 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</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 Appearence</header> <label>Web Serial</label> </infobox>