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