Difference between revisions of "Template:Datewarn/doc"
Jump to navigation
Jump to search
imported>Mr. Stradivarius (use BASEPAGENAME instead of PAGENAME to avoid template loops) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 17: | Line 17: | ||
| '''Result''' | | '''Result''' | ||
|- | |- | ||
| − | | | + | | style="vertical-align:top;" | <code>{{{{BASEPAGENAME}}}}</code> |
| {{msg:{{BASEPAGENAME}}}} | | {{msg:{{BASEPAGENAME}}}} | ||
|- | |- | ||
| − | | | + | | style="vertical-align:top;" | <code>{{{{BASEPAGENAME}}|December|31}}</code> |
| {{msg:{{BASEPAGENAME}}|December|31}} | | {{msg:{{BASEPAGENAME}}|December|31}} | ||
|- | |- | ||
| − | | | + | | style="vertical-align:top;" | <code>{{{{BASEPAGENAME}}|January|30|2004|_}}</code> |
| {{msg:{{BASEPAGENAME}}|January|30|2004|_}} | | {{msg:{{BASEPAGENAME}}|January|30|2004|_}} | ||
|} | |} | ||
| Line 33: | Line 33: | ||
* <!-- links to simlar of linked templates --> | * <!-- links to simlar of linked templates --> | ||
| − | <includeonly>{{ | + | <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
| 40px | This is a documentation subpage for Template:Datewarn. It contains usage information, categories and other content that is not part of the original template page. |
{{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 23, 2026 |
{{Datewarn|December|31}}
|
Template:Month+1 31, 2027 |
{{Datewarn|January|30|2004|_}}
|
Template:Month+1_29,_2004 |
See also