Template:PrintDatePropertyInOnString

From Encyclopedia of Scientonomy
Revision as of 10:18, 24 August 2016 by Hakob Barseghyan (talk | contribs) (Created page with "<noinclude> 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 is 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.