Template:Infobox location: Difference between revisions
Jump to navigation
Jump to search
Nkrs200 Wiki>Default No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{| class="infobox" style="font-size:89%; width:300px;" | {| class="infobox" style="font-size:89%; width:300px;" | ||
|- | |- | ||
! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}} | ! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em; text-align:center;" | {{{name|{{PAGENAME}}}}} | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
| colspan="2" style="padding:0.5em;" | [[{{{image|File:Placeholder location.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}'' | | colspan="2" style="padding:0.5em;" | [[{{{image|File:Placeholder location.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}'' | ||
| Line 7: | Line 7: | ||
| colspan="2" style="padding:0.5em;" | [[{{{map}}}|{{{mapwidth|250}}}px]]<br/>''{{{mapcaption| }}}'' | | colspan="2" style="padding:0.5em;" | [[{{{map}}}|{{{mapwidth|250}}}px]]<br/>''{{{mapcaption| }}}'' | ||
|- | |- | ||
! colspan="2" style="background-color:#3366CC; color:#ffffff;" | Vital statistics | ! colspan="2" style="background-color:#3366CC; color:#ffffff; text-align:center;" | Vital statistics | ||
|- | |- | ||
| style="width:30%;" | '''Type''' | | style="width:30%;" | '''Type''' | ||
Latest revision as of 01:43, 19 February 2024
| Infobox location | |
|---|---|
| File:Placeholder location.png | |
| [[{{{map}}}|250px]] | |
| Vital statistics | |
| Type | {{{type}}} |
| Level | {{{level}}} |
| Location | {{{location}}} |
| Inhabitants | {{{inhabitants}}} |
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- This template is used to create a location infobox.
- Syntax
- Type
{{infobox location|<...>}}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
| level = 10-20
| location = Earth
| inhabitants = Flowerfolk
}}
Results in...
| Land of Bob | |
|---|---|
![]() Bob the Flower | |
![]() Bob the Flower | |
| Vital statistics | |
| Type | Garden |
| Level | 10-20 |
| Location | Earth |
| Inhabitants | Flowerfolk |
Visit Template:Infobox location/doc to edit this text! (How does this work?)
