Open main menu

Changes

no edit summary
--><!-- set individual values and build the overall date string
-->|{{#if: {{{year|}}}<!--
-->|{{#set: {{{property|}}} Year={{#time:Y|{{{year|}}} }}|}}<!-- store year -->{{#if: {{{month|}}}<!-- -->|{{#set: {{{property|}}} Month={{#time:F|{{{year|}}}-{{{month|}}}-28 }}|}}<!-- store month -->{{#if: {{{day|}}}<!--
-->|{{#set: {{{property|}}} Day={{#time:j|{{{year|}}}-{{{month|}}}-{{{day|}}} }}|}}<!-- store day
-->{{#set: {{{property|}}}={{#time:j F Y|{{{year|}}}-{{{month|}}}-{{{day|}}} }}|}}<!-- all components are present
-->|{{#set: {{{property|}}} Month={{#time:F|{{{year|}}}-{{{month|}}}-28 }}|}}<!-- store month -->{{#set: {{{property|}}}={{#time:F Y|{{{year|}}}-{{{month|}}}-28 }}|}}<!-- only month and year are present
-->}}<!-- if day
-->|{{#set: {{{property|}}} Year={{#time:Y|{{{year|}}} }}|}}<!-- store year -->{{#set: {{{property|}}}={{#time:Y|{{{year|}}} }}|}}<!-- only year is present
-->}}<!-- if month
--><!--