Templat: Unified info mainpage today events: Perbedaan antara revisi

Dari GBI Danau Bogor Raya
Lompat ke: navigasi, cari
Leo (bicara | kontrib)
k upd
Leo (bicara | kontrib)
k upd
Baris 1: Baris 1:
<li class="mb-1"><b>{{{timefrom|}}}{{#if:{{{timeupto|}}}|-{{{timeupto}}}}}</b> <b>{{ArticleLink|{{{namespace}}}:{{{pagename}}}|{{#ifeq:{{{servicename|}}}|||{{{servicename}}}:&#32;}}{{{title}}} }}</b> {{#if:{{{name|}}}|<span class="text-muted" style="display:block; font-size: 80%;">({{ArticleLink|{{{name|{{{completename|}}}}}}|{{{completename|{{{name|}}}}}}}})</span>}}<!--
<li class="mb-1"><b>{{{timefrom|}}}{{#if:{{{timeupto|}}}|-{{{timeupto}}}}}</b> <b>{{ArticleLink|{{{namespace}}}:{{{pagename}}}|{{#ifeq:{{{servicename|}}}|||{{{servicename}}}:&#32;}}{{{title}}} }}</b> {{#if:{{{name|}}}|<span class="text-muted" style="display:block; font-size: 80%;">({{ArticleLink|{{{name|{{{completename|}}}}}}|{{{completename|{{{name|}}}}}}}})</span>}}</li>
--><span style="display:block;">{{#ifexpr: ({{#time:Hi|+7hours}}>={{#time:Hi|{{{timefrom|}}}}}) and ({{#time:Hi|+7hours}}<={{#time:Hi|{{{timeupto|{{{timefrom|}}}}}}}})
{{isEventNowPastFuture|{{{timefrom|}}}|{{{timeupto|{{{timefrom|}}}}}}}}
  | <small class="text-muted">Acara sedang berlangsung</small>
  | {{#ifexpr: ({{#time:Hi|{{{timeupto|{{{timefrom|}}}}}}}}<{{#time:Hi|+7hours}})
      | <small class="text-muted">Acara sudah berlalu</small>
      | {{#ifexpr: ({{#time:Hi|{{{timefrom|}}}}}>{{#time:Hi|+7hours}})
          | <small class="text-muted">Acara yang akan datang</small>
          | UNKNOWN
}}
    }}
}}
</span>
</li>

Revisi per 18 Juli 2021 05.55

  • {{{title}}}
  • -1