Difference between revisions of "Template:GetMerge/doc"

From blackwiki
Jump to navigation Jump to search
imported>Evolution and evolvability
(Created page with '{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> ==...')
 
imported>Evolution and evolvability
({{{df}}})
 
Line 5: Line 5:
  
 
{{para|Q}} is to provide a QID, from which is extracted the {{Property|P585}}, of the {{Q|Q1921621}} in the {{Property|P793}} property.
 
{{para|Q}} is to provide a QID, from which is extracted the {{Property|P585}}, of the {{Q|Q1921621}} in the {{Property|P793}} property.
 +
 +
{{para|df}} specified date format (default = Y-m-d; options available [[mw:Help:Extension:ParserFunctions##time|here]])
  
 
===Examples===
 
===Examples===
 
*<nowiki>{{GetMerge|Q=Q28651505}}</nowiki> → {{GetMerge|Q=Q28651505}}
 
*<nowiki>{{GetMerge|Q=Q28651505}}</nowiki> → {{GetMerge|Q=Q28651505}}
*<nowiki>{{GetMerge|Q=Q76846397}}</nowiki> → {{GetMerge|Q=Q76846397}}
+
*<nowiki>{{GetMerge|Q=Q76846397|df=y}}</nowiki> → {{GetMerge|Q=Q76846397|df=Y}}
  
 
==See also==
 
==See also==

Latest revision as of 04:45, 16 August 2020

Usage

Retrieve the date on which an item was merged into Wikipedia.

|Q= is to provide a QID, from which is extracted the Template:Property, of the Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (Q1921621) in the Template:Property property.

|df= specified date format (default = Y-m-d; options available here)

Examples

  • {{GetMerge|Q=Q28651505}} → 2026-01-11
  • {{GetMerge|Q=Q76846397|df=y}} → 2026

See also