Difference between revisions of "Template:Autobahn"

From Hitchwiki
Jump to navigation Jump to search
 
(20 intermediate revisions by 3 users 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.
</noinclude><includeonly><span style='position: relative;'>
+
 
[[File:Autobahn-sign-blank.png]]
+
== Big one ==
<span style='position: absolute; width: 100%; top: 1px; left: 1px; color: #FFF; vertical-align: center; text-align: center; font-family: Verdana; font-weight: bold;' >{{{1}}}</span>
+
Good to use in 3rd level titles. Example:
</span>
+
<pre>=== Hitchhiking towards [[Somecity]] {{Autobahn|44}} ===</pre>
</includeonly><noinclude>
+
=== Hitchhiking towards [[Somecity]] {{Autobahn|44}} ===
[[Category:Templates]]
+
 
</nocinclude>
+
== Different size ==
 +
For other purposes you can specify height in pixels by second parameter. Example:
 +
<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>

Latest revision as of 00:20, 11 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.