Difference between revisions of "Template:Border Crossing"

From Hitchwiki
Jump to navigation Jump to search
 
m
 
(5 intermediate revisions by 3 users not shown)
Line 22: Line 22:
  
 
----
 
----
</noinclude>{| class="infobox borderless" style="width: 25em; text-align: left; font-size: 90%;"
+
</noinclude>
 +
{| class="infobox mw-collapsible"
 +
! colspan="2" class="infobox-h1" | <div>{{PAGENAME}}</div>
 
|-
 
|-
| colspan="2" style="text-align: center; font-size: large;" | {{PAGENAME}}
+
| colspan="2" class="infobox-map" | {{{map|}}}
 
|-
 
|-
| colspan="2" style="text-align: center;" | {{{map|}}}
+
| colspan="2" class="infobox-h2" | '''Information'''
 
|-
 
|-
| colspan="2" style="text-align: center; background:#D8E2EF;" | '''Information'''
+
! Countries:
 +
|[[File:Flag of {{{country}}}.svg|20px|border|Flag of {{{country}}}]] [[{{{country}}}]] | [[File:Flag of {{{country2}}}.svg|20px|border|Flag of {{{country2}}}]] [[{{{country2}}}]]
 
|-  
 
|-  
! Countrys:
+
{{#if: {{{type|}}} | ! Type:
| [[Image:flag_{{{country}}}.png|20x18px|border|Flag of {{{country}}}]] [[{{{country}}}]] | [[Image:flag_{{{country2}}}.png|20x18px|border|Flag of {{{country2}}}]] [[{{{country2}}}]]
+
{{!}} {{{type}}} }}
 
|-  
 
|-  
! Type:
+
{{#if: {{{motorway|}}} | ! Motorway:
| {{{type}}}
+
{{!}} {{{motorway}}} }}
|-
+
|}<includeonly>[[Category:Border crossings]]
! Motorway:
+
[[Category:{{{country}}}]]
| {{{motorway}}}
+
[[Category:{{{country2}}}]]
|-
+
{{IsIn|{{{country}}}}}</includeonly><noinclude>
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
 
|}<includeonly>[[Category:{{{country|}}}{{IsIn|{{{country}}}}}]]</includeonly><noinclude>
 
<includeonly>[[Category:{{{country2|}}}{{IsIn|{{{country2}}}}}]]</includeonly><noinclude>
 
  
[[Category:Templates]]
+
[[Category:Infoboxes]]
[[Category:Border Crossings]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 22:16, 26 November 2014

How to use this Template?

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

{{Border Crossing
|country =
|country2 = 
|map = 
|type = 
|motorway = 
}}

How to fill in the stuff

After adding the code, you can fill in the information:

  • country - the country where is first checkpoint is in
  • country2 - the country where is second checkpoint is in
  • map - a view from google maps or open street map
  • type - the type of the border crossing, for example Road, Bridge, Mountain pass, Highway, etc.
  • motorway - the motorway the checkpoint is on

Border Crossing
Information
Countries: [[File:Flag of {{{country}}}.svg|20px|border|Flag of {{{country}}}]] [[{{{country}}}]] | [[File:Flag of {{{country2}}}.svg|20px|border|Flag of {{{country2}}}]] [[{{{country2}}}]]