Templat:Transjakarta code: Perbedaan antara revisi
Tampilan
Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan |
Tidak ada ringkasan suntingan |
||
(14 revisi perantara oleh 2 pengguna tidak ditampilkan) | |||
Baris 1: | Baris 1: | ||
⚫ | <span style="display:inline-block; position:relative; vertical-align:middle; width:{{{size|30}}}px; height:{{{size|30}}}px; 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;}}"><includeonly>[[Koridor {{#switch:{{{name|{{{1}}}}}}|2E=2|{{{name|{{{1}}}}}}}} Transjakarta|<span style="color:white;">{{{name|{{{1|}}}}}}</span>]]</includeonly></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;"><includeonly>[[Koridor {{#switch:{{{name|{{{1}}}}}}|2E=2|{{{name|{{{1}}}}}}}} Transjakarta|<span style="color:white;">{{{number|{{{num|{{{2|}}}}}}}}}</span>]]</includeonly></span></span><noinclude>{{doc}}</noinclude> |
||
<!--<span style="background-color:#{{Transjakarta color|{{{1}}}}}"><font color = "ffffff">''' {{{1}}}-{{{2}}}''' </font></span>--> |
|||
⚫ |