Templat:Calendar: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
 
(8 revisi perantara oleh 5 pengguna tidak ditampilkan)
Baris 1:
<includeonly>{{#if:{{{1|}}}
{| style="background:none;"
|{{calendar/{{{1}}}
|-
|year={{{year|{{#time:Y}}}}}
| colspan="3" style="text-align:center; font-size:larger;" |
|base={{{base|{{#titleparts:{{title without disambig|{{PAGENAME}}}}|2}}}}}
{{#if:{{{hideyear|}}}||Kalender [[{{{year|{{#time:Y}}}}}]]}}
|sub={{#titleparts:{{title without disambig|{{PAGENAME}}}}/XXX|1|3}}
|- style="vertical-align: top;"
|zero={{{zero|{{0}}}}}
|{{CalendarCustom|prevnext=off|year={{{year|{{#time:Y}}}}}|month=01}}
|titlestyle={{#if:{{{title_colour|{{{colour|}}}}}}
|{{CalendarCustom|prevnext=off|year={{{year|{{#time:Y}}}}}|month=02}}
|background-color:{{{title_colour|{{{colour}}}}}};
|{{CalendarCustom|prevnext=off|year={{{year|{{#time:Y}}}}}|month=03}}
}}
|- style="vertical-align: top;"
|weekstyle={{#if:{{{week_colour|{{{colour|}}}}}}
|{{CalendarCustom|prevnext=off|year={{{year|{{#time:Y}}}}}|month=04}}
|background-color:{{{week_colour|{{{colour}}}}}};
|{{CalendarCustom|prevnext=off|year={{{year|{{#time:Y}}}}}|month=05}}
}}
|{{CalendarCustom|prevnext=off|year={{{year|{{#time:Y}}}}}|month=06}}
}}
|- style="vertical-align: top;"
|{{#ifeq:{{NAMESPACE}}|Portal
|{{CalendarCustom|prevnext=off|year={{{year|{{#time:Y}}}}}|month=07}}
|{{calendar/portal
|{{CalendarCustom|prevnext=off|year={{{year|{{#time:Y}}}}}|month=08}}
|base={{{base|{{#titleparts:{{title without disambig|{{PAGENAME}}}}|2}}}}}
|{{CalendarCustom|prevnext=off|year={{{year|{{#time:Y}}}}}|month=09}}
|sub={{#titleparts:{{title without disambig|{{PAGENAME}}}}/XXX|1|3}}
|- style="vertical-align: top;"
|title={{{title|}}}
|{{CalendarCustom|prevnext=off|year={{{year|{{#time:Y}}}}}|month=10}}
|col={{{col|4}}}
|{{CalendarCustom|prevnext=off|year={{{year|{{#time:Y}}}}}|month=11}}
|tm={{{txt_pref_m|}}}
|{{CalendarCustom|prevnext=off|year={{{year|{{#time:Y}}}}}|month=12}}
|mt={{{txt_suff_m|}}}
|}<noinclude>
|lm={{{lk_pref_m|{{{lk_pref|}}}}}}
 
|ml={{{lk_suff_m|{{{lk_suff|}}}}}}
==Lihat pula==
|lm>={{{lk_pref_mnext|{{{lk_pref_m|{{{lk_pref|}}}}}}}}}
*[[Templat:CURRENTCALENDAR]]
|lm<={{{lk_pref_mprev|{{{lk_pref_m|{{{lk_pref|}}}}}}}}}
*[[Templat:ISOCALENDAR]]
|ml>={{{lk_suff_mnext|{{{lk_suff_m|{{{lk_suff|}}}}}}}}}
 
|ml<={{{lk_suff_mprev|{{{lk_suff_m|{{{lk_suff|}}}}}}}}}
[[Category:Templat kalender|{{PAGENAME}}]]
|ld={{{lk_pref_d|{{{lk_pref|}}}}}}
 
|dl={{{lk_suff_d|{{{lk_suff|}}}}}}
[[si:සැකිල්ල:දිනදසුන]]
|month={{{month|}}}
</noinclude>
|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}}}
|clear={{{clear|none}}}
|EndNote={{{EndNote|}}}
|prevnext={{{prevnext|on}}}
|titlestyle={{#if:{{{title_colour|{{{colour|}}}}}}
|background-color:{{{title_colour|{{{colour}}}}}};
}}
|weekstyle={{#if:{{{week_colour|{{{colour|}}}}}}
|background-color:{{{week_colour|{{{colour}}}}}};
}}
|wknumstyle={{#if:{{{wknum_colour|}}}
|background-color:{{{wknum_colour}}};
}}
}}
|{{#iferror:{{#time:|{{title without disambig|{{PAGENAME}}}}}}
|{{#if:{{{month|}}}
|{{calendar/month/link {{#if:{{{lk_pref|}}}{{{lk_pref_d|}}}{{{lk_pref_m|}}}<!--
-->{{{lk_suff|}}}{{{lk_suff_d|}}}{{{lk_suff_m|}}}<!--
-->{{{lk_suff_mprev|}}}{{{lk_suff_mnext|}}}
|{{#if:{{{lk_pref_d|{{{lk_pref|}}}}}}{{{lk_suff_d|{{{lk_suff|}}}}}}
|d
}}{{#if:{{{lk_pref_m|{{{lk_pref|}}}}}}{{{lk_suff_m|{{{lk_suff|}}}}}}<!--
-->{{{lk_suff_mprev|}}}{{{lk_suff_mnext|}}}
|m
}}
|{{{lk|off}}}
}}
|tm={{{txt_pref_m|}}}
|mt={{{txt_suff_m|}}}
|lm={{{lk_pref_m|{{{lk_pref|}}}}}}
|ml={{{lk_suff_m|{{{lk_suff|}}}}}}
|lm>={{{lk_pref_mnext|{{{lk_pref_m|{{{lk_pref|}}}}}}}}}
|lm<={{{lk_pref_mprev|{{{lk_pref_m|{{{lk_pref|}}}}}}}}}
|ml>={{{lk_suff_mnext|{{{lk_suff_m|{{{lk_suff|}}}}}}}}}
|ml<={{{lk_suff_mprev|{{{lk_suff_m|{{{lk_suff|}}}}}}}}}
|ld={{{lk_pref_d|{{{lk_pref|}}}}}}
|dl={{{lk_suff_d|{{{lk_suff|}}}}}}
|month={{#switch:{{{month}}}
|current={{#time:m}}
|next={{#time:m|next month}}
|last={{#time:m|last month}}
|{{{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}}}
|clear={{{clear|none}}}
|EndNote={{{EndNote|}}}
|prevnext={{#if:{{{lk_pref_m|{{{lk_pref|}}}}}}{{{lk_suff_m|{{{lk_suff|}}}}}}<!--
-->{{{lk_suff_mprev|}}}{{{lk_suff_mnext|}}}
|{{{prevnext|on}}}
|{{{prevnext|off}}}
}}
|titlestyle={{#if:{{{title_colour|{{{colour|}}}}}}
|background-color:{{{title_colour|{{{colour}}}}}};
}}
|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}}
|zero={{{zero|{{0}}}}}
|format={{{format|Sun1st}}}
|lk={{#if:{{{lk_pref|}}}{{{lk_pref_d|}}}{{{lk_pref_m|}}}<!--
-->{{{lk_suff|}}}{{{lk_suff_d|}}}{{{lk_suff_m|}}}<!--
-->{{{lk_suff_mprev|}}}{{{lk_suff_mnext|}}}
|{{#if:{{{lk_pref_d|{{{lk_pref|}}}}}}{{{lk_suff_d|{{{lk_suff|}}}}}}
|d
}}{{#if:{{{lk_pref_m|{{{lk_pref|}}}}}}{{{lk_suff_m|{{{lk_suff|}}}}}}<!--
-->{{{lk_suff_mprev|}}}{{{lk_suff_mnext|}}}
|m
}}
|{{{lk|off}}}
}}
|lk0={{{lk|off}}}
|tm={{{txt_pref_m|}}}
|mt={{{txt_suff_m|}}}
|lm={{{lk_pref_m|{{{lk_pref|}}}}}}
|ml={{{lk_suff_m|{{{lk_suff|}}}}}}
|lm>={{{lk_pref_mnext|{{{lk_pref_m|{{{lk_pref|}}}}}}}}}
|lm<={{{lk_pref_mprev|{{{lk_pref_m|{{{lk_pref|}}}}}}}}}
|ml>={{{lk_suff_mnext|{{{lk_suff_m|{{{lk_suff|}}}}}}}}}
|ml<={{{lk_suff_mprev|{{{lk_suff_m|{{{lk_suff|}}}}}}}}}
|ld={{{lk_pref_d|{{{lk_pref|}}}}}}
|dl={{{lk_suff_d|{{{lk_suff|}}}}}}
|EndNote={{{EndNote|}}}
|style={{{yearstyle|"background:none; float:{{{float|none}}}"}}}
|titlestyle={{#if:{{{title_colour|{{{colour|}}}}}}
|background-color:{{{title_colour|{{{colour}}}}}};
}}
|weekstyle={{#if:{{{week_colour|{{{colour|}}}}}}
|background-color:{{{week_colour|{{{colour}}}}}};
}}
|wknumstyle={{#if:{{{wknum_colour|}}}
|background-color:{{{wknum_colour}}};
}}
|wk5253={{{wk5253|}}}
}}
}}
|{{calendar/{{#ifeq:{{title without disambig|{{PAGENAME}}}}|{{#time:Y|{{title without disambig|{{PAGENAME}}}}}}
|table
|month/link {{{lk|on}}}
}}
|row={{{row|}}}|col={{{col|4}}}
|title={{{title|}}}
|year={{{year|{{#time:Y|{{title without disambig|{{PAGENAME}}}}}}}}}
|show_year={{#ifeq:{{title without disambig|{{PAGENAME}}}}|{{#time:F Y|{{title without disambig|{{PAGENAME}}}}}}|off|on}}
|F={{#ifeq:{{title without disambig|{{PAGENAME}}}}|{{#time:F Y|{{title without disambig|{{PAGENAME}}}}}}|F Y|F}}
|float={{{float|right}}}
|month={{{month|{{#time:F|{{title without disambig|{{PAGENAME}}}} 1}}}}}
|lk={{{lk|on}}}
|EndNote={{{EndNote|}}}
|zero={{{zero|{{0}}}}}
|titlestyle={{#if:{{{title_colour|{{{colour|}}}}}}
|background-color:{{{title_colour|{{{colour}}}}}};
}}
|weekstyle={{#if:{{{week_colour|{{{colour|}}}}}}
|background-color:{{{week_colour|{{{colour}}}}}};
}}
}}
}}
}}
}}</includeonly><noinclude>{{documentation}}</noinclude>