Template:SetDatePropertyValue

From Encyclopedia of Scientonomy
Revision as of 01:36, 26 August 2016 by Hakob Barseghyan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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|}}} Era - BCE or CE; default is CE.
  • {{{property|}}} Year - the year part.
  • {{{property|}}} Month - the month part.
  • {{{property|}}} Day - the day part.
  • {{{property|}}} Approximate - if Yes, the date is approximate; the default is No.

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.
  • |era= - the era: BCE or CE. The default is CE.
  • |year= - the year; mandatory.
  • |month= - the month.
  • |day= - the day.
  • |approximate= - if Yes, the date will be considered approximate (circa); this value is not passed to SMW, since the latter doesn't support approximate dates, but will be useful when printing dates (e.g. circa. 480 BC).