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
gkKirkburn (talk)
(New page: {| class="infobox" style="font-size:89%; width:300px;" |- ! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}} |- style="t...)
gkKore Sedai (talk)
(Infobox updated using the portable infobox migration tool)
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:300px;"
<onlyinclude><infobox>
|-
    <navigation>{{#if:{{{game|}}}|[[{{#invoke:{{{game}}}}} location|''{{#invoke:{{{game}}}}}'' location]]}}</navigation>
! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" |  {{{name|{{PAGENAME}}}}}
<title source="name"><default>{{PAGENAME}}</default></title>
|- style="text-align:center;"
<group>
| colspan="2" style="padding:0.5em;" | [[{{{image|Image:Placeholder location.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
    <image source="image"/>
|- style="text-align:center;"
    <data source="type">
| colspan="2" style="padding:0.5em;" | [[{{{map}}}|{{{mapwidth|250}}}px]]<br/>''{{{mapcaption| }}}''
      <label>Type</label>
|-
    </data>
! colspan="2" style="background-color:#3366CC; color:#ffffff;" | Vital statistics
    <data source="region">
|-
      <label>Region</label>
| style="width:30%;" | '''Type'''
    </data>
| style="width:70%;" | {{{type}}}
    <data source="locations">
|-
      <label>Locations</label>
| '''Level'''
    </data>
| {{{level}}}
    <data source="inhabitants">
|-
      <label>Inhabitants</label>
| '''Location'''
    </data>
| {{{location}}}
  </group>
|-
</infobox></onlyinclude>
| '''Inhabitants'''
<noinclude>
| {{{inhabitants}}}
== Usage & preview ==
|}<noinclude><br style="clear:both;" />
Type in this:
{{documentation}}</noinclude>
 
<pre>
{{Infobox location
|name=
|game=
|image=
|type=
|region=
|locations=
|inhabitants=
}}
 
</pre>
 
to see this:
 
{{Infobox location
|name=This is a test
|image=This is a test
|type=This is a test
|region=This is a test
|locations=This is a test
|inhabitants=This is a test
}}
 
 
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
</noinclude>

Revision as of 13:18, December 7, 2019

<infobox>

   <navigation></navigation>

<title source="name"><default>Infobox location</default></title> <group>

   <image source="image"/>
   
     <label>Type</label>
   
   
     <label>Region</label>
   
   
     <label>Locations</label>
   
   
     <label>Inhabitants</label>
   
 </group>

</infobox>

Usage & preview

Type in this:

{{Infobox location
|name=
|game=
|image=
|type=
|region=
|locations=
|inhabitants=
}}

to see this:

<infobox>

   <navigation></navigation>

<title source="name"><default>Infobox location</default></title> <group>

   <image source="image"/>
   
     <label>Type</label>
   
   
     <label>Region</label>
   
   
     <label>Locations</label>
   
   
     <label>Inhabitants</label>
   
 </group>

</infobox>


Click here to refresh the preview above