Templat: Unified info mainpage today events: Perbedaan antara revisi
Dari GBI Danau Bogor Raya
k upd |
k Penggantian teks - "pr-" menjadi "pe-" |
||
Baris 1: | Baris 1: | ||
<li class="mb-1"><!-- | <li class="mb-1"><!-- | ||
--><span {{#switch:{{IsEventNowPastFuture | {{{date|}}} {{{timefrom|}}} | {{#ifeq:{{{dateupto|}}}||{{{date|}}}|{{{dateupto|}}}}} {{{timeupto|{{{timefrom|}}} }}} }} | --><span {{#switch:{{IsEventNowPastFuture | {{{date|}}} {{{timefrom|}}} | {{#ifeq:{{{dateupto|}}}||{{{date|}}}|{{{dateupto|}}}}} {{{timeupto|{{{timefrom|}}} }}} }} | ||
| 0 = class="pl-1 | | 0 = class="pl-1 pe-1 text-white bg-success" data-toggle="tooltip" data-placement="top" title="Sedang berlangsung" | ||
| -30 = class="pl-1 | | -30 = class="pl-1 pe-1 text-white bg-info" data-toggle="tooltip" data-placement="top" title="Baru berakhir" | ||
| 30 = class="pl-1 | | 30 = class="pl-1 pe-1 text-white bg-danger" data-toggle="tooltip" data-placement="top" title="Segera dimulai" | ||
| 1 = class="pl-1 | | 1 = class="pl-1 pe-1 bg-warning" data-toggle="tooltip" data-placement="top" title="Acara yang akan datang" | ||
| -1 = class="pl-1 | | -1 = class="pl-1 pe-1 text-white bg-secondary" data-toggle="tooltip" data-placement="top" title="Acara sudah berakhir"}}><b>{{{timefrom|}}}{{#if:{{{timeupto|}}}|-{{{timeupto}}}}}</b></span> <!-- | ||
--><b>{{ArticleLink|{{{namespace}}}:{{{pagename}}}|{{#ifeq:{{findstring|{{{servicename}}}|{{{title}}}}} |-1 | {{#if:{{{servicename|}}}|{{{servicename}}}: }} | }}{{{title}}} }}</b> <!-- | --><b>{{ArticleLink|{{{namespace}}}:{{{pagename}}}|{{#ifeq:{{findstring|{{{servicename}}}|{{{title}}}}} |-1 | {{#if:{{{servicename|}}}|{{{servicename}}}: }} | }}{{{title}}} }}</b> <!-- | ||
-->{{#if:{{{name|}}}|<small class="text-muted" style="display:block;">(Bersama {{ArticleLink|{{{name|{{{completename|}}}}}}|{{{completename|{{{name|}}}}}}}})</small>}}<!-- | -->{{#if:{{{name|}}}|<small class="text-muted" style="display:block;">(Bersama {{ArticleLink|{{{name|{{{completename|}}}}}}|{{{completename|{{{name|}}}}}}}})</small>}}<!-- |