Content deleted Content added
→Example:date of birth: update documentation for BC dates |
→Testing: update documentation for BC dates |
||
Line 129:
</pre>
This should return the Wikidata values for birthplace, spouse, citizenship, religion, gender, date of birth (twice) and year of birth, if they exist. The dob is first in dmy format and then in mdy.
=== Testing dates BC/BCE ===
Copy and paste the following into a short section of article such as [[Horace #See also]] and preview it (please don't save!):
<pre>
* - {{#invoke:Wikidata|getDateValue|P569|FETCH_WIKIDATA|y}}
* - {{#invoke:Wikidata|getDateValue|P569|FETCH_WIKIDATA|y|BCE}}
</pre>
This should return 65 BC and 65 BCE, respectively.
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
|