Template:Date-calc: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Created page with "<noinclude>{{Documentation}}</noinclude> {{#if:{{{date|}}}| {{#ifeq:{{{operation|}}}|add| {{#time: Y-m-d|{{{date}}}+{{{days|1}}} days}} }} {{#ifeq:{{{operation|}}}|subtract| {{#time: Y-m-d|{{{date}}}-{{{days|1}}} days}} }} }}" |
No edit summary Tag: Reverted |
||
| Line 2: | Line 2: | ||
{{#if:{{{date|}}}| |
{{#if:{{{date|}}}| |
||
{{#ifeq:{{{operation|}}}|add| |
{{#ifeq:{{{operation|}}}|add| |
||
{{#time: |
{{#time: d/m/Y|{{{date}}}+{{{days|1}}} days}} |
||
}} |
}} |
||
{{#ifeq:{{{operation|}}}|subtract| |
{{#ifeq:{{{operation|}}}|subtract| |
||
{{#time: |
{{#time: d/m/Y|{{{date}}}-{{{days|1}}} days}} |
||
}} |
|||
}} |
|||
{{#if:{{{date|}}}| |
|||
{{#ifeq:{{{operation|}}}|add| |
|||
{{#time: d/m/Y|{{#time:Y-m-d}}+{{{days|1}}} days}} |
|||
}} |
|||
{{#ifeq:{{{operation|}}}|subtract| |
|||
{{#time: d/m/Y|{{#time:Y-m-d}}-{{{days|1}}} days}} |
|||
}} |
}} |
||
}} |
}} |
||
Revision as of 16:51, 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'''.