Content deleted Content added
Pere prlpz (talk | contribs) →Methods: spies |
→Methods: update documentation for BC dates |
||
Line 6:
* <tt>getValue</tt>: Returns wiki-linked values, if applicable. All other values with be output like <tt><nowiki>{{#property:}}</nowiki></tt>, regardless of their rank.
* <tt>getRawValue</tt>: Returns non-linked property values and numbers with the thousand separator. All other values with be output like <tt><nowiki>{{#property:}}</nowiki></tt>.
* <tt>getDateValue</tt>: Special method to return formatted dates. The default date format is [day month year]; an optional third parameter can be added for other date formats: for [month day, year], add "mdy"; for [month year], add "my"; for year only, add "y". A further optional parameter, which must be fourth, such as "BCE", may be added to override the default "BC" which is suffixed for dates BC.
Wikidata qualifier values (if present) can be retrieved by the following methods:
|