ಟೆಂಪ್ಲೇಟು:Start-date/doc: ಪರಿಷ್ಕರಣೆಗಳ ನಡುವಿನ ವ್ಯತ್ಯಾಸ

Content deleted Content added
-
→‎Parameters: <templatedata>
೩೨ ನೇ ಸಾಲು:
 
====Parameters====
:''';''parameter 1''''': (required) The date and time to display and to emit as a microformat date. If year is absent, the current year is assumed. If day is missing, the first of the month is assumed. If hour, or minutes are missing, zero is assumed. If time zone or location is missing, the local time of the event discussed in the article is assumed. See timezone parameter if [[UTC]] time is desired. Authors may specify place names ([[Template:Start-date/doc/timezones|see list]]) or time zones such as EDT, PST, HST and so on and these will be properly adjusted to [[UTC| UTC (Coordinated Universal Time)]] for transfer to other applications via microformat encoding. Gregorian calendar dates are required. Display in Julian or Chinese calendar date is possible using parameter 2.
<!-- :''';''parameter 2''''' (optional): If present, this wikitext is displayed rather than the date in parameter 1. These might be links to day of month or year pages. EG. December 7, 1941
 
<!-- :'''''parameter 2''''' (optional) If present, this wikitext is displayed rather than the date in parameter 1. These might be links to day of month or year pages. EG. December 7, 1941
commenting out deprecated practice -->
:''';ISO8601''': (optional) if present, this ISO8601 date/time value is emitted instead of the value derived from parameter 1.
:''';BCE''': (required for BCE dates) set to yes if the date is BC.
 
;timezone
:'''BCE''' (required for BCE dates) set to yes if the date is BC.
;tz:'''timezone''' (required if timezone information specified) Set to yes if the time is [[UTC]] or if the location, timezone, or timezone offset is specified. (short form '''tz''')
 
{{TemplateDataHeader}}
:'''timezone''' (required if timezone information specified) Set to yes if the time is [[UTC]] or if the location, timezone, or timezone offset is specified. (short form '''tz''')
<templatedata>{
"description": "Date that an event or entity started or was created or born",
"params": {
"1": {"label": "date-time", "description": "date and time to display and to emit as a microformat date", "type": "string/line", "required": true},
"2": {"label": "alternate text", "description": "if present, this wikitext is displayed instead", "inherits": "1", "type": "string", "deprecated": "true"},
"ISO8601": {"label": "YYYY-MM-DD hh:mm:ss", "description": "if present, this ISO 8601 date/time value is emitted instead", "inherits": "1"},
"before epoch?": {"label": "HH", "description": "boolean value, true if date is before epoch (i.e. BCE “before common era” or BC “before Christ)", "inherits": "ISO8601"},
"timezone?": {"label": "MM", "description": "boolean value, true if timezone is specified somehow", "inherits": "ISO8601", "default": "", "aliases": ["tz"]}
}}</templatedata>
 
====Ambiguous times and dates====
"https://kn.wikipedia.org/wiki/ಟೆಂಪ್ಲೇಟು:Start-date/doc" ಇಂದ ಪಡೆಯಲ್ಪಟ್ಟಿದೆ