Template:Infobox test/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 35: Line 35:
</pre>
</pre>
== Parameters ==
== Parameters ==
; <code>name</code>: name of the settlement
; <code>name</code>:  
; <code>tag</code>: tagline of the settlement
; <code>tag</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>area</code>:  
; <code>country</code>: Country the settlement is
; <code>population</code>:  
; <code>founded_in</code>: date the settlement was founded
; <code>temples</code>:  
; <code>founded_by</code>: who founded the settlement
; <code>demonym</code>:  
; <code>government</code>: government type
; <code>countries</code>:  
; <code>leader_title</code>: title of the leader
; <code>languages</code>:  
; <code>leader_name</code>: name of the current leader
; <code>largest_cities</code>:  
; <code>area</code>: area of the settlement
; <code>setting</code>:  
; <code>elevation</code>: elevation of the settlement
; <code>population</code>: population of the settlement
; <code>demonym</code>: name of the people from the settlement
; <code>languages</code>: major languages spoken in settlement
; <code>temples</code>: major temples in the settlement
; <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}}
Line 59: Line 53:
{
{
"params": {
"params": {
"name": {
"name": {},
"label": "Name",
"tag": {},
"description": "name of the settlement",
"image": {},
"type": "string",
"caption": {},
"default": "{{PAGENAME}}"
"area": {},
},
"population": {},
"tag": {
"temples": {},
"label": "Tag",
"demonym": {},
"description": "tagline of the settlement",
"countries": {},
"type": "string"
"languages": {},
},
"largest_cities": {},
"settlement_type": {
"setting": {}
"label": "Settlement Type",
"description": "city, town, capital, independent",
"type": "string"
},
"image": {
"label": "Image",
"description": "image of the city",
"type": "wiki-file-name"
},
"caption": {
"label": "Caption",
"description": "caption about the image",
"type": "string"
},
"country": {
"label": "Country",
"description": "Country the settlement is",
"type": "wiki-page-name"
},
"founded_in": {
"label": "Founded in",
"description": "date the settlement was founded",
"type": "date"
},
"founded_by": {
"label": "Founded by",
"description": "who founded the settlement",
"type": "wiki-page-name"
},
"government": {
"label": "Governemnt",
"description": "government type",
"type": "string"
},
"leader_title": {
"label": "Leader Title",
"description": "title of the leader",
"example": "Mayor",
"type": "string"
},
"leader_name": {
"label": "Leader Name",
"description": "name of the current leader",
"type": "wiki-page-name"
},
"area": {
"label": "Area",
"description": "area of the settlement",
"type": "string"
},
"elevation": {
"label": "Elevation",
"description": "elevation of the settlement",
"type": "string"
},
"population": {
"label": "Population",
"description": "population of the settlement",
"type": "string"
},
"demonym": {
"label": "Demonym",
"description": "name of the people from the settlement",
"type": "string"
},
"languages": {
"label": "Languages",
"description": "major languages spoken in settlement",
"type": "string"
},
"temples": {
"label": "Temples",
"description": "major temples in the settlement",
"type": "string"
},
"setting": {
"label": "Setting",
"description": "setting the settlement is in",
"type": "wiki-page-name"
}
}
}
}
}

Navigation menu