Template:Infobox test/doc: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 47: Line 47:
</pre>
</pre>
== Parameters ==
== Parameters ==
; <code>name</code>:  
; <code>name</code>: name of the settlement
; <code>tag</code>:  
; <code>tag</code>: tagline of the settlement
; <code>settlement_type</code>:  
; <code>settlement_type</code>: city, town, capital, independent
; <code>image</code>:  
; <code>image</code>: image of the city
; <code>caption</code>:  
; <code>caption</code>: caption about the image
; <code>country</code>:  
; <code>country</code>: Country the settlement is
; <code>founded_in</code>:  
; <code>founded_in</code>: date the settlement was founded
; <code>founded_by</code>:  
; <code>founded_by</code>: who founded the settlement
; <code>government</code>:  
; <code>government</code>: government type
; <code>leader_title</code>:  
; <code>leader_title</code>: title of the leader
; <code>leader_name</code>:  
; <code>leader_name</code>: name of the current leader
; <code>area</code>:  
; <code>area</code>: area of the settlement
; <code>elevation</code>:  
; <code>elevation</code>: elevation of the settlement
; <code>population</code>:  
; <code>population</code>: population of the settlement
; <code>demonym</code>:  
; <code>demonym</code>: name of the people from the settlement
; <code>languages</code>:  
; <code>languages</code>: major languages spoken in settlement
; <code>temples</code>:  
; <code>temples</code>: major temples in the settlement
; <code>setting</code>:  
; <code>setting</code>: setting the settlement is in
==TemplateData==
==TemplateData==
{{Collapse top|title=[[Stiles.casa Wiki:TemplateData|TemplateData]] documentation used by [[Stiles.casa Wiki:VisualEditor|VisualEditor]] and other tools}}
{{Collapse top|title=[[Stiles.casa Wiki:TemplateData|TemplateData]] documentation used by [[Stiles.casa Wiki:VisualEditor|VisualEditor]] and other tools}}

Revision as of 15:45, 26 May 2022

This template can be used to add at-a-glance information for settlements.

Usage

{{{name}}}
{{{tag}}}
{{{image}}}
{{{caption}}}
{{Infobox Settlement
| name = 
| tag = 
| settlement_type = 
| image = 
| caption = 
| country = 
| founded_in = 
| founded_by = 
| government = 
| leader_title = 
| leader_name = 
| area = 
| elevation = 
| population = 
| demonym = 
| languages = 
| temples = 
| setting = 
}}

Parameters

name
name of the settlement
tag
tagline of the settlement
settlement_type
city, town, capital, independent
image
image of the city
caption
caption about the image
country
Country the settlement is
founded_in
date the settlement was founded
founded_by
who founded the settlement
government
government type
leader_title
title of the leader
leader_name
name of the current leader
area
area of the settlement
elevation
elevation of the settlement
population
population of the settlement
demonym
name of the people from the settlement
languages
major languages spoken in settlement
temples
major temples in the settlement
setting
setting the settlement is in

TemplateData

TemplateData documentation used by VisualEditor and other tools

TemplateData for Infobox test

No description.

Template parameters

ParameterDescriptionTypeStatus
Namename

name of the settlement

Default
{{PAGENAME}}
Stringoptional
Tagtag

tagline of the settlement

Stringoptional
Settlement Typesettlement_type

city, town, capital, independent

Stringoptional
Imageimage

image of the city

Fileoptional
Captioncaption

caption about the image

Stringoptional
Countrycountry

Country the settlement is

Page nameoptional
Founded infounded_in

date the settlement was founded

Dateoptional
Founded byfounded_by

who founded the settlement

Page nameoptional
Governemntgovernment

government type

Stringoptional
Leader Titleleader_title

title of the leader

Example
Mayor
Stringoptional
Leader Nameleader_name

name of the current leader

Page nameoptional
Areaarea

area of the settlement

Stringoptional
Elevationelevation

elevation of the settlement

Stringoptional
Populationpopulation

population of the settlement

Stringoptional
Demonymdemonym

name of the people from the settlement

Stringoptional
Languageslanguages

major languages spoken in settlement

Stringoptional
Templestemples

major temples in the settlement

Stringoptional
Settingsetting

setting the settlement is in

Page nameoptional