Difference between revisions of "Template:Infobox Israeli Location"

From Hitchwiki
Jump to navigation Jump to search
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
== How to use this Template? ==
 
== How to use this Template? ==
For using this template, copy&paste the following code to the '''top''' of theIsraeli location article you want to edit.
+
For using this template, copy&paste the following code to the '''top''' of the Israeli 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 Israeli Location
 
{{Infobox Israeli Location
|country =  
+
|name_native =
 +
|symbol =  
 
|district =  
 
|district =  
 
|map =  
 
|map =  
 
|pop =  
 
|pop =  
|highways =  
+
|motorways =
 +
|BW =
 +
|hitchbase =
 +
|links =  
 
}}
 
}}
 
</pre>
 
</pre>
  
== How to fill in the stuff ==
+
== Example ==
After adding the code, you can fill in the information. You can fill in the name of the ''district'' (mahoz) [http://en.wikipedia.org/wiki/Districts_of_Israel list here]. If you're not sure, just leave it blank so that another hitchhiker can edit it. A ''map'' can be added with this code: <code><nowiki><map lat='xx.xxxxxxxxxx' lng='x.xxx' zoom='xx' view='x' /></nowiki></code> (further Information [[How_to_add_maps_to_articles|here]]). ''pop'' = population of the city and ''highways'' the highways nearby the city.
+
{| class="wikitable"
 
+
! Code
Thanks a lot and have fun using the template. For more information about this, have a look at [[How to add the country infobox]].
+
! Result
 
 
'''Note''': This template automatically sorts the page on which it is used in the category you entered in "country" (Israel, probably). Also it automatically adds the breadcrumb navigation ([[Template:IsIn]]). When the Israel section is growing bigger and there are articles about the district, the template can be changed to add the page to the district category.
 
</noinclude>{| class="infobox borderless" style="width: 25em; text-align: left; font-size: 90%;"
 
 
|-
 
|-
| colspan="2" style="text-align:center; font-size: large;" | {{PAGENAME}}
+
| <pre>{{Infobox Israeli Location
|-
+
|name_native = الرملة / רַמְלָה
| colspan="2" style="text-align:center;" | {{{map|}}}
+
|symbol = Coat of arms of Ramla.png
|-
+
|map = <map lat='31.93' lng='34.86' zoom='13' />
| colspan="2" align=center style="background:#D8E2EF;" | '''Information'''
+
|pop = 65800
|-
+
|district = Central
! Country:
+
|motorways =  
| [[Image:flag_of_{{{country}}}.png|20x18px|border|Flag of {{{country}}}]] [[{{{country}}}]]
+
}}</pre>
|-
+
| {{Infobox Israeli Location
! Mahoz:
+
|name = Ramla
| {{{district}}}
+
|name_native = الرملة / רַמְלָה
|-
+
|symbol = Coat of arms of Ramla.png
! Population:
+
|map = <map lat='31.93' lng='34.86' zoom='13' />
| {{{pop}}}
+
|pop = 65800
|-
+
|district = Central
! Highways:
+
|motorways =
| {{{highways}}}
+
}}
|-
+
|}
!More Info: 
+
</noinclude><includeonly>{{Infobox Location
| {{ #ifeq: {{{hitchbase|null}}} | null | | [http://hitchbase.com/ergebnisse.php?abfrage%5Bstartort%5D={{{hitchbase}}}&LANG=eng Hitchbase] }}
+
|name = {{{name|}}}
 
+
|name_native = {{{name_native|}}}
|-
+
|symbol = {{{symbol|}}}
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
+
|country = Israel
|}<includeonly>[[Category:{{{country}}}{{IsIn|{{{country}}}}}]]</includeonly><noinclude>
+
|subdivision_type = District (mahoz)
 
+
|subdivision_name = {{{district|{{{mahoz|}}}}}}
 
+
|map = {{{map|}}}
[[Category:Templates]]
+
|pop = {{{pop|}}}
[[Category:Israel]]</noinclude>
+
|motorways = {{{motorways|{{{highways|}}}}}}
 +
|BW = {{{BW|}}}
 +
|hitchbase = {{{hitchbase|}}}
 +
|links = {{{links|}}}
 +
}}</includeonly><noinclude>
 +
[[Category:Infoboxes]]
 +
</noinclude>

Latest revision as of 23:39, 25 November 2014

How to use this Template?

For using this template, copy&paste the following code to the top of the Israeli 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 Israeli Location
|name_native = 
|symbol = 
|district = 
|map = 
|pop = 
|motorways = 
|BW = 
|hitchbase = 
|links = 
}}

Example

Code Result
{{Infobox Israeli Location
|name_native = الرملة / רַמְלָה
|symbol = Coat of arms of Ramla.png
|map = <map lat='31.93' lng='34.86' zoom='13' />
|pop = 65800
|district = Central
|motorways = 
}}
Coat of arms of Ramla.pngRamla
الرملة / רַמְלָה
<map lat='31.93' lng='34.86' zoom='13' />
Information
Country:
Flag of Israel
Israel
District (mahoz): Central
Population: 65,800
Meet fellow hitchhikers on Trustroots