Templat: Unified info mainpage today events: Perbedaan antara revisi
Dari GBI Danau Bogor Raya
k upd |
k upd |
||
Baris 1: | Baris 1: | ||
{{#switch: | |||
{{IsEventNowPastFuture | {{{timefrom|}}} | {{{timeupto|{{{timefrom|}}} }}} }} | |||
| -1 = Hi | |||
}} | |||
<li class="mb-1"><!-- | <li class="mb-1"><!-- | ||
--><span class="{{#switch:{{IsEventNowPastFuture | {{{timefrom|}}} | {{{timeupto|{{{timefrom|}}} }}} }}| 0 = success | 1 = warning | | --><span class="{{#switch:{{IsEventNowPastFuture | {{{timefrom|}}} | {{{timeupto|{{{timefrom|}}} }}} }}| 0 = text-success | 1 = text-warning | -1=text-secondary }}">{{{timefrom|}}}{{#if:{{{timeupto|}}}|-{{{timeupto}}}}}</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> |
Revisi per 18 Juli 2021 06.06
Hi