Template:Wikidata entity link: Difference between revisions

From Vigyanwiki
Template>MSGJ
m (MSGJ moved page Template:Q to Template:Wikidata entity link: clearer name)
Template>Zyxw
(Trim any leading or trailing spaces from unnamed parameter that would prevent template from working as expected.)
Line 1: Line 1:
{{#switch:{{str left|{{{1|}}}|1}}
{{#switch:{{str left|{{{1|}}}|1}}
| Q = [[d:{{{1|}}}|{{label|{{{1|}}}}} <small>({{{1|}}})</small>]]
| Q = [[d:{{#if:1|{{{1|}}}}}|{{label|{{#if:1|{{{1|}}}}}}} <small>({{#if:1|{{{1|}}}}})</small>]]
| P = [[d:Property:{{{1|}}}|{{label|{{{1|}}}}} <small>({{{1|}}})</small>]]
| P = [[d:Property:{{#if:1|{{{1|}}}}}|{{label|{{#if:1|{{{1|}}}}}}} <small>({{#if:1|{{{1|}}}}})</small>]]
| [[d:Q{{{1|}}}|{{label|Q{{{1|}}}}} <small>(Q{{{1|}}})</small>]]
| [[d:Q{{#if:1|{{{1|}}}}}|{{label|Q{{#if:1|{{{1|}}}}}}} <small>(Q{{#if:1|{{{1|}}}}})</small>]]
}}<noinclude>
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 22:36, 23 April 2017

[[d:Q|Template:Label (Q)]]

Template documentation