Difference between revisions of "Template:GetDatePropertyValuePart"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 2: Line 2:
 
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.
 
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 "printing" template, it doesn't store any values anywhere, but merely prints them on the page.
  
 
'''Parameters:'''
 
'''Parameters:'''

Revision as of 23:19, 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 "printing" template, it doesn't store any values anywhere, but merely prints them on the page.

Parameters:

  • |object= - the full page name of the object.
  • |property= - the name of the property.
  • |part= - three values are acceptable: Year, Month, Day.