Template:Wikidata entity link: Difference between revisions

From Vigyanwiki
(wdurl)
(trim)
Line 1: Line 1:
[{{#if:{{{1|}}}|{{#switch:{{uc:{{padleft:|1|{{#if:1|{{{1|}}}}}}}}}
[{{#if:{{{1|}}}|{{#switch:{{uc:{{padleft:|1|{{#if:1|{{{1|}}}}}}}}}
|Q|P={{#invoke:Wikibase/sandbox|wdurl|{{{1}}}}} {{#invoke:Wikibase/sandbox|label|{{{1}}}}} <small>({{{1|}}})</small>
|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>
|#default={{#invoke:Wikibase/sandbox|wdurl|Q{{#if:1|{{{1|}}}}} {{#invoke:Wikibase/sandbox|label|Q{{#if:1|{{{1|}}}}} <small>(Q{{#if:1|{{{1|}}}}})</small>
}}|{{#invoke:Wikibase/sandbox|wdurl}} {{#invoke:Wikibase/sandbox|label}} <small>({{#invoke:Wikibase/sandbox|id}})</small>}}]<noinclude>{{documentation}}</noinclude>
}}|{{#invoke:Wikibase/sandbox|wdurl}} {{#invoke:Wikibase/sandbox|label}} <small>({{#invoke:Wikibase/sandbox|id}})</small>}}]<noinclude>{{documentation}}</noinclude>

Revision as of 21:08, 7 September 2017

[{{#if:|{{#switch: |Q|P=Script error: No such module "Wikibase/sandbox". Script error: No such module "Wikibase/sandbox". ()

|#default=Script error: No such module "Wikibase/sandbox".]

Template documentation