Difference between revisions of "Template:Infobox Swedish Location"

From Hitchwiki
Jump to: navigation, search
(added ''län'' and automatical Category & IsIn feature)
Line 5: Line 5:
 
|map      =  
 
|map      =  
 
|country  =  
 
|country  =  
 +
|län      =
 
|pop      =  
 
|pop      =  
 
|motorways =  
 
|motorways =  
Line 10: Line 11:
 
}}
 
}}
 
</pre>
 
</pre>
 +
Thanks a lot and have fun using the template. For more information about this, have a look at [[How to add the country infobox]].
 +
 +
== When filling in ==
 +
The page will be put into a Category according to what you write in ''country'' − so write ''Sweden'' here... The breadcrumb navigation ([[Template:IsIn]]) will be added according to what you write in ''län'' (county).
 +
 
</noinclude>{| class="infobox borderless" style="width: 25em; text-align: left; font-size: 90%;"
 
</noinclude>{| class="infobox borderless" style="width: 25em; text-align: left; font-size: 90%;"
 
|-
 
|-
Line 20: Line 26:
 
! Country:
 
! Country:
 
| [[Image:flag_of_{{{country}}}.png|20x18px|border|Flag of {{{country}}}]] [[{{{country}}}]]
 
| [[Image:flag_of_{{{country}}}.png|20x18px|border|Flag of {{{country}}}]] [[{{{country}}}]]
 +
|-
 +
! Län:
 +
| [[{{{län}}}]]
 
|-  
 
|-  
 
! Population:
 
! Population:
Line 31: Line 40:
 
|-
 
|-
 
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
 
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
|}
+
|}<includeonly>[[Category:{{{country|}}}{{IsIn|{{{län}}}}}]]</includeonly>
 
<noinclude>
 
<noinclude>
 
[[Category:Templates]]
 
[[Category:Templates]]
 
[[Category:Sweden]]</noinclude>
 
[[Category:Sweden]]</noinclude>

Revision as of 17:29, 25 November 2009

Usage

{{Infobox Swedish Location
|map       = 
|country   = 
|län       =
|pop       = 
|motorways = 
|footnotes = 
}}

Thanks a lot and have fun using the template. For more information about this, have a look at How to add the country infobox.

When filling in

The page will be put into a Category according to what you write in country − so write Sweden here... The breadcrumb navigation (Template:IsIn) will be added according to what you write in län (county).

Infobox Swedish Location
Administration
Country: [[Image:flag_of_{{{country}}}.png|20x18px|border|Flag of {{{country}}}]] [[{{{country}}}]]
Län: [[{{{län}}}]]
Population: {{{pop}}}
Motorways: {{{motorways}}}
More Info: