Welcome to the SaGa Wiki! We have moved off Fandom very recently, so things are still being set up around here. Please note that some images did not successfully transfer, and will need to be manually reuploaded or replaced.


Note: Keep in mind that once you have an account, you must wait one day and make 5 edits to become autoconfirmed. This allows you to skip questions while editing, to create new articles, and to upload images.

Difference between revisions of "Template:Infobox location"

From SaGa Wiki
Jump to navigationJump to search
(reverting)
(cleanup a few parameters)
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:#3B121F; color:#FFF; font-size:120%; padding:1em;" |  {{{name|{{PAGENAME}}}}}
|- style="text-align:center;"
|- style="text-align:center;"
| colspan="2" style="padding:0.5em;" | [[{{{image|Image:Placeholder location.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
| colspan="2" style="padding:0.5em;" | {{{image|Add an image here!}}}<br>{{{caption|Add a caption here!}}}
|- style="text-align:center;"
|- style="text-align:center;"
| colspan="2" style="padding:0.5em;" | [[{{{map}}}|{{{mapwidth|250}}}px]]<br/>''{{{mapcaption| }}}''
| colspan="2" style="padding:0.5em;" | {{{map|Add a map here!}}}<br>{{{mapcaption|Add a map caption here!}}}
|-
|-
! colspan="2" style="background-color:#3366CC; color:#ffffff;" | Vital statistics
! colspan="2" style="background-color:#3B121F; color:#FFF;" | Vital statistics
|-
|-
| style="width:30%;" | '''Type'''
| style="width:30%;" | '''Type'''
Line 23: Line 23:
| '''Inhabitants'''
| '''Inhabitants'''
| {{{inhabitants}}}
| {{{inhabitants}}}
|}<noinclude><br style="clear:both;" />
|}<noinclude>{{clr}}
{{documentation}}</noinclude>
{{documentation}}</noinclude>

Revision as of 00:19, January 9, 2022

Infobox location
Add an image here!
Add a caption here!
Add a map here!
Add a map caption here!
Vital statistics
Type {{{type}}}
Level {{{level}}}
Region {{{region}}}
Location {{{location}}}
Inhabitants {{{inhabitants}}}
Template documentation (for the template shown above, 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       = Image:Example.jpg
| caption     = Bob the Flower
| map         = Image:Example.jpg
| mapcaption  = Land of Bob
| type        = Garden
| region      = Paris
| level       = 10-20
| location    = Earth
| inhabitants = Flowerfolk
}}

Results in...

Land of Bob
Image:Example.jpg
Bob the Flower
Image:Example.jpg
Bob the Flower
Vital statistics
Type Garden
Level 10-20
Region Paris
Location Earth
Inhabitants Flowerfolk