Template:Infobox location: Difference between revisions

From fattwiki
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 1: Line 1:
<onlyinclude><infobox>
<onlyinclude><infobox theme-source="color_theme">
<title source="title"><default>''Unknown''</default></title>
  <title source="title"><default>{{PAGENAME}}</default></title>
<image source="image"><caption source="imagecaption"/></image>
  <image source="image"><caption source="caption"/></image>
<data source="purpose"><label>Purpose</label></data>
  <data source="aliases"><labeL>Other names</label></data>
<data source="location"><label>Location</label></data>
  <data source="location"><label>Location</label></data>
<data source="inhabitants"><label>Inhabitants</label></data>
  <data source="inhabitants"><label>Inhabitants</label></data>
<data source="aligned_with"><label>Aligned with</label></data>
  <data source="denonym"><label>Denonym</label></data>
  <data source="season"><label>Season</label></data>
</infobox></onlyinclude><noinclude><br style="clear:both;"/>
</infobox></onlyinclude><noinclude><br style="clear:both;"/>
{{documentation}}[[Category:Infoboxes]]</noinclude>
{{documentation}}[[Category:Infoboxes]]</noinclude>

Revision as of 01:39, 18 July 2022

There is a problem with parsing the infobox

  • 0
  • 1
    <title source="title"><default>{{PAGENAME}}</default></title>
  • 2
    <image source="image"><caption source="caption"/></image>
  • 3
    <data source="aliases"><labeL>Other names</label></data>

    Opening and ending tag mismatch

  • 4
    <data source="location"><label>Location</label></data>
  • 5
    <data source="inhabitants"><label>Inhabitants</label></data>
  • 6
    <data source="denonym"><label>Denonym</label></data>
  • 7
    <data source="season"><label>Season</label></data>
  • 8


Syntax

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

Example

There is a problem with parsing the infobox

  • 0
  • 1
    <title source="title"><default>{{PAGENAME}}</default></title>
  • 2
    <image source="image"><caption source="caption"/></image>
  • 3
    <data source="aliases"><labeL>Other names</label></data>

    Opening and ending tag mismatch

  • 4
    <data source="location"><label>Location</label></data>
  • 5
    <data source="inhabitants"><label>Inhabitants</label></data>
  • 6
    <data source="denonym"><label>Denonym</label></data>
  • 7
    <data source="season"><label>Season</label></data>
  • 8

{{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

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