Templat:Transjakarta code: Perbedaan revisi

tidak ada ringkasan suntingan
 
<!--<span style="background-color:#{{Transjakarta color|{{{1}}}}}"><font color = "ffffff">'''&nbsp;{{{1}}}-{{{2}}}'''&nbsp;</font></span>-->
 
<includeonly>[[Koridor {{#switch:{{{name|{{{1}}}}}}|2E=2|{{{name|{{{1}}}}}}}} Transjakarta | <span style="display:inline-block; position:relative; vertical-align:middle; border:{{#expr: {{{size|30}}} /8}}px solid #{{Transjakarta color|{{{1}}}}}; border-radius:50%; margin:1px; height:{{#expr: {{{size|30}}} * 3 / 4}}px; width:{{#expr: {{{size|30}}} * 3 / 4}}px; line-height:100%; background-color:#{{Transjakarta color|{{{1}}}}}; font-size:{{#expr: {{{size|30}}} * 3 / 8}}px"><span style="position:absolute; left:0; width:{{#expr: {{{size|30}}} * 3 / 4}}px; text-align:center; font-weight:bold; color:{{#switch:{{{name|{{{1}}}}}}|3=black|white}}; {{#switch:{{{name|{{{1}}}}}}|TP|CB|BK|BP|LN|LW|LM=top:{{#expr: {{{size|30}}} / 25}}px; height:{{#expr: {{{size|30}}} * 3 / 10}}px; line-height:{{#expr: {{{size|30}}} * 3 / 10}}px; font-size:{{#expr: {{{size|30}}} * 3 / 10}}px;|#default=top:{{#expr: {{{size|30}}} / 50}}px; height:{{#expr: {{{size|30}}} * 8 / 25}}px; line-height:{{#expr: {{{size|30}}} * 8 / 25}}px; font-size:{{#expr: {{{size|30}}} * 8 / 25}}px;}}">{{{name|{{{1|}}}}}}</span><span style="position:absolute; bottom:{{#expr: {{{size|30}}} / 20}}px; left:0; height:{{#expr: {{{size|30}}} * 19 / 50}}px; width:{{#expr: {{{size|30}}} * 3 / 4}}px; line-height:{{#expr: {{{size|30}}} * 19 / 50}}px; text-align:center; font-weight:bold; font-size:{{#expr: {{{size|30}}} * 19 / 50}}px; color:{{#switch:{{{name|{{{1}}}}}}|3=black|white}};">{{{number|{{{num|{{{2|}}}}}}}}}</span></span>]]</includeonly><noinclude>{{doc}}</noinclude>