Bewerken van Sjabloon:Startdatum/doc
Uit Radiopedia
Deze bewerking kan ongedaan gemaakt worden. Hieronder staat de tekst waarin de wijziging ongedaan is gemaakt. Controleer voor het publiceren of het resultaat gewenst is.
Huidige versie | Uw tekst | ||
Regel 1: | Regel 1: | ||
<noinclude>{{Documentation subpage}}</noinclude> | <noinclude>{{Documentation subpage}}</noinclude> | ||
{{ | {{vertaal}} | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
Regel 7: | Regel 7: | ||
==Syntax== | ==Syntax== | ||
*<nowiki>{{ | *<nowiki>{{Start date|year|month|day}}</nowiki> | ||
*<nowiki>{{ | *<nowiki>{{Start date|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) | ||
Examples: | Examples: | ||
*<nowiki>{{ | *<nowiki>{{Start date|1993}}</nowiki> returns "{{Start date|1993}}" | ||
*<nowiki>{{ | *<nowiki>{{Start date|1993|02}}</nowiki> returns "{{Start date|1993|02}}" | ||
*<nowiki>{{ | *<nowiki>{{Start date|1993|02|24}}</nowiki> returns "{{Start date|1993|02|24}}" | ||
*<nowiki>{{ | *<nowiki>{{Start date|1993|02|24|08|30}}</nowiki> returns "{{Start date|1993|02|24|08|30}}" | ||
*<nowiki>{{ | *<nowiki>{{Start date|1993|02|24|08|||+01:00}}</nowiki> returns "{{Start date|1993|02|24|08|||+01:00}}" | ||
*<nowiki>{{ | *<nowiki>{{Start date|1993|02|24|08|||-07:00}}</nowiki> returns "{{Start date|1993|02|24|08|||-07:00}}" | ||
*:<nowiki>{{ | *:<nowiki>{{Start date|1993|02|24|08|30|23}}</nowiki> returns "{{Start date|1993|02|24|08|30|23}}" | ||
*<nowiki>{{ | *<nowiki>{{Start date|1993|02|24|08|30|23|Z}}</nowiki> returns "{{Start date|1993|02|24|08|30|23|Z}}" | ||
*<nowiki>{{ | *<nowiki>{{Start date|1993|02|24|08|30|23|+01:00}}</nowiki> returns "{{Start date|1993|02|24|08|30|23|+01:00}}" | ||
*<nowiki>{{ | *<nowiki>{{Start date|1993|02|24|08|30|23|-07:00}}</nowiki> returns "{{Start date|1993|02|24|08|30|23|-07:00}}" | ||
An optional parameter, df, 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. | An optional parameter, df, 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. | ||
Regel 27: | Regel 27: | ||
Examples: | Examples: | ||
*<nowiki>{{ | *<nowiki>{{Start date|1993|02|24|df=y}}</nowiki> returns "{{Start date|1993|02|24|df=y}}" | ||
*<nowiki>{{ | *<nowiki>{{Start date|1993|02|24|08|30|df=yes}}</nowiki> returns "{{Start date|1993|02|24|08|30|df=yes}}" | ||
'''Note:''' The template will appear broken when the parameters are left blank (as seen hereinbefore). | '''Note:''' The template will appear broken when the parameters are left blank (as seen hereinbefore). | ||
Regel 36: | Regel 36: | ||
*'''{{tl|Start date and age}}''' | *'''{{tl|Start date and age}}''' | ||
*'''{{tl|Start-date}}''' (an alternative to this template) | *'''{{tl|Start-date}}''' (an alternative to this template) | ||
<includeonly> | |||
<!-- ADD CATEGORIES BELOW THIS LINE --> | |||
[[Category:Date mathematics templates|{{PAGENAME}}]] | |||
[[Category:Templates generating hAtom|{{PAGENAME}}]] | |||
[[Category:Templates generating hCalendars|{{PAGENAME}}]] | |||
[[Category:Templates generating hCards|{{PAGENAME}}]] | |||
</includeonly> |