Difference between revisions of "Module:Wikidata entity link"
Jump to navigation
Jump to search
Module documentation[create]
blackwiki>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)]

You might want to create a documentation page for this Scribunto module. Editors can experiment in this module's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this module. |