Template:Date-calc: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{#if: {{{date|}}} |
{{#if: {{{date|}}} |
{{#ifeq: {{{operation|}}} | add |
{{#ifeq: {{{operation|}}} | add |
{{#time: jS F Y | {{{date}}} + {{{days|1}}} days }}
{{#time: j F Y | {{{date}}} + {{{days|0}}} days + {{{weeks|0}}} weeks + {{{months|0}}} months }}
}}
}}
{{#ifeq: {{{operation|}}} | subtract |
{{#ifeq: {{{operation|}}} | subtract |
{{#time: jS F Y | {{{date}}} - {{{days|1}}} days }}
{{#time: j F Y | {{{date}}} - {{{days|0}}} days - {{{weeks|0}}} weeks - {{{months|0}}} months }}
}}
}}
| Please specify a valid date and operation (add or subtract).
}}
}}

Latest revision as of 17:23, 17 December 2024

Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''. Please specify a valid date and operation (add or subtract).