Difference between revisions of "Template:Infobox Romanian Location"

From Hitchwiki
Jump to navigation Jump to search
 
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="infobox borderless" style="width: 25em; text-align: left; font-size: 90%;"
+
<noinclude>
|-
+
== How to use this Template? ==
| colspan="2" style="text-align:center; font-size: large;" | {{PAGENAME}}
+
For using this template, copy&paste the following code to the '''top''' of the Romanian city article you want to edit. You can delete unused parameters. To better understand how to use it see [[#Example|example]] bellow. You can also use [[:Template:Infobox Location]] instead.
|-
+
<pre>
| colspan="2" align=center style="background:#D8E2EF;" | '''Municipality & county residence'''
+
{{Infobox Romanian Location
|-
+
|name =
! Country:
+
|name_native =  
| [[Image:flag_{{{country}}}.png|20x18px|border|Flag of {{{country}}}]] [[{{{country}}}]]
+
|symbol =  
|-
+
|map =
! County:
+
|pop =  
| [[{{{state}}}]]
+
|county =
|-
+
|county_symbol =
! Population:
+
|plate =
| {{{pop}}}
+
|roads =
 +
|BW =
 +
|hitchbase =
 +
|links =
 +
}}
 +
</pre>
 +
 
 +
== Examples ==
 +
{| class="wikitable"
 +
! Code
 +
! Result
 
|-
 
|-
! Licence Plate:
+
| <pre>{{Infobox Romanian Location
| '''{{{plate}}}'''
+
|map = <map lat='46.772' lng='23.585' zoom='11' />
|-
+
|pop = 324576
! Motorways:
+
|plate = CJ
| {{{motorways}}}
+
|county = Cluj (county)
|-
+
|county_symbol = Actual_Cluj_county_CoA.png
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
+
|roads = [[A3 (Romania)|A3]]
|}<noinclude>
+
}}</pre>
 
+
| {{Infobox Romanian Location
 
+
|name = Cluj-Napoca
[[Category:Templates]]
+
|map = <map lat='46.772' lng='23.585' zoom='11' />
[[Category:Romania]]</noinclude>
+
|pop = 324576
 +
|plate = CJ
 +
|county = Cluj (county)
 +
|county_symbol = Actual_Cluj_county_CoA.png
 +
|roads = [[A3 (Romania)|A3]]
 +
}}
 +
|}
 +
</noinclude><includeonly>{{Infobox Location
 +
|name = {{{name|}}}
 +
|name_native = {{{name_native|}}}
 +
|country = Romania
 +
|subdivision_type = county
 +
|subdivision_name = {{{county|{{{state|}}}}}}
 +
|subdivision_symbol = {{{county_symbol|}}}
 +
|symbol = {{{symbol|}}}
 +
|map = {{{map|}}}
 +
|pop = {{{pop|}}}
 +
|plate = {{{plate|}}}
 +
|roads = {{{roads|{{{motorways|}}}}}}
 +
|BW = {{{BW|}}}
 +
|hitchbase = {{{hitchbase|}}}
 +
|links = {{{links|}}}
 +
}}</includeonly><noinclude>
 +
[[Category:Infoboxes]]
 +
</noinclude>

Latest revision as of 00:37, 28 November 2014

How to use this Template?

For using this template, copy&paste the following code to the top of the Romanian city article you want to edit. You can delete unused parameters. To better understand how to use it see example bellow. You can also use Template:Infobox Location instead.

{{Infobox Romanian Location
|name = 
|name_native = 
|symbol = 
|map = 
|pop = 
|county = 
|county_symbol = 
|plate = 
|roads = 
|BW = 
|hitchbase = 
|links = 
}}

Examples

Code Result
{{Infobox Romanian Location
|map = <map lat='46.772' lng='23.585' zoom='11' />
|pop = 324576
|plate = CJ
|county = Cluj (county)
|county_symbol = Actual_Cluj_county_CoA.png
|roads = [[A3 (Romania)|A3]]
}}
Cluj-Napoca
<map lat='46.772' lng='23.585' zoom='11' />
Information
Country:
Flag of Romania
Romania
County:
Actual Cluj county CoA.png
Cluj (county)
Population: 324,576
Licence plate: CJ
Major roads: A3
Meet fellow hitchhikers on Trustroots