Difference between revisions of "Template:Infobox Brazilian Location"

From Hitchwiki
Jump to navigation Jump to search
(One intermediate revision by one other user not shown)
Line 1: Line 1:
#REDIRECT [[Template:Infobox Location]]
== How to use this Template? ==
For using this template, copy&paste the following code to the '''top''' of the Brazilian city article you want to edit.
{{Infobox Brazilian Location
|country =
|state =
|map =
|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 if existing; 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 state/province/region by the parameter “state” if filled in - else it uses the parameter “country”.
Likewise it automatically adds the breadcrumb navigation ([[Template:IsIn]]).
So you save two redundant mentions of the state's/province/region name...
</noinclude>{| class="infobox borderless" style="width: 25em; text-align: left; font-size: 90%; float: right;"
| 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:Brazil_flag_300.png|20x18px|border|Flag of Brazil]] [[Brazil]]
! State:
| {{{state|}}}
! Population:
| {{{pop}}}
! Licence Plate:
| '''{{{plate|}}}'''
! 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>{{#ifexist: Category:{{{state}}}|[[Category:{{{state}}}]]|[[Category:{{{country}}}]]}}{{#ifexist: {{{state}}}|{{IsIn|{{{state}}}}}|{{IsIn|{{{country}}}}}}}</includeonly><noinclude>

Latest revision as of 22:45, 30 October 2014