Difference between revisions of "Template:GetLicense/doc"

From blackwiki
Jump to navigation Jump to search
imported>Evolution and evolvability
imported>Evolution and evolvability
(fuller description)
 
Line 2: Line 2:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
== Usage ==
 
== Usage ==
Retrieve the licesnse for an item.
+
Retrieve and format an item's {{Property|P275}}. The template will display display the licence's {{property|P1813}} or else its {{property|P2479}} and link out to its {{property|P856}}.
 
 
{{para|Q}} is to provide a QID, from which is extracted the {{Property|P275}}.
 
 
 
 
===Examples===
 
===Examples===
 
*<nowiki>{{GetLicense|Q=Q28651505}}</nowiki> → {{GetLicense|Q=Q28651505}}
 
*<nowiki>{{GetLicense|Q=Q28651505}}</nowiki> → {{GetLicense|Q=Q28651505}}

Latest revision as of 00:21, 10 October 2020

Usage

Retrieve and format an item's Template:Property. The template will display display the licence's Template:Property or else its Template:Property and link out to its Template:Property.

Examples

  • {{GetLicense|Q=Q28651505}} → [Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value).]

See also