Created page with "{{replace|1={{replace|1={{#time:{{{1|"<span style='color:red;'>No formatting string provided!</span>"}}}|{{{2|now}}}|{{{3|en}}}|{{{4|false}}}}}|2=J|3={{#time:j|{{#var:date-o-m..." |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{replace|1={{replace|1={{#time:{{{1|"<span style='color:red;'>No formatting string provided!</span>"}}}|{{{2|now}}}|{{{3|en}}}|{{{4|false}}}}}|2=J|3={{#time:j|{{#var:date-o-matic-input}}}}{{#switch:{{#time:j|{{#var:date-o-matic-input}}}}|1|21|31=st|2|22=nd|3|23=rd|#default=th}}}}|2=^|3={{#time:j|{{#var:date-o-matic-input}}}}<sup>{{#switch:{{#time:j|{{#var:date-o-matic-input}}}}|1|21|31=st|2|22=nd|3|23=rd|#default=th}}</sup>}}<noinclude>[[Category:Meta | {{replace|1={{replace|1={{#time:{{{1|"<span style='color:red;'>No formatting string provided!</span>"}}}|{{{2|now}}}|{{{3|en}}}|{{{4|false}}}}}|2=J|3={{#time:j|{{#var:date-o-matic-input}}}}{{#switch:{{#time:j|{{#var:date-o-matic-input}}}}|1|21|31=st|2|22=nd|3|23=rd|#default=th}}}}|2=^|3={{#time:j|{{#var:date-o-matic-input}}}}<sup>{{#switch:{{#time:j|{{#var:date-o-matic-input}}}}|1|21|31=st|2|22=nd|3|23=rd|#default=th}}</sup>}}<noinclude>[[Category:Meta templates]]{{doc}}</noinclude> |
No formatting string provided!
The Date-o-matic is a small set of expansions upon {{#time}}
parser function. It is made up by three parts:
{{date-o-matic}}
. Analogous to {{#time}}
, with two codes are added to the format string:
{{date-o-matic|F %, Y}}
yields September %, 2025.{{date-o-matic|F ^, Y}}
yields September 16th, 2025.{{#time}}
if these characters must be used.{{date-o-matic/horoscope}}
. Return the horoscope sign for the provided date.{{date-o-matic/fromnow}}
. Return the length of time from now to the provided time.