Templat: Unified info mainpage today events: Perbedaan antara revisi

Dari GBI Danau Bogor Raya
Lompat ke: navigasi, cari
Leo (bicara | kontrib)
k fm
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>
<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>
{{#ifexpr: ({{#time:Hi|+7hours}}>={{#time:Hi|{{{timefrom|}}}}}) and ({{#time:Hi|+7hours}}<={{#time:Hi|{{{timeupto|{{{timefrom|}}}}}}}})
  | <small class="text-muted">Acara sedang berlangsung</small>
  | {{#ifexpr: ({{#time:Hi|+7hours}}<={{#time:Hi|{{{timeupto|}}}}})
      | <small class="text-muted">Acara sudah berlalu</small>
      | {{#ifexpr: ({{#time:Hi|+7hours}}>{{#time:Hi|{{{timefrom|}}}}})
          | <small class="text-muted">Acara yang akan datang</small> }}
    }}
}}

Revisi per 18 Juli 2021 05.46

  • {{{title}}}
  • Acara sudah berlalu