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>WOSlinker (tidy style) |
||
| 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|_}} | ||
|} | |} | ||
Revision as of 08:03, 18 November 2014
| 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 21, 2026 |
{{Datewarn|December|31}}
|
Template:Month+1 31, 2027 |
{{Datewarn|January|30|2004|_}}
|
Template:Month+1_29,_2004 |
See also