Templat:Transjakarta code: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
baru |
Tidak ada ringkasan suntingan |
||
(21 revisi perantara oleh 3 pengguna tidak ditampilkan) | |||
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>
|