Template:Wikidata entity link: Difference between revisions

From Vigyanwiki
Template>Zyxw
(Trim any leading or trailing spaces from unnamed parameter that would prevent template from working as expected.)
(wdurl)
Line 1: Line 1:
{{#switch:{{str left|{{{1|}}}|1}}
[{{#if:{{{1|}}}|{{#switch:{{uc:{{padleft:|1|{{#if:1|{{{1|}}}}}}}}}
| Q = [[d:{{#if:1|{{{1|}}}}}|{{label|{{#if:1|{{{1|}}}}}}} <small>({{#if:1|{{{1|}}}}})</small>]]
|Q|P={{#invoke:Wikibase/sandbox|wdurl|{{{1}}}}} {{#invoke:Wikibase/sandbox|label|{{{1}}}}} <small>({{{1|}}})</small>
| P = [[d:Property:{{#if:1|{{{1|}}}}}|{{label|{{#if:1|{{{1|}}}}}}} <small>({{#if:1|{{{1|}}}}})</small>]]
|#default={{#invoke:Wikibase/sandbox|wdurl|Q{{{1}}}}} {{#invoke:Wikibase/sandbox|label|Q{{{1}}}}} <small>(Q{{{1|}}})</small>
| [[d:Q{{#if:1|{{{1|}}}}}|{{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>
}}<noinclude>
{{documentation}}
</noinclude>

Revision as of 02:39, 6 September 2017

[Script error: No such module "Wikibase/sandbox". Script error: No such module "Wikibase/sandbox". (Script error: No such module "Wikibase/sandbox".)]

Template documentation