Templat:Calendar: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
kTidak ada ringkasan suntingan |
FelixJL111 (bicara | kontrib) Tidak ada ringkasan suntingan |
||
(5 revisi perantara oleh 3 pengguna tidak ditampilkan) | |||
Baris 2:
|{{calendar/{{{1}}}
|year={{{year|{{#time:Y}}}}}
|base={{{base|{{#titleparts:{{
|sub={{#titleparts:{{
|zero={{{zero|{{0}}}}}
|titlestyle={{#if:{{{title_colour|{{{colour|}}}}}}
|background-color:{{{title_colour|{{{colour}}}}}};
Baris 13 ⟶ 14:
|{{#ifeq:{{NAMESPACE}}|Portal
|{{calendar/portal
|base={{{base|{{#titleparts:{{
|sub={{#titleparts:{{
|title={{{title|}}}
|col={{{col|4}}}
Baris 27 ⟶ 28:
|ld={{{lk_pref_d|{{{lk_pref|}}}}}}
|dl={{{lk_suff_d|{{{lk_suff|}}}}}}
|month=
|year={{{year|{{#time:Y}}}}}
|show_year={{{show_year|off}}}
|F={{#ifeq:{{{show_year|on}}}|with month|F Y|F}}
|zero={{{zero|{{0}}}}}
|format={{{format|Sun1st}}}
|float={{{float|right}}}
Baris 41 ⟶ 43:
|weekstyle={{#if:{{{week_colour|{{{colour|}}}}}}
|background-color:{{{week_colour|{{{colour}}}}}};
}}
|wknumstyle={{#if:{{{wknum_colour|}}}
|background-color:{{{wknum_colour}}};
}}
}}
|{{#iferror:{{#time:|{{
|{{#if:{{{month|}}}
|{{calendar/month/link {{#if:{{{lk_pref|}}}{{{lk_pref_d|}}}{{{lk_pref_m|}}}<!--
Baris 67 ⟶ 72:
|dl={{{lk_suff_d|{{{lk_suff|}}}}}}
|month={{#switch:{{{month}}}
|current={{#time:
|next={{#time:
|last={{#time:
}}
|year={{{year|{{#time:Y}}}}}
|show_year={{#ifeq:{{{show_year|on}}}|on|on|off}}
|F={{#ifeq:{{{show_year|on}}}|with month|F Y|F}}
|zero={{{zero|{{0}}}}}
|format={{{format|Sun1st}}}
|float={{{float|none}}}
Baris 89 ⟶ 95:
|weekstyle={{#if:{{{week_colour|{{{colour|}}}}}}
|background-color:{{{week_colour|{{{colour}}}}}};
}}
|wknumstyle={{#if:{{{wknum_colour|}}}
|background-color:{{{wknum_colour}}};
}}
}}
|{{calendar/table|row={{{row|}}}|col={{{col|4}}}
|title={{{title|}}}
|year={{{year|{{#time:Y}}}}}
|show_year={{#ifeq:{{{show_year|on}}}|on|on|off}}
|F={{#ifeq:{{{show_year|on}}}|with month|F Y|F}}
|
|format={{{format|Sun1st}}}
|lk={{#if:{{{lk_pref|}}}{{{lk_pref_d|}}}{{{lk_pref_m|}}}<!--
-->{{{lk_suff|}}}{{{lk_suff_d|}}}{{{lk_suff_m|}}}<!--
Baris 126 ⟶ 136:
|weekstyle={{#if:{{{week_colour|{{{colour|}}}}}}
|background-color:{{{week_colour|{{{colour}}}}}};
}}
|wknumstyle={{#if:{{{wknum_colour|}}}
|background-color:{{{wknum_colour}}};
}}
|wk5253={{{wk5253|}}}
}}
}}
|{{calendar/{{#ifeq:{{
|
|month/link {{{lk|on}}}
}}
|row={{{row|}}}|col={{{col|4}}}
|title={{{title|}}}
|year={{{year|{{#time:Y|{{
|show_year={{#ifeq:{{
|F={{#ifeq:{{
|float={{{float|right}}}
|month={{{month|{{#time:F|{{
|lk={{{lk|on}}}
|EndNote={{{EndNote|}}}
|zero={{{zero|{{0}}}}}
|titlestyle={{#if:{{{title_colour|{{{colour|}}}}}}
|background-color:{{{title_colour|{{{colour}}}}}};
Baris 146 ⟶ 162:
|weekstyle={{#if:{{{week_colour|{{{colour|}}}}}}
|background-color:{{{week_colour|{{{colour}}}}}};
}}
}}
}}
}}
}}</includeonly><noinclude>{{
|