Template:Infobox location: Difference between revisions
Appearance
mNo edit summary Tag: sourceedit |
Damage3245 (talk | contribs) No edit summary |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 8: | Line 8: | ||
<data source="teams"><label>'''Teams'''</label></data> | <data source="teams"><label>'''Teams'''</label></data> | ||
<data source="inhabitants"><label>'''Inhabitants'''</label></data> | <data source="inhabitants"><label>'''Inhabitants'''</label></data> | ||
<header>First | <header>First Appearance</header> | ||
<data source="web serial"><label>''' | <data source="web serial"><label>'''Worm Debut'''</label></data> | ||
</ | <data source="ward"><label>'''Ward Debut'''</label></data> | ||
</infobox><noinclude>{{documentation}}</noinclude> | |||
< | |||
<noinclude> | |||
{{documentation}} | |||
</noinclude> | |||
Latest revision as of 07:42, October 25, 2021
<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 Appearance</header> <label>Worm Debut</label> <label>Ward Debut</label> </infobox>
Template documentation (for the above template, sometimes hidden or invisible)
- 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 Appearance</header> <label>Worm Debut</label> <label>Ward Debut</label> </infobox>Visit Template:Infobox location/doc to edit this text! (How does this work?)