Template:PrintDatePropertyInOnString

From Encyclopedia of Scientonomy
Jump to navigation Jump to search

This template is used to return a nicely formatted string of "on 24 August 2016", "in August 2016", or "in 2016" depending on which parts of the date type property are given. The template assumes that the data has been previously stored with Template:SetDatePropertyValue.

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.
  • |link= - determines whether the value is to be printed as a link to the respective page (where available); possible values are none, subject, all. If not given all is the default.