Difference between revisions of "Template:European Route Number"

From Hitchwiki
Jump to navigation Jump to search
m
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span style="border-radius: 5px; background-color:#479A38; padding-left:2px; padding-right:2px;  outline-radius: 3px; outline: 0.5px solid #AAA; font-size:80%;padding: 8px 1px; ">'''<includeonly>[[:Category:E{{{1}}}|<span style="color:#ffffff;border: 2px solid #FFF;padding: 5px;border-radius: 4px;text-align: left;">E&nbsp;{{{1}}}</span>]][[Category:E{{{1}}}]]</includeonly><noinclude><span style="color:#ffffff;border: 2px solid #FFF;padding: 5px;border-radius: 4px;text-align: left;">E22</span></noinclude>'''</span><noinclude>
+
<includeonly><span style="border-radius: 5px; background-color:#479A38; font-size:80%;padding: 5px 1px; line-height: 2.6em;">'''[[:Category:E{{{1}}}|<span style="color:#ffffff;border: 2px solid #FFF;padding: 2px 5px;border-radius: 4px;text-align: left;">E&nbsp;{{{1}}}</span>]]'''</span>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:E{{{1}}}]]|<!-- Don't categorize when not in main (article) space. -->}}</includeonly><noinclude>
 +
This template creates [[European roads|European route]] number symbol.
  
This template creates European route number symbol.
+
<code><nowiki>{{E|50}}</nowiki></code> will draw {{E|50}}
<nowiki>{{European Route Number|<no.>}}</nowiki>
 
Instead of &lt;no.&gt; enter European route number without E letter.
 
  
[[Category:Templates|{{PAGENAME}}]]
+
[[Category:Templates]]
 +
</noinclude>

Revision as of 18:18, 5 July 2022

This template creates European route number symbol.

{{E|50}} will draw E 50