Difference between revisions of "Template:Infobox UK Location"

From Hitchwiki
Jump to navigation Jump to search
m
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<noinclude>
+
#REDIRECT [[Template:Infobox Location]]
== How to use this Template? ==
 
For using this template, copy&paste the following code to the '''top''' of the UK city article you want to edit.
 
 
 
<pre>
 
{{Infobox UK Location
 
|country =
 
|state =
 
|map =
 
|pop =
 
|motorways =
 
}}
 
</pre>
 
 
 
== 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, 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 British region by the parameter “state”.
 
Also it automatically adds the breadcrumb navigation ([[Template:IsIn]]).
 
So you save two redundant mentions of the region's name...
 
----
 
</noinclude>{| class="infobox borderless" style="width: 25em; text-align: left; font-size: 90%;"
 
|-
 
| colspan="2" style="text-align:center; font-size: large;" | {{PAGENAME}}
 
|-
 
| colspan="2" style="text-align:center;" | {{{map|}}}
 
|-
 
| colspan="2" align=center style="background:#D8E2EF;" | '''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}}}
 
|-
 
! Motorways:
 
| {{{motorways}}}
 
|-
 
!More Info: 
 
| {{ #ifeq: {{{hitchbase|null}}} | null | | [http://hitchbase.com/ergebnisse.php?LANG=ger&abfrage%5Bstartort%5D={{{hitchbase}}} Hitchbase] }}
 
|-
 
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
 
|}<includeonly>[[Category:{{{state|}}}{{IsIn|{{{state}}}}}]]</includeonly><noinclude>
 
 
 
 
 
[[Category:Templates]]
 
</noinclude>
 

Latest revision as of 00:56, 31 October 2014