Template:Infobox location: Difference between revisions

From fattwiki
TwilightMirageWiki>Default
No edit summary
 
No edit summary
Tag: 2017 source edit
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<onlyinclude><infobox>
<onlyinclude><infobox theme-source="color_theme">
<title source="title"><default>''Unknown''</default></title>
  <title source="title">
<image source="image"><caption source="imagecaption"/></image>
    <default>{{PAGENAME}}</default>
<image source="map"><caption source="mapcaption"/></image>
  </title>
<data source="type"><label>Type</label><default>''Unknown''</default></data>
  <image source="image">
<data source="level"><label>Level</label><default>''Unknown''</default></data>
    <caption source="caption"/>
<data source="location"><label>Location</label><default>''Unknown''</default></data>
  </image>
<data source="inhabitants"><label>Inhabitants</label><default>''Unknown''</default></data>
  <data source="aliases">
</infobox></onlyinclude><noinclude><br style="clear:both;"/>
    <label>Other names</label>
{{documentation}}</noinclude>
  </data>
  <data source="location">
    <label>Location</label>
  </data>
  <data source="inhabitants">
    <label>Inhabitants</label>
  </data>
<data source="leader">
    <label>Leader</label>
  </data>
  <data source="demonym">
    <label>Demonym</label>
  </data>
  <data source="season">
    <label>Season</label>
  </data>
</infobox><!--
-->{{#ifeq: {{NAMESPACENUMBER}} | 0 | {{#if: {{{color_theme|}}} || [[Category:Infoboxes with missing color theme]] }} | }}</onlyinclude><noinclude>
<br style="clear:both;"/>
{{Documentation}}
[[Category:Infoboxes]]</noinclude>

Latest revision as of 16:47, 13 September 2022


Syntax[edit source]

{{Infobox location
| title = 
| color_theme = 
| image = 
| aliases = 
| location = 
| inhabitants = 
| demonym = 
| leader =
| season = 
}}

Example[edit source]

{{Infobox location
| title = Marielda
| color_theme = marielda
| image = 
| aliases = The City of Light
| location = [[Hieron]]
| inhabitants = humans, elves, cobbins
| leader = [[Samothes]]
| demonym = Marieldan
| season = ''[[Marielda (season)|Marielda]]''
}}

TemplateData[edit source]

This is the TemplateData for this template. It is used by the Visual Editor and other tools.

No description.

Template parameters

ParameterDescriptionTypeStatus
Color Themecolor_theme

The color theme to use for this infobox, ex. aih, sih, pzn. See a list of all abbreviations on the Getting Started page.

Example
sih
Stringsuggested
Titletitle

Title for this infobox (if different from the page name)

Stringoptional
Imageimage

no description

Fileoptional
Captioncaption

no description

Contentoptional
Other namesaliases

no description

Contentoptional
Locationlocation

For if this location is contained within a larger location

Contentoptional
Inhabitantsinhabitants

no description

Contentoptional
Leaderleader

no description

Contentoptional
Demonymdemonym

The word used for people who live here/are from here

Example
Marieldan, Ordennan
Stringoptional
Seasonseason

no description

Contentoptional