Difference between revisions of "Template:Infobox Romanian Location"

From Hitchwiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
== Usage ==
+
== 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|example]] bellow. You can also use [[:Template:Infobox Location]] instead.
 
<pre>
 
<pre>
 
{{Infobox Romanian Location
 
{{Infobox Romanian Location
|map       =  
+
|name =
|country  =  
+
|name_native =
|state    =  
+
|symbol =
|pop      =  
+
|map =  
|motorways =  
+
|pop =
|footnotes =  
+
|county =
 +
|county_symbol =  
 +
|plate =  
 +
|roads =
 +
|BW =  
 +
|hitchbase =  
 +
|links =  
 
}}
 
}}
 
</pre>
 
</pre>
  
The Template adds the article to the Category typed at ''country'' automatically (usually Romania)
+
== Examples ==
</noinclude>{| class="infobox borderless" style="width: 25em; text-align: left; font-size: 90%;"
+
{| class="wikitable"
 +
! Code
 +
! Result
 
|-
 
|-
| colspan="2" style="text-align:center; font-size: large;" | {{PAGENAME}}
+
| <pre>{{Infobox Romanian Location
|-
+
|map = <map lat='46.772' lng='23.585' zoom='11' />
| colspan="2" style="text-align:center;" | {{{map|}}}
+
|pop = 324576
|-
+
|plate = CJ
| colspan="2" align=center style="background:#D8E2EF;" | '''Municipality & county seat'''
+
|county = Cluj (county)
|-
+
|county_symbol = Actual_Cluj_county_CoA.png
! Country:
+
|roads = [[A3 (Romania)|A3]]
| [[Image:flag_{{{country}}}.png|20x18px|border|Flag of {{{country}}}]] [[{{{country}}}]]
+
}}</pre>
|-
+
| {{Infobox Romanian Location
! County:
+
|name = Cluj-Napoca
| {{{state}}}
+
|map = <map lat='46.772' lng='23.585' zoom='11' />
|-
+
|pop = 324576
! Population:
+
|plate = CJ
| {{{pop}}}
+
|county = Cluj (county)
|-
+
|county_symbol = Actual_Cluj_county_CoA.png
! Motorways:
+
|roads = [[A3 (Romania)|A3]]
| {{{motorways}}}
+
}}
|-
+
|}
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
+
</noinclude><includeonly>{{Infobox Location
|}<includeonly>[[Category:{{{country|}}}]]</includeonly><noinclude>
+
|name = {{{name|}}}
 
+
|name_native = {{{name_native|}}}
 
+
|country = Romania
[[Category:Templates]]
+
|subdivision_type = county
[[Category:Romania]]</noinclude>
+
|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