Template:SMP Town Infobox: Difference between revisions

From Hongkongggag Wiki
Jump to navigation Jump to search
Created page with "<includeonly> {{#switch: {{{world}}} | New = {{#switch: {{#invoke:String|len|{{{ward|}}}}} | 1 = [[Category:Towns in Ward {{{ward|}}}]] | 4 = [[Category:Towns in Ward {{#invoke:String|pos|{{{ward|}}}|1|1}}]] [[Category:Towns in Ward {{#invoke:String|pos|{{{ward|}}}|4|4}}]] | 7 = [[Category:Towns in Ward {{#invoke:String|pos|{{{ward|}}}|1|1}}]] [[Category:Towns in Ward {{#invoke:String|pos|{{{ward|}}}|4|4}}]] Category:Towns in Ward {{#invoke:String|pos|{{{ward|}}}|7|..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>
 
{{#switch: {{{world}}}
| New = {{#switch: {{#invoke:String|len|{{{ward|}}}}}
| 1 = [[Category:Towns in Ward {{{ward|}}}]]
| 4 = [[Category:Towns in Ward {{#invoke:String|pos|{{{ward|}}}|1|1}}]] [[Category:Towns in Ward {{#invoke:String|pos|{{{ward|}}}|4|4}}]]
| 7 = [[Category:Towns in Ward {{#invoke:String|pos|{{{ward|}}}|1|1}}]] [[Category:Towns in Ward {{#invoke:String|pos|{{{ward|}}}|4|4}}]] [[Category:Towns in Ward {{#invoke:String|pos|{{{ward|}}}|7|7}}]]
| #default = [[Category:Towns]]
}}
| Old = [[Category:Old World towns]]
}}</includeonly>
{{infobox
{{infobox
| abovestyle = background:{{{color|#ccf}}}; color:{{{textcolor|#000000}}};
| abovestyle = background:{{{color|#ccf}}}; color:{{{textcolor|#000000}}};
Line 23: Line 14:
| label3 = Mayor
| label3 = Mayor
| data3 = {{{mayor|}}}
| data3 = {{{mayor|}}}
| label4 = Caretaker
| label4 = Deputy Mayor
| data4 = {{{caretaker|}}}
| data4 = {{{dmayor|}}}
| label5 = Deputy Mayor
| headear5 = City History
| data5 = {{{depmayor|}}}
| label6 = Date founded
| label6 = Sheriff
| data6 = {{{founded|}}}
| data6 = {{{sheriff|}}}
| label7 = Faction
| label7 = Treasurer
| data7 = {{{faction|}}}
| data7 = {{{treasurer|}}}
| header8 = Geography
| label8 = Councillors
| label9 = Coordinates
| data8 = {{{councillors|}}}
| data9 = {{{coords|}}}
| label9 = {{{offslabel1|}}}
| label10 = Biome
| data9 = {{{offsdata1|}}}
| data10 = {{{biome|}}}
| label10 = {{{offslabel2|}}}
| label11 = World
| data10 = {{{offsdata2|}}}
| data11 = {{#if: {{{world|}}}|[[{{{world|}}} World]]}}
| label11 = {{{offslabel3|}}}
| label12 = Region
| data11 = {{{offsdata3|}}}
| data12 = {{{region|}}}
| label12 = {{{offslabel4|}}}
| label13 = Capital
| data12 = {{{offsdata4|}}}
| data13 = {{{capital|}}}
| label13 = {{{offslabel5|}}}
| label14 = Post code(s)
| data13 = {{{offsdata5|}}}
| data14 = {{{postcodes|}}}
 
| header14 = City recognition
| label15 = Rank
| data15 = {{{rank|}}}
| label16 = Date founded
| data16 = {{{founded|}}}
| label17 = Date recognized as Councillor
| data17 = {{{councillordate|}}}
| label18 = Date recognized as Mayor
| data18 = {{{mayordate|}}}
| label19 = Date recognized as Senator
| data19 = {{{senatordate|}}}
| label20 = Date recognized as Governor
| data20 = {{{governordate|}}}
| label21 = Date recognized as Premier
| data21 = {{{premierdate|}}}
 
| header25 = Geography
| label26 = Town hall coordinates
| data26 = {{{coords|}}}
| label27 = World
| data27 = {{#if: {{{world|}}}|[[{{{world|}}} World]]}}
| label28 = [[Ward|Ward(s)]]
| data28 = {{#if: {{{ward|}}} | {{#ifexpr: {{#invoke:String|len|{{{ward|}}}}} = 1 | [[Ward {{{ward|}}}]] | {{#ifexpr: {{#invoke:String|len|{{{ward|}}}}} = 4 | [[Ward {{#invoke:String|pos|{{{ward|}}}|1}}]]<br>[[Ward {{#invoke:String|pos|{{{ward|}}}|4}}]] | {{#ifexpr: {{#invoke:String|len|{{{ward|}}}}} = 7 | [[Ward {{#invoke:String|pos|{{{ward|}}}|1}}]]<br>[[Ward {{#invoke:String|pos|{{{ward|}}}|4}}]]<br>[[Ward {{#invoke:String|pos|{{{ward|}}}|7}}]]}} }} }} }}
| label29 = Region
| data29 = {{{region|}}}
| label30 = Capital
| data30 = {{{capital|}}}
| label31 = Post code(s)
| data31 = {{{postcodes|}}}
<!---Extra info slots--->
<!---Extra info slots--->
| label32 = {{{geolabel1|}}}
| label15 = {{{geolabel1|}}}
| data32 = {{{geodata1|}}}
| data15 = {{{geodata1|}}}
| label33 = {{{geolabel2|}}}
| label16 = {{{geolabel2|}}}
| data33 = {{{geodata2|}}}
| data16 = {{{geodata2|}}}
| label34 = {{{geolabel3|}}}
| label17 = {{{geolabel3|}}}
| data34 = {{{geodata3|}}}
| data317 = {{{geodata3|}}}
| label35 = {{{geolabel4|}}}
| label18 = {{{geolabel4|}}}
| data35 = {{{geodata4|}}}
| data18 = {{{geodata4|}}}
| label36 = {{{geolabel5|}}}
| label19 = {{{geolabel5|}}}
| data36 = {{{geodata5|}}}
| data19 = {{{geodata5|}}}
 
| header20 = Transit
| header40 = Transit
| label21 = Road connections
| label41 = MRT
| data21 = {{{road|}}}
| data41 = {{{mrt|}}}
| label22 = Air facilities
| label42 = Road connections
| data22 = {{{air|}}}
| data42 = {{{road|}}}
| label23 = Bus facilities
| label43 = Air facilities
| data23 = {{{bus|}}}
| data43 = {{{air|}}}
| label24 = Rail facilities
| label44 = Bus facilities
| data24 = {{{rail|}}}
| data44 = {{{bus|}}}
| label25 = Water transit facilities
| label45 = Rail facilities
| data25 = {{{water|}}}
| data45= {{{rail|}}}
| label26 = Local transit
| label46 = Water transit facilities
| data26 = {{{local|}}}
| data46 = {{{water|}}}
| label47 = Local transit
| data47 = {{{local|}}}
<!---Extra info slots--->
<!---Extra info slots--->
| label48 = {{{transitlabel1|}}}
| label27 = {{{transitlabel1|}}}
| data48 = {{{transitdata1|}}}
| data27 = {{{transitdata1|}}}
| label49 = {{{transitlabel2|}}}
| label28 = {{{transitlabel2|}}}
| data49 = {{{transitdata2|}}}
| data28 = {{{transitdata2|}}}
| label50 = {{{transitlabel3|}}}
| label29 = {{{transitlabel3|}}}
| data50 = {{{transitdata3|}}}
| data29 = {{{transitdata3|}}}
| label51 = {{{transitlabel4|}}}
| label30 = {{{transitlabel4|}}}
| data51 = {{{transitdata4|}}}
| data30 = {{{transitdata4|}}}
| label52 = {{{transitlabel5|}}}
| label31 = {{{transitlabel5|}}}
| data52 = {{{transitdata5|}}}
| data31 = {{{transitdata5|}}}
 
| header32 = {{#if:{{{buildsection|}}}|Builds|}}
| header60 = {{#if:{{{buildsection|}}}|Builds|}}
| label33 = No. of buildings
| label61 = No. of buildings
| data34 = {{{builds|}}}
| data61 = {{{builds|}}}
| label35 = Landmark(s)
| label62 = Landmark(s)
| data35 = {{{landmarks|}}}
| data62 = {{{landmarks|}}}
<!---Extra info slots--->
<!---Extra info slots--->
| label63 = {{{buildlabel1|}}}
| label37 = {{{buildlabel1|}}}
| data63 = {{{builddata1|}}}
| data37 = {{{builddata1|}}}
| label64 = {{{buildlabel2|}}}
| label38 = {{{buildlabel2|}}}
| data64 = {{{builddata2|}}}
| data38 = {{{builddata2|}}}
| label65 = {{{buildlabel3|}}}
| label39 = {{{buildlabel3|}}}
| data65 = {{{builddata3|}}}
| data39 = {{{builddata3|}}}
| label66 = {{{buildlabel4|}}}
| label40 = {{{buildlabel4|}}}
| data66 = {{{builddata4|}}}
| data40 = {{{builddata4|}}}
| label67 = {{{buildlabel5|}}}
| label41 = {{{buildlabel5|}}}
| data67 = {{{builddata5|}}}
| data41 = {{{builddata5|}}}
 
| header42 = {{#if:{{{etymology|}}}|Etymology|}}
| header70 = {{#if:{{{etymology|}}}|Etymology|}}
| label43 = Nickname(s)
| label71 = Nickname(s)
| data43 = {{{nicknames|}}}
| data71 = {{{nicknames|}}}
| label44 = Former name(s)
| label72 = Former name(s)
| data44 = {{{renamed|}}}
| data72 = {{{renamed|}}}
| label45 = Demonym(s)
| label73 = Demonym(s)
| data45 = {{{demonyms|}}}
| data73 = {{{demonyms|}}}
| label46 = Language(s)
| label74 = Language(s)
| data46 = {{{languages|}}}
| data74 = {{{languages|}}}
<!---Extra info slots--->
<!---Extra info slots--->
| label75 = {{{etylabel1|}}}
| label47 = {{{etylabel1|}}}
| data75 = {{{etydata1|}}}
| data47 = {{{etydata1|}}}
| label76 = {{{etylabel2|}}}
| label48 = {{{etylabel2|}}}
| data76 = {{{etydata2|}}}
| data48 = {{{etydata2|}}}
| label77 = {{{etylabel3|}}}
| label49 = {{{etylabel3|}}}
| data77 = {{{etydata3|}}}
| data49 = {{{etydata3|}}}
| label78 = {{{etylabel4|}}}
| label50 = {{{etylabel4|}}}
| data78 = {{{etydata4|}}}
| data50 = {{{etydata4|}}}
| label79 = {{{etylabel5|}}}
| label51 = {{{etylabel5|}}}
| data79 = {{{etydata5|}}}
| data51 = {{{etydata5|}}}
 
}}
| header80 = {{#if:{{{politics|}}}|Political affiliations|}}
| label81 = State
| data81 = {{{state|}}}
| label82 = [[Metropolitan Planning Organization|MPO(s)]]
| data82 = {{{mpo|}}}
| label83 = Political parties
| data83 = {{{party|}}}
<!---Extra info slots--->
| label84 = {{{politiclabel1|}}}
| data84 = {{{politicdata1|}}}
| label85 = {{{politiclabel2|}}}
| data85 = {{{politicdata2|}}}
| label86 = {{{politiclabel3|}}}
| data86 = {{{politicdata3|}}}
| label87 = {{{politiclabel4|}}}
| data87 = {{{politicdata4|}}}
| label88 = {{{politiclabel5|}}}
| data88 = {{{politicdata5|}}}
 
| header90 = {{#if:{{{lore|}}}|Lore|}}
| label91 = Population
| data91 = {{{population|}}}
| label92 = Motto
| data92 = {{{motto|}}}
| label93 = Phone code(s)
| data93 = {{{phonecode|}}}
<!---Extra info slots--->
| label94 = {{{lorelabel1|}}}
| data94 = {{{loredata1|}}}
| label95 = {{{lorelabel2|}}}
| data95 = {{{loredata2|}}}
| label96 = {{{lorelabel3|}}}
| data96 = {{{loredata3|}}}
| label97 = {{{lorelabel4|}}}
| data97 = {{{loredata4|}}}
| label98 = {{{lorelabel5|}}}
| data98 = {{{loredata5|}}}
 
| header100 = {{#if:{{{other1|}}}|Other information|}}
| label101 = {{{other1|}}}
| data101 = {{{data1|}}}
| label102 = {{{other2|}}}
| data102 = {{{data2|}}}
| label103 = {{{other3|}}}
| data103 = {{{data3|}}}
| label104 = {{{other4|}}}
| data104 = {{{data4|}}}
| label105 = {{{other5|}}}
| data105 = {{{data5|}}}
| below = {{{below|}}}
}}<noinclude>
{{notice|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.}}
 
{{Documentation}}
{{Documentation}}
</noinclude>

Latest revision as of 00:16, 16 August 2023

SMP Town Infobox
Officials
Geography
Transit