Difference between revisions of "Template:GetDatePropertyValuePart"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | This template is used to return the given part of a date type property. The template assumes that the data is previously | + | This template is used to return the given part of a date type property. The template assumes that the data is previously stored with [[Template:SetDatePropertyValue]]. If the respective value part is unassigned, an empty string is returned. |
'''NOTE:''' As any "set" template, it doesn't print anything on the page, but merely sets the appropriate values. | '''NOTE:''' As any "set" template, it doesn't print anything on the page, but merely sets the appropriate values. |
Revision as of 23:18, 23 August 2016
This template is used to return the given part of a date type property. The template assumes that the data is previously stored with Template:SetDatePropertyValue. If the respective value part is unassigned, an empty string is returned.
NOTE: As any "set" template, it doesn't print anything on the page, but merely sets the appropriate values.
Parameters:
|object=
- the full page name of the object.|property=
- the name of the property.|part=
- three values are acceptable: Year, Month, Day.