Difference between revisions of "Template:Autobahn"

From Hitchwiki
Jump to navigation Jump to search
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>
+
<includeonly>[[Image:Bundesautobahn {{{1}}} number.svg|x{{#if: {{{2|}}} |{{{2}}}|27}}px|link=A{{{1}}} (Germany)]]</includeonly><noinclude>
This is supposed to paint a cool logo for the German autobahn.
+
This template creates a German motorway number symbol with the link to it.
  
Enter like this: <nowiki>{{Autobahn|123}}</nowiki>
+
== Big one ==
 +
Good to use in 3rd level titles. Example:
 +
<pre>=== Hitchhiking towards [[Somecity]] {{Autobahn|44}} ===</pre>
 +
=== Hitchhiking towards [[Somecity]] {{Autobahn|44}} ===
  
Looks like this: {{Autobahn|123}}
+
== Different size ==
</noinclude><includeonly><span style='position: relative;'>[[File:DE_Autobahn.jpg]]<span style='position: absolute; width: 100%; top: 1px; left: 1px; color: #FFF; vertical-align: center; text-align: center; font-family: Verdana; font-weight: bold; font-size: 10pt;' >{{{1}}}</span></span></includeonly><noinclude>
+
For other purposes you can specify height in pixels by second parameter. Example:
[[Category:Templates]]
+
<pre>{{Autobahn|6|50}}</pre>
 +
{{Autobahn|6|50}}
 +
 
 +
For small version good to use in plain text or city/motorway infobox use [[Template:Ade]].
 +
<pre>This number {{Ade|226}} should look good in text.</pre>
 +
This number {{Ade|226}} should look good in text.
 +
 
 +
[[Category:Road Numbers]]
 
</noinclude>
 
</noinclude>

Latest revision as of 23:20, 10 June 2014

This template creates a German motorway number symbol with the link to it.

Big one

Good to use in 3rd level titles. Example:

=== Hitchhiking towards [[Somecity]] {{Autobahn|44}} ===

Hitchhiking towards Somecity Bundesautobahn 44 number.svg

Different size

For other purposes you can specify height in pixels by second parameter. Example:

{{Autobahn|6|50}}

Bundesautobahn 6 number.svg

For small version good to use in plain text or city/motorway infobox use Template:Ade.

This number {{Ade|226}} should look good in text.

This number A 226 should look good in text.