Templat:Calendar: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Lam-ang (bicara | kontrib)
Tidak ada ringkasan suntingan
 
(4 revisi perantara oleh 2 pengguna tidak ditampilkan)
Baris 2:
|{{calendar/{{{1}}}
|year={{{year|{{#time:Y}}}}}
|base={{{base|{{#titleparts:{{Calendar/bulan-entitle without disambig|{{PAGENAME}}}}|2}}}}}
|sub={{#titleparts:{{Calendar/bulan-entitle without disambig|{{PAGENAME}}}}/XXX|1|3}}
|zero={{{zero|{{0}}}}}
|titlestyle={{#if:{{{title_colour|{{{colour|}}}}}}
|background-color:{{{title_colour|{{{colour}}}}}};
Baris 13 ⟶ 14:
|{{#ifeq:{{NAMESPACE}}|Portal
|{{calendar/portal
|base={{{base|{{#titleparts:{{Calendar/bulan-entitle without disambig|{{PAGENAME}}}}|2}}}}}
|sub={{#titleparts:{{Calendar/bulan-entitle without disambig|{{PAGENAME}}}}/XXX|1|3}}
|title={{{title|}}}
|col={{{col|4}}}
Baris 27 ⟶ 28:
|ld={{{lk_pref_d|{{{lk_pref|}}}}}}
|dl={{{lk_suff_d|{{{lk_suff|}}}}}}
|month={{Calendar/bulan-en|{{{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:|{{Calendar/bulan-entitle without disambig|{{PAGENAME}}}}}}
|{{#if:{{{month|}}}
|{{calendar/month/link {{#if:{{{lk_pref|}}}{{{lk_pref_d|}}}{{{lk_pref_m|}}}<!--
Baris 70 ⟶ 75:
|next={{#time:m|next month}}
|last={{#time:m|last month}}
|{{Calendar/bulan-en|{{{month}}}}}
}}
|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}}}-column
|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}}
|formatzero={{{formatzero|Sun1st{{0}}}}}
|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:{{Calendar/bulan-entitle without disambig|{{PAGENAME}}}}|{{#time:Y|{{Calendar/bulan-entitle without disambig|{{PAGENAME}}}}}}
|{{{col|4}}}-columntable
|month/link {{{lk|on}}}
}}
|row={{{row|}}}|col={{{col|4}}}
|title={{{title|}}}
|year={{{year|{{#time:Y|{{Calendar/bulan-entitle without disambig|{{PAGENAME}}}}}}}}}
|show_year={{#ifeq:{{Calendar/bulan-entitle without disambig|{{PAGENAME}}}}|{{#time:F Y|{{Calendar/bulan-entitle without disambig|{{PAGENAME}}}}}}|off|on}}
|F={{#ifeq:{{Calendar/bulan-entitle without disambig|{{PAGENAME}}}}|{{#time:F Y|{{Calendar/bulan-entitle without disambig|{{PAGENAME}}}}}}|F Y|F}}
|float={{{float|right}}}
|month={{{month|{{#time:F|{{Calendar/bulan-entitle without disambig|{{PAGENAME}}}} 1}}}}}
|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>{{docdocumentation}}</noinclude>