Difference between revisions of "Template:Wikidata entity link"
Jump to navigation
Jump to search
Template documentation[create]
test>Zyxw (Trim any leading or trailing spaces from unnamed parameter that would prevent template from working as expected.) |
(wdurl) |
||
| Line 1: | Line 1: | ||
| − | {{#switch:{{ | + | [{{#if:{{{1|}}}|{{#switch:{{uc:{{padleft:|1|{{#if:1|{{{1|}}}}}}}}} |
| − | | Q = | + | |Q|P={{#invoke:Wikibase/sandbox|wdurl|{{{1}}}}} {{#invoke:Wikibase/sandbox|label|{{{1}}}}} <small>({{{1|}}})</small> |
| − | | | + | |#default={{#invoke:Wikibase/sandbox|wdurl|Q{{{1}}}}} {{#invoke:Wikibase/sandbox|label|Q{{{1}}}}} <small>(Q{{{1|}}})</small> |
| − | | | + | }}|{{#invoke:Wikibase/sandbox|wdurl}} {{#invoke:Wikibase/sandbox|label}} <small>({{#invoke:Wikibase/sandbox|id}})</small>}}]<noinclude>{{documentation}}</noinclude> |
| − | }}<noinclude> | ||
| − | {{documentation}} | ||
| − | </noinclude> | ||
Revision as of 21:09, 5 September 2017
[Lua error in Module:Wikibase/sandbox at line 16: attempt to index field 'wikibase' (a nil value). Lua error in Module:Wikibase/sandbox at line 22: attempt to index field 'wikibase' (a nil value). (no mw.wikibase)]
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |