Difference between revisions of "Template:Place infobox"

From Minecart Rapid Transit Wiki
Jump to navigation Jump to search
(Created page with "{{infobox | headerstyle = background:{{{color|#ccf}}}; | above = {{{name|{{PAGENAME}}}}} | image = {{{img|}}} | header1 = Town Officials | label2 = {{{pos5|Mayor}}} | data2 =...")
 
Line 3: Line 3:
 
| above = {{{name|{{PAGENAME}}}}}
 
| above = {{{name|{{PAGENAME}}}}}
 
| image = {{{img|}}}
 
| image = {{{img|}}}
| header1 = Town Officials
+
| header1 = Officials
 
| label2 = {{{pos5|Mayor}}}
 
| label2 = {{{pos5|Mayor}}}
 
| data2 = {{{member5|{{{mayor|}}}}}}
 
| data2 = {{{member5|{{{mayor|}}}}}}
Line 14: Line 14:
 
| label6 = {{{pos3|Treasurer}}}
 
| label6 = {{{pos3|Treasurer}}}
 
| data6 = {{{member3|{{{treasurer|}}}}}}
 
| data6 = {{{member3|{{{treasurer|}}}}}}
| label7 = {{{pos4|Town Councillors}}}
+
| label7 = {{{pos4|Councillors}}}
 
| data7 = {{{member4|{{{councillors|}}}}}}
 
| data7 = {{{member4|{{{councillors|}}}}}}
 
| header9 = Transit
 
| header9 = Transit
Line 40: Line 40:
 
| label21 = Recognized as town
 
| label21 = Recognized as town
 
| data21 = {{{recognized|}}}
 
| data21 = {{{recognized|}}}
| label22 = Town Rank
+
| label22 = Rank
 
| data22 = {{{rank|}}}
 
| data22 = {{{rank|}}}
 
| label23 = Renamed
 
| label23 = Renamed
Line 76: Line 76:
 
==Documentation==
 
==Documentation==
 
This template will create an Infobox, or Information Box, for a place, typically used for districts or formerly independent cities. It is the same template as the [[Template:Town infobox|Town infobox]] without the "Towns" category. It should be placed at the top of a page, ideally with code like this:
 
