Lompat ke isi

Templat:Time: Perbedaan antara revisi

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas
Konten dihapus Konten ditambahkan
RusdianaDablang (bicara | kontrib)
←Membuat halaman berisi '<includeonly>{{#invoke:time|time|{{{1|}}}|{{{2|}}}}}</includeonly><noinclude> {{documentation}}</noinclude>'
 
Farras (bicara | kontrib)
+
Baris 1: Baris 1:
<includeonly>{{#invoke:time|time|{{{1|}}}|{{{2|}}}}}</includeonly><noinclude>
<includeonly>{{#invoke:time|time|{{{1|}}}|{{{2|}}}}}</includeonly><noinclude>
{{documentation}}</noinclude>
{{documentation}}
<templatedata>
{
"params": {
"1": {
"label": "time zone",
"description": "The time zone for the time formatting",
"example": "EST",
"type": "string",
"suggested": true
},
"2": {
"aliases": [
"df"
],
"label": "date format",
"description": "The format to render the date and time",
"example": "dmy12",
"suggested": true
},
"dst": {
"label": "Daylight savings time",
"example": "yes",
"type": "string"
},
"lang": {
"label": "ISO 639 language code",
"description": "displays time/date in language specified by ISO 639 language",
"type": "string"
},
"dateonly": {
"description": "If 'yes', suppresses display of the time and only shows the date",
"example": "yes",
"type": "string"
},
"timeonly": {
"description": "If 'yes', suppresses display of the date and only shows the time",
"example": "yes",
"type": "string"
},
"hide-tz": {
"label": "Hide time zone?",
"description": "If 'yes', suppresses time zone abbreviation",
"example": "yes",
"type": "string"
},
"unlink-tz": {
"label": "Don't link time zone?",
"description": "If 'yes', renders the timezone without linking to its article.",
"example": "yes",
"type": "string"
}
}
}
</templatedata></noinclude>

Revisi per 11 Januari 2019 14.54

Tidak ada keterangan.

Parameter templat

ParameterKeteranganJenisStatus
time zone1

The time zone for the time formatting

Contoh
EST
Katadisarankan
date format2 df

The format to render the date and time

Contoh
dmy12
Tak dikenaldisarankan
Daylight savings timedst

tidak ada keterangan

Contoh
yes
Kataopsional
ISO 639 language codelang

displays time/date in language specified by ISO 639 language

Kataopsional
dateonlydateonly

If 'yes', suppresses display of the time and only shows the date

Contoh
yes
Kataopsional
timeonlytimeonly

If 'yes', suppresses display of the date and only shows the time

Contoh
yes
Kataopsional
Hide time zone?hide-tz

If 'yes', suppresses time zone abbreviation

Contoh
yes
Kataopsional
Don't link time zone?unlink-tz

If 'yes', renders the timezone without linking to its article.

Contoh
yes
Kataopsional