Difference between revisions of "Template:Infobox German Location"

From Hitchwiki
Jump to navigation Jump to search
m
Line 18: Line 18:
  
 
Thanks a lot and have fun using the template. For more information about this, have a look at [[How to add the country infobox]].
 
Thanks a lot and have fun using the template. For more information about this, have a look at [[How to add the country infobox]].
 +
 +
'''Note''': This template automatically sorts the page on which it is used in the appropriate category of the german state from the parameter "state"
 +
Also it automatically adds the breadcrumb navigation ([[Template:IsIn]]).
 +
So you save two redundant mentions of the state's ("Bundesland") name...
 
----
 
----
 
</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 23: Line 27:
 
| colspan="2" style="text-align:center; font-size: large;" | {{PAGENAME}}
 
| colspan="2" style="text-align:center; font-size: large;" | {{PAGENAME}}
 
|-
 
|-
| colspan="2" style="text-align:center;" | {{{map}}}
+
| colspan="2" style="text-align:center;" | {{{map|}}}
 
|-
 
|-
 
| colspan="2" align=center style="background:#D8E2EF;" | '''Information'''
 
| colspan="2" align=center style="background:#D8E2EF;" | '''Information'''
Line 31: Line 35:
 
|-  
 
|-  
 
! State:
 
! State:
| [[Image:Coat_of_arms_of_{{{state}}}.png|18px|border|Coat of arms of of {{{state}}}]] [[{{{state}}}]]
+
| [[Image:Coat_of_arms_of_{{{state}}}.png|18px|border|Coat of arms of {{{state}}}]] [[{{{state}}}]]
 
|-  
 
|-  
 
! Population:
 
! Population:
Line 43: Line 47:
 
|-
 
|-
 
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
 
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
|}<noinclude>
+
|}<includeonly>[[Category:{{{state|}}}{{IsIn|{{{state}}}}}]]</includeonly><noinclude>
  
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
[[Category:Germany]]</noinclude>
 
[[Category:Germany]]</noinclude>

Revision as of 18:16, 1 October 2008

How to use this Template?

For using this template, copy&paste the following code to the top of the German city article you want to edit.

{{Infobox German Location
|country = 
|map = 
|state = 
|pop = 
|plate = 
|motorways = 
}}
How to fill in the stuff

After adding the code, you can fill in the information. Remember to fill in the English name of the state, if you're not sure, just leave it blank so that another hitchhiker can edit it. pop = population of the city, plate = licence plate of the region/city; and motorways the motorways nearby the city.

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

Note: This template automatically sorts the page on which it is used in the appropriate category of the german state from the parameter "state" Also it automatically adds the breadcrumb navigation (Template:IsIn). So you save two redundant mentions of the state's ("Bundesland") name...


Infobox German Location
Information
Country: [[Image:flag_{{{country}}}.png|20x18px|border|Flag of {{{country}}}]] [[{{{country}}}]]
State: [[Image:Coat_of_arms_of_{{{state}}}.png|18px|border|Coat of arms of {{{state}}}]] [[{{{state}}}]]
Population: {{{pop}}}
Licence Plate: {{{plate}}}
Motorways: {{{motorways}}}