This template will create an Infobox, or Information Box, for a place, typically used for districts or formerly independent cities. It is the same template as the [[Template:Town infobox|Town infobox]] without the "Towns" category. It should be placed at the top of a page, ideally with code like this:
<pre><nowiki>{{Town infobox</nowiki>
+
<pre><nowiki>{{Place infobox</nowiki>
 
| color = Color of the headers in the infobox. Use hexadecimal (with the #) codes or words.
 
| color = Color of the headers in the infobox. Use hexadecimal (with the #) codes or words.
| name = Town name, if it differs from the page title
+
| name = Place name, if it differs from the page title
 
| img = Screenshot. You need to use the full parameters, including brackets, file prefix and extension.
 
| img = Screenshot. You need to use the full parameters, including brackets, file prefix and extension.
 
| mayor = Name of mayor. Use {{u|username|display name}} to link to userpages if you want.
 
| mayor = Name of mayor. Use {{u|username|display name}} to link to userpages if you want.
 
| depmayor = Name of deputy mayor
 
| depmayor = Name of deputy mayor
| founder = Name of the user who founded the town, if it is different from the mayor
+
| founder = Name of the user who founded the place, if it is different from the mayor
| sheriff = Name of the user who is the sheriff of the town
+
| sheriff = Name of the user who is the sheriff
 
| treasurer = Name of the treasurer
 
| treasurer = Name of the treasurer
| councillors = Members who are on the town council but not included above
+
| councillors = Members who are on the council but not included above
 
| pos1-6 = Used to customise the position names. Replaces Founder, Sheriff, Treasurer, Councillors, Mayor, and Deputy Mayor respectively.
 
| pos1-6 = Used to customise the position names. Replaces Founder, Sheriff, Treasurer, Councillors, Mayor, and Deputy Mayor respectively.
 
| member1-4 = Used alongside the custom position names.
 
| member1-4 = Used alongside the custom position names.
| mrt = MRT station. Use {{s|station}}. If there are multiple stations within the town, put a <br/> tag between them
+
| mrt = MRT station. Use {{s|station}}. If there are multiple stations, put a <br/> tag between them
 
| bus = Bus transit, use {{transit|Bus #}}
 
| bus = Bus transit, use {{transit|Bus #}}
 
| road = Road connections, use {{road|TYPE|NAME}}
 
| road = Road connections, use {{road|TYPE|NAME}}
Line 95: Line 95:
 
| rail = Rail connections
 
| rail = Rail connections
 
| transit = Other transit - use {{transit}}
 
| transit = Other transit - use {{transit}}
| population = population, as provided by the town (please don't change all the time - maybe once a month)
+
| population = population, as provided by the owner (please don't change all the time - maybe once a month)
 
| coords = Coordinates of the town hall
 
| coords = Coordinates of the town hall
| founded = Date the town was founded
+
| founded = Date the place was founded
| recognized = Date town owner was recognized as a Councillor
+
| recognized = Date owner was recognized as a Councillor
| rank = The rank which corresponds with town's size along the rank ladder (Councillor/Mayor, etc.) Use {{rank|Type}} to display ranks.
+
| rank = The rank which corresponds with place's size along the rank ladder (Councillor/Mayor, etc.) Use {{rank|Type}} to display ranks.
| renamed = Date town was renamed from an older name
+
| renamed = Date place was renamed from an older name
| state = If the town is a part of a wider State, then link it here.
+
| state = If the place is a part of a wider State, then link it here.
| languages = Language(s) of the town; should only be used in the event that the town uses 2+ languages.
+
| languages = Language(s) of the place; should only be used in the event that the place uses 2+ languages.
| world = Which world the town is located on (Old/New)
+
| world = Which world the place is located on (Old/New)
| postcode = Post code(s) used by the town
+
| postcode = Post code(s) used by the place
| party = Political party the town is affiliated with
+
| party = Political party the place is affiliated with
| mpo = Used if town is in a Metropolitan Planning Organization.
+
| mpo = Used if place is in a Metropolitan Planning Organization.
 
| ward = Specifies which ward(s) the city is located in. Either put in one number, two numbers separated by a comma and a space, or the text 'Epsilon'.
 
| ward = Specifies which ward(s) the city is located in. Either put in one number, two numbers separated by a comma and a space, or the text 'Epsilon'.
 
| phonecode = Specifies what area code of the Creeperville Telecommunications System is used by the city.
 
| phonecode = Specifies what area code of the Creeperville Telecommunications System is used by the city.

Revision as of 20:05, 31 March 2020

Place infobox
Officials
Transit
Facts and Figures
Alert.png Please do not just copy the source of the page!
This template is designed to help you in wiki-ing. Use the documentation below to correctly insert this infobox into your page! This will also save on space.
Alert.png

Documentation

This template will create an Infobox, or Information Box, for a place, typically used for districts or formerly independent cities. It is the same template as the Town infobox without the "Towns" category. It should be placed at the top of a page, ideally with code like this:

{{Place infobox
| color = Color of the headers in the infobox. Use hexadecimal (with the #) codes or words.
| name = Place name, if it differs from the page title
| img = Screenshot. You need to use the full parameters, including brackets, file prefix and extension.
| mayor = Name of mayor. Use {{u|username|display name}} to link to userpages if you want.
| depmayor = Name of deputy mayor
| founder = Name of the user who founded the place, if it is different from the mayor
| sheriff = Name of the user who is the sheriff
| treasurer = Name of the treasurer
| councillors = Members who are on the council but not included above
| pos1-6 = Used to customise the position names. Replaces Founder, Sheriff, Treasurer, Councillors, Mayor, and Deputy Mayor respectively.
| member1-4 = Used alongside the custom position names.
| mrt = MRT station. Use {{s|station}}. If there are multiple stations, put a <br/> tag between them
| bus = Bus transit, use {{transit|Bus #}}
| road = Road connections, use {{road|TYPE|NAME}}
| water = Waterway connections
| air = Nearest Airport
| rail = Rail connections
| transit = Other transit - use {{transit}}
| population = population, as provided by the owner (please don't change all the time - maybe once a month)
| coords = Coordinates of the town hall
| founded = Date the place was founded
| recognized = Date owner was recognized as a Councillor
| rank = The rank which corresponds with place's size along the rank ladder (Councillor/Mayor, etc.) Use {{rank|Type}} to display ranks.
| renamed = Date place was renamed from an older name
| state = If the place is a part of a wider State, then link it here.
| languages = Language(s) of the place; should only be used in the event that the place uses 2+ languages.
| world = Which world the place is located on (Old/New)
| postcode = Post code(s) used by the place
| party = Political party the place is affiliated with
| mpo = Used if place is in a Metropolitan Planning Organization.
| ward = Specifies which ward(s) the city is located in. Either put in one number, two numbers separated by a comma and a space, or the text 'Epsilon'.
| phonecode = Specifies what area code of the Creeperville Telecommunications System is used by the city.
| other1-5 = Optional custom information, the label paired with below.
| data1-5 = The data associated with the "other" of the same number.
| below = Extra space for wide templates or when you do not want a label associated with the info
}}