Template:CasRS: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>Wediaklup
No edit summary
>Wediaklup
No edit summary
Line 1: Line 1:
<font style="border: 1px solid black; {{#switch: {{{1}}} | B - border-radius: 4px;}} background: {{#switch: {{{1}}} | B - #FF0 | A - #416E40}}; color: {{#switch: {{{1}}} | B - #000 | A - #FFCD00}}; padding-left: 12px; padding-right: 12px;>'''{{#if: {{{2|}}}|{{{2}}}|???}}'''</font>
<font style="border: 1px solid black; {{#switch:{{{1}}}|B=border-radius: 4px;}} background: {{#switch:{{{1}}}|B=#FF0|A=#416E40}}; color: {{#switch:{{{1}}}|B=#000|A=#FFCD00}}; padding-left: 12px; padding-right: 12px;>'''{{#if: {{{2|}}}|{{{2}}}|???}}'''</font>
{{#switch:{{{1}}}|B=bundesstraße|A=autobahn|yes}}


<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Revision as of 21:53, 14 November 2021

??? yes


Parameters

Parameter Description
Road Type 1 Type of the Road (e.g. B for Bundesstraße)
Number 2 Road Number (e.g. 4)

Examples

{{CasRS|B|5}}

renders as 5 bundesstraße



{{CasRS|A|1}}

renders as 1 autobahn