Template:Wikidata entity link: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>MSGJ
m MSGJ moved page Template:Q to Template:Wikidata entity link: clearer name
meta>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 17:06, 23 April 2017

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