Difference between revisions of "Template:SetDatePropertyValue"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 8: Line 8:
 
* <code><nowiki>{{{property|}}} Day</nowiki></code> - the day part.
 
* <code><nowiki>{{{property|}}} Day</nowiki></code> - the day part.
  
'''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.
 +
 
 +
'''As of now, the function doesn't support BC years.'''
  
 
'''Parameters:'''
 
'''Parameters:'''

Revision as of 22:56, 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.

The template will store up to four values:

  • {{{property|}}} - the combined date.
  • {{{property|}}} Year - the year part.
  • {{{property|}}} Month - the month part.
  • {{{property|}}} Day - the day part.

NOTE: As any "set" template, it doesn't print anything on the page, but merely sets the appropriate values.

As of now, the function doesn't support BC years.

Parameters:

  • |property= - the name of the property.
  • |year= - the year.
  • |month= - the month.
  • |day= - the day.