Difference between revisions of "Template:Datewarn/doc"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(tidy style)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 33: Line 33:
 
* <!-- links to simlar of linked templates -->
 
* <!-- links to simlar of linked templates -->
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Date mathematics templates|{{BASEPAGENAME}}]]
 
[[Category:Date mathematics templates|{{BASEPAGENAME}}]]
  
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 22:49, 24 April 2020

{{datewarn}} increases a date by one month

Usage

{{Datewarn}} - displays a date one month after the current date

{{Datewarn|monthname|day|year|spacingchar}} - displays a date one month after the specified date

Example

Code Result
{{Datewarn}} Template:Month+1 22, 2026
{{Datewarn|December|31}} Template:Month+1 31, 2027
{{Datewarn|January|30|2004|_}} Template:Month+1_29,_2004

See also