Difference between revisions of "Template:SetDatePropertyValue"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
− | -->{{#if: {{{property|}}}<!-- | + | -->hello world {{#if: {{{property|}}}<!-- |
--><!-- | --><!-- | ||
-->{{#if: {{{year|}}} | store year <!-- store year | -->{{#if: {{{year|}}} | store year <!-- store year |
Revision as of 21:25, 23 August 2016
This template is used to set a value of type date given the year, month, and day. Month and day are optional parameters. The template will also store all the parts individually to keep track of which parts of the date are incomplete.
NOTE: As any "set" template, it doesn't print anything on the page, but merely sets the appropriate values.
Parameters:
|property=
- the name of the property.|year=
- the year.|month=
- the month.|day=
- the day.