Difference between revisions of "Template:Infobox Swedish Location"
Jump to navigation
Jump to search
Scandinaïve (talk | contribs) |
|||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | == | + | == How to use this Template? == |
+ | For using this template, copy&paste the following code to the '''top''' of the Swedish 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 Swedish Location | {{Infobox Swedish Location | ||
− | | | + | |name = |
− | | | + | |name_native = |
− | | | + | |symbol = |
− | |pop | + | |county = |
+ | |county_symbol = | ||
+ | |municipality = | ||
+ | |municipality_symbol = | ||
+ | |map = | ||
+ | |pop = | ||
|motorways = | |motorways = | ||
− | | | + | |BW = |
+ | |hitchbase = | ||
+ | |links = | ||
}} | }} | ||
</pre> | </pre> | ||
− | |||
− | == | + | == Example == |
− | + | {| class="wikitable" | |
− | + | ! Code | |
− | + | ! Result | |
|- | |- | ||
− | | | + | | <pre>{{Infobox Swedish Location |
− | | | + | |name = Gothenburg |
− | | | + | |name_native = Göteborg |
− | |- | + | |symbol = Göteborg kommunvapen - Riksarkivet Sverige.png |
− | | | + | |county = Västra Götaland |
− | | | + | |county_symbol = Västra Götaland vapen.svg |
− | + | |municipality = | |
− | | | + | |municipality_symbol = |
− | | | + | |map = <map lat='57.7' lng='12' zoom='11' /> |
− | + | |pop = 536790 | |
− | | | + | |motorways = {{E|6}} {{E|20}} {{E|45}} |
− | + | }}</pre> | |
− | + | | {{Infobox Swedish Location | |
− | | {{{ | + | |name = Gothenburg |
− | | | + | |name_native = Göteborg |
− | + | |symbol = Göteborg kommunvapen - Riksarkivet Sverige.png | |
− | | {{{ | + | |county = Västra Götaland |
− | | | + | |county_symbol = Västra Götaland vapen.svg |
− | + | |municipality = | |
− | | {{ | + | |municipality_symbol = |
− | | | + | |map = <map lat='57.7' lng='12' zoom='11' /> |
− | + | |pop = 536790 | |
− | | | + | |motorways = {{E|6}} {{E|20}} {{E|45}} |
− | <noinclude> | + | }} |
− | [[Category: | + | |} |
− | + | </noinclude><includeonly>{{Infobox Location | |
+ | |name = {{{name|}} | ||
+ | |name_native = {{{name_native|}}} | ||
+ | |symbol = {{{symbol|}}} | ||
+ | |country = Sweden | ||
+ | |subdivision_type = County (län) | ||
+ | |subdivision_name = {{{county|}}}{{{län|}}} | ||
+ | |subdivision_symbol = {{{county_symbol|}}} | ||
+ | |subdivision2_type = Municipality | ||
+ | |subdivision2_name = {{{municipality|}}} | ||
+ | |subdivision2_symbol = {{{municipality_symbol|}}} | ||
+ | |map = {{{map|}}} | ||
+ | |pop = {{{pop|}}} | ||
+ | |motorways = {{{motorways|}}} | ||
+ | |BW = {{{BW|}}} | ||
+ | |hitchbase = {{{hitchbase|}}} | ||
+ | |links = {{{links|}}} | ||
+ | }}</includeonly><noinclude> | ||
+ | [[Category:Infoboxes]] | ||
+ | </noinclude> |
Revision as of 03:23, 31 October 2014
How to use this Template?
For using this template, copy&paste the following code to the top of the Swedish 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 Swedish Location |name = |name_native = |symbol = |county = |county_symbol = |municipality = |municipality_symbol = |map = |pop = |motorways = |BW = |hitchbase = |links = }}
Example
Code | Result | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Infobox Swedish Location |name = Gothenburg |name_native = Göteborg |symbol = Göteborg kommunvapen - Riksarkivet Sverige.png |county = Västra Götaland |county_symbol = Västra Götaland vapen.svg |municipality = |municipality_symbol = |map = <map lat='57.7' lng='12' zoom='11' /> |pop = 536790 |motorways = {{E|6}} {{E|20}} {{E|45}} }} |
|