Template:Infobox location: Difference between revisions

From fattwiki
TwilightMirageWiki>AlastairCodd
No edit summary
No edit summary
Tag: 2017 source edit
 
(6 intermediate revisions by 3 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>
<data source="purpose"><label>Purpose</label></data>
  </title>
<data source="location"><label>Location</label></data>
  <image source="image">
<data source="inhabitants"><label>Inhabitants</label></data>
    <caption source="caption"/>
<data source="aligned_with"><label>Aligned with</label></data>
  </image>
</infobox></onlyinclude><noinclude><br style="clear:both;"/>
  <data source="aliases">
{{documentation}}</noinclude>
    <label>Other names</label>
  </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