Templat:Transjakarta code: Perbedaan antara revisi
Tampilan
Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan |
Tidak ada ringkasan suntingan |
||
Baris 1: | Baris 1: | ||
<!--<span style="background-color:#{{Transjakarta color|{{{1}}}}}"><font color = "ffffff">''' {{{1}}}-{{{2}}}''' </font></span>--> |
<!--<span style="background-color:#{{Transjakarta color|{{{1}}}}}"><font color = "ffffff">''' {{{1}}}-{{{2}}}''' </font></span>--> |
||
<includeonly><span style="display:inline-block; position:relative; vertical-align:middle; border:{{#expr: {{{size|30}}} /8}}px solid {{Transjakarta color|{{{1}}} |
<includeonly><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: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:white;">{{{number|{{{num|{{{2|}}}}}}}}}</span></span></includeonly><noinclude>{{doc}}</noinclude> |