Module:Time/doc: Difference between revisions

Content deleted Content added
ce;
 
(21 intermediate revisions by 5 users not shown)
Line 1:
{{Module rating|protected}}
{{High-use}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{Lua|Module:Arguments|Module:Time/data|Module:Yesno}}
== Usage ==
This module produces the time and date of a timezone. The module is used by [[Template:Time]]. For more information you can see it's documentation.
 
Implements {{tlx|time}} and {{tlx|UTC offset}}.
==Parameters==
 
*{{para|df}}/<code>|"contents"</code> this parameter sets the format of the time
<includeonly>{{Sandbox other||
:*{{para|df|dmy12}} dmy 12 hour time and date
<!-- Categories below this line, please; interwikis at Wikidata -->
:*{{para|df|mdy12}} mdy 12 hour time and date
[[Category:Time, date and calendar modules]]
:*{{para|df|dmy24}} dmy 24 hour time and date
}}</includeonly>
:*{{para|df|mdy24}} mdy 24 hour time and date
:*{{para|df|24}} 24 hour time only
:*{{para|df|12}} 12 hour time only
*{{para|dateonly}} Removes the time from the output
*{{para|no-link}} Removes the link to the article
*{{para|no-refresh}} Removes the refresh link
===Historical parameters===
{{para|dmy}} same as dmy24 (avoid using to prevent confusion that it only produces the date)
{{para|mdy}} same as mdy24 (avoid using to prevent confusion that it only produces the date)
{{para|y}} same as dmy24
<includeonly>
<!-- Categories below this line, please; interwikis at Wikidata -->
</includeonly>