Erinevus lehekülje "Mall:Algusaeg/doc" redaktsioonide vahel

Eemaldatud 2051 baiti ,  7 aasta eest
Tühistati muudatus 3459864, mille tegi 142.4.216.61 (arutelu)
(Tühistati muudatus 3459864, mille tegi 142.4.216.61 (arutelu))
 
{{dokumentatsiooni alamleht}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
==Usage Kasutus ==
This purpose of the '''{{tl|Algusaeg}}''' template is to return a date (or date-time). It also includes duplicate date (or date-time) in the ISO date format (which is hidden by CSS), for use in [[microformat]]s. This hidden date degrades gracefully when CSS is not available.
 
==SyntaxSüntaks==
*<nowiki>{{Algusaeg|year|month|day}}</nowiki>
*<nowiki>{{Algusaeg|year|month|day|HH|MM|SS|TimeZone}}</nowiki> (MM and SS are optional; TimeZone may be a numerical value, or "Z" for [[Coordinated Universal Time|UTC]]; see examples)
 
*:<nowiki>{{Algusaeg|yearaasta|monthkuu|daykuupäev}}</nowiki>
;Examples
 
:<nowiki>{{Algusaeg|aasta|kuu|kuupäev|HH|MM|SS|ajavöönd}}</nowiki> (MM ja SS on valikulised; ajavöönd võib olla numbriline "Z" ([[UTC]]); vaata näiteid)
*<nowiki>{{Algusaeg|1993}}</nowiki> returns "{{Algusaeg|1993}}"
*<nowiki>{{Algusaeg|1993|02}}</nowiki> returns "{{Algusaeg|1993|02}}"
*<nowiki>{{Algusaeg|1993|02|24}}</nowiki> returns "{{Algusaeg|1993|02|24}}"
*<nowiki>{{Algusaeg|1993|02|24|08|30}}</nowiki> returns "{{Algusaeg|1993|02|24|08|30}}"
*<nowiki>{{Algusaeg|1993|02|24|08|||+01:00}}</nowiki> returns "{{Algusaeg|1993|02|24|08|||+01:00}}"
*<nowiki>{{Algusaeg|1993|02|24|08|||-07:00}}</nowiki> returns "{{Algusaeg|1993|02|24|08|||-07:00}}"
*:<nowiki>{{Algusaeg|1993|02|24|08|30|23}}</nowiki> returns "{{Algusaeg|1993|02|24|08|30|23}}"
*<nowiki>{{Algusaeg|1993|02|24|08|30|23|Z}}</nowiki> returns "{{Algusaeg|1993|02|24|08|30|23|Z}}"
*<nowiki>{{Algusaeg|1993|02|24|08|30|23|+01:00}}</nowiki> returns "{{Algusaeg|1993|02|24|08|30|23|+01:00}}"
*<nowiki>{{Algusaeg|1993|02|24|08|30|23|-07:00}}</nowiki> returns "{{Algusaeg|1993|02|24|08|30|23|-07:00}}"
 
või
An optional parameter, <tt>df</tt>, can be set to "y" or "yes" (or indeed any value) to display the day before the month. This is primarily used in articles about events in parts of the world where the day precedes the month in a date.
 
:<nowiki>{{Lõppaeg|aasta|kuu|kuupäev}}</nowiki>
;Examples:
 
Näited:
*<nowiki>{{Algusaeg|1993|02|24|df=y}}</nowiki> returns "{{Algusaeg|1993|02|24|df=y}}"
*<nowiki>{{Algusaeg|1993|02|24|08|30|df=yes}}</nowiki> returns "{{Algusaeg|1993|02|24|08|30|df=yes}}"
 
*:<nowiki>{{Algusaeg|1993}}</nowiki> returnsannab tulemuseks "{{Algusaeg|1993}}"
'''Note:''' The template will appear broken when the parameters are left blank (as seen hereinbefore).
 
*:<nowiki>{{Algusaeg|1993|022}}</nowiki> returnsannab tulemuseks "{{Algusaeg|1993|022}}"
==Use in microformats==
{{UF-date-part}}
 
*:<nowiki>{{Algusaeg|1993|022|24}}</nowiki> returnsannab tulemuseks "{{Algusaeg|1993|022|24}}"
==See also==
*'''{{tl|End date}}'''
*'''{{tl|Start date and age}}'''
*'''{{tl|Start-date}}''' (an alternative to this template)
*'''{{tl|Film date}}''' – a similar template, but for use with {{tl|Infobox film}}
 
*:<nowiki>{{Algusaeg|1993|022|24|08|30}}</nowiki> returnsannab tulemuseks "{{Algusaeg|1993|022|24|08|30}}"
*[[Wikipedia:WikiProject Microformats|WikiProject Microformats]]
*[[Wikipedia:Microformats]]
 
*:<nowiki>{{Algusaeg|1993|022|24|08|||+01:00}}</nowiki> returnsannab tulemuseks "{{Algusaeg|1993|022|24|08|||+01:00}}"
 
*:<nowiki>{{Algusaeg|1993|022|24|08|||-07:00}}</nowiki> returnsannab tulemuseks "{{Algusaeg|1993|022|24|08|||-07:00}}"
 
*:<nowiki>{{Algusaeg|1993|022|24|08|30|23}}</nowiki> returnsannab tulemuseks "{{Algusaeg|1993|022|24|08|30|23}}"
 
*:<nowiki>{{Algusaeg|1993|022|24|08|30|23|Z}}</nowiki> returnsannab tulemuseks "{{Algusaeg|1993|022|24|08|30|23|Z}}"
 
*:<nowiki>{{Algusaeg|1993|022|24|08|30|23|+01:00}}</nowiki> returnsannab tulemuseks "{{Algusaeg|1993|022|24|08|30|23|+01:00}}"
 
*:<nowiki>{{Algusaeg|1993|022|24|08|30|23|-07:00}}</nowiki> returnsannab tulemuseks "{{Algusaeg|1993|022|24|08|30|23|-07:00}}"
 
*:<nowiki>{{AlgusaegLõppaeg|1993|022|24|08|30|df=yes}}</nowiki> returnsannab tulemuseks "{{AlgusaegLõppaeg|1993|022|24|08|30|df=yes}}"
 
*:<nowiki>{{AlgusaegLõppaeg|1993|022|24|df=y08|30}}</nowiki> returnsannab tulemuseks "{{AlgusaegLõppaeg|1993|022|24|df=y08|30}}"
 
'''Märkus:''' Mall annab vigase tulemuse, kui osa paremeetreid on jäetud tühjaks.
<includeonly>
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Kategooria:Daatumite järgi arvutavad mallid|{{PAGENAME}}]]
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
[[ar:قالب:تاريخ بداية]]
[[as:সাঁচ:Start date]]
[[ast:Plantía:Fecha]]
[[az:Şablon:Start date]]
[[bn:টেমপ্লেট:Start date]]
[[ca:Plantilla:Data inici]]
[[cy:Nodyn:Start date]]
[[el:Πρότυπο:Start date]]
[[en:Template:Start date]]
[[es:Plantilla:Fecha]]
[[fa:الگو:تاریخ آغاز]]
[[gd:Teamplaid:Start date]]
[[gl:Modelo:Data]]
[[hi:साँचा:Start date]]
[[hy:Կաղապար:Start date]]
[[id:Templat:Tanggal mulai]]
[[ja:Template:Start date]]
[[jv:Cithakan:Start date]]
[[kn:ಟೆಂಪ್ಲೇಟು:End date]]
[[ka:თარგი:დაიწყე თარიღი]]
[[kn:ಟೆಂಪ್ಲೇಟು:Start date]]
[[la:Formula:Start date]]
[[mr:साचा:दिनांक]]
[[ms:Templat:Start date]]
[[no:Mal:Startdato]]
[[or:ଛାଞ୍ଚ:Start date]]
[[pa:ਨਮੂਨਾ:Start date]]
[[pt:Predefinição:Data de início]]
[[ru:Шаблон:Start date]]
[[simple:Template:Start date]]
[[th:แม่แบบ:Start date]]
[[tpi:Template:Start date]]
[[tr:Şablon:Tarih]]
[[uk:Шаблон:Initial release]]
[[ur:سانچہ:Start date]]
[[zh:Template:Start date]]
</includeonly>
Anonüümne kasutaja