Templat: Unified info mainpage today events: Perbedaan antara revisi
Dari GBI Danau Bogor Raya
k upd |
k upd |
||
Baris 1: | Baris 1: | ||
<li class="mb-1"><!-- | <li class="mb-1"><!-- | ||
--><span class="pl-1 pr-1 {{#switch:{{IsEventNowPastFuture | {{{date|}}} {{{timefrom|}}} | {{{date|}}} {{{timeupto|{{{timefrom|}}} }}} }}| 0 = text-white bg-success | 1 = bg-warning | -1=text-muted bg-light}}">{{{timefrom|}}}{{#if:{{{timeupto|}}}|-{{{timeupto}}}}}</span> <!-- | --><span class="pl-1 pr-1 {{#switch:{{IsEventNowPastFuture | {{{date|}}} {{{timefrom|}}} | {{{date|}}} {{{timeupto|{{{timefrom|}}} }}} }}| 0 = text-white bg-success | 1 = bg-warning | -1=text-muted bg-light}}"><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|}}}|<span class="text-muted" style="display:block; font-size: 80%;">({{ArticleLink|{{{name|{{{completename|}}}}}}|{{{completename|{{{name|}}}}}}}})</span>}} | -->{{#if:{{{name|}}}|<span class="text-muted" style="display:block; font-size: 80%;">({{ArticleLink|{{{name|{{{completename|}}}}}}|{{{completename|{{{name|}}}}}}}})</span>}} | ||
</li> | </li> |