Templat:Calendar/doc: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
←Membuat halaman berisi '{{Documentation subpage}} <!-- Categories and interwikis go at the bottom of this page. --> This template displays either a yearly or monthly calendar (from 1970-2037...'
 
Tag: Suntingan visualeditor-wikitext
 
(3 revisi perantara oleh 3 pengguna tidak ditampilkan)
Baris 2:
<!-- Categories and interwikis go at the bottom of this page. -->
 
ThisTemplat templateini displaysmenampilkan eitherkalender asetahun yearlyatau orsatu monthly calendarbulan (from 1970-2037).
 
== Parameters ==
;month
:To display a single month the parameter <code>month</code> must be defined. This parameter can be a month name or number, the current month use <code>month=current</code> (<code>next</code> and <code>last</code> are also accepted).
Baris 70:
 
;title_colour
:Use this to change the background colour of the title bar with name of the month, and the bottom bar (e.g. <code>title_colour=#2e8b57</code>).
 
;week_colour
:Use this to change the colour of the bar listing the days of the week (e.g. <code>week_colour=#2e8b57</code>).
 
;colour
Baris 81:
:This adds text to the bottom bar.
 
==Examples Contoh ==
<code><nowiki>{{calendar|lk=on|show_year=on|float=right|month=current}}</nowiki></code> produces the calendar above. andThe calendars below are produced by <code><nowiki>{{calendar}}</nowiki></code> produces theand <code><nowiki>{{calendar|prevnext=true|format=iso|zero=0|row=3}}</nowiki></code>, belowrespectively.
 
{{calendar}}
 
{{calendar|prevnext=true|format=iso|zero=0|row=3}}
 
<includeonly>
<!-- Categories and interwikis go here: -->
[[CategoryKategori:Calendar templates|{{PAGENAME}}]]
[[CategoryKategori:Broken templates]]
 
[[pt:Predefinição:Calendário]]