Template:Infobox Settlement: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 115: | Line 115: | ||
<group> | <group> | ||
<data source="location"><label>Location</label><format>{{#ifexist:{{#var:location}}|[[{{#var:location}}]]|{{#var:location}}}}</format></data> | <data source="location"><label>Location</label><format>{{#ifexist:{{#var:location}}|[[{{#var:location}}]]|{{#var:location}}}}</format></data> | ||
<data source="population"><label>Population</label><format>{{#if:{{#var:population}}|{{ | <data source="population"><label>Population</label><format>{{#if:{{#var:population}}|{{formatnum:{{#var:population}}}}|}}</format></data> | ||
<data source="founding-date"><label>Founded</label><format>{{#var:foundingprint}}</format></data> | <data source="founding-date"><label>Founded</label><format>{{#var:foundingprint}}</format></data> | ||
<data source="dissolution-date"><label>Dissolved</label><format>{{#var:dissolutionprint}}</format></data> | <data source="dissolution-date"><label>Dissolved</label><format>{{#var:dissolutionprint}}</format></data> | ||
Revision as of 19:49, 26 March 2023
This template defines the table "settlements". View table.
Parameters
name- Defaults to the page name if not supplied.axiom- Defaults to nonefounding-date- Input with DD-MM-YYYY format. Can also accept MM-YYYY and YYYY.dissolution-date- Input with DD-MM-YYYY format. Can also accept MM-YYYY and YYYY.leaders- Input as list separated by commas. Any individuals with articles associated with them will be automatically linked, so linking is not required.location- Accepts only one location. Any location with an article associated with it will automatically be linked, so linking is not required.population- Accepts an unformatted number (no commas or additional characters). Will automatically format the number for the infobox using the formatnum function.demonym- Accepts a String.significance- Accepts text. Unlike other strings, can be longer than 300 characters.