Jump to content

Template:Infobox location

From Worm Wiki
Revision as of 20:55, October 23, 2019 by Damage3245 (talk | contribs)

<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>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 Appearence</header> <label>Worm Debut</label> <label>Ward Debut'</label> </infobox>