Difference between revisions of "Template:GetLicense/doc"
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 | + | 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}}. |
| − | |||
| − | {{ | ||
| − | |||
===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
| This is a documentation subpage for Template:GetLicense. It contains usage information, categories and other content that is not part of the original template page. |
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).]