TwilightMirageWiki>AlastairCodd (Removed defaults) |
No edit summary Tag: 2017 source edit |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude><infobox> | <onlyinclude><infobox theme-source="color_theme"> | ||
<title source="title"> | |||
<default>{{PAGENAME}}</default> | |||
</title> | |||
<image source="image"> | |||
<caption source="caption"/> | |||
</image> | |||
<data source="aliases"> | |||
</infobox></onlyinclude><noinclude><br style="clear:both;"/> | <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
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Color Theme | color_theme | The color theme to use for this infobox, ex. aih, sih, pzn. See a list of all abbreviations on the Getting Started page.
| String | suggested |
Title | title | Title for this infobox (if different from the page name) | String | optional |
Image | image | no description | File | optional |
Caption | caption | no description | Content | optional |
Other names | aliases | no description | Content | optional |
Location | location | For if this location is contained within a larger location | Content | optional |
Inhabitants | inhabitants | no description | Content | optional |
Leader | leader | no description | Content | optional |
Demonym | demonym | The word used for people who live here/are from here
| String | optional |
Season | season | no description | Content | optional |