Template:Wikidata entity link: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
trim
Ookami (talk | contribs)
m 16 revisions imported
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[{{#if:{{{1|}}}|{{#switch:{{uc:{{padleft:|1|{{#if:1|{{{1|}}}}}}}}}
<includeonly>{{#if: {{{1|}}}
|Q|P={{#invoke:Wikibase/sandbox|wdurl|{{{1}}}}} {{#invoke:Wikibase/sandbox|label|{{{1}}}}} <small>({{{1|}}})</small>
| {{#switch: {{uc:{{padleft:|1|{{#if:1|{{{1}}}}}}}}}
|#default={{#invoke:Wikibase/sandbox|wdurl|Q{{#if:1|{{{1|}}}}} {{#invoke:Wikibase/sandbox|label|Q{{#if:1|{{{1|}}}}} <small>(Q{{#if:1|{{{1|}}}}})</small>
  | Q | P = [[d:Special:EntityPage/{{#if:1|{{{1}}}}}|{{#invoke:wd|label|{{{1}}}}} <small>({{#if:1|{{{1}}}}})</small>]]
}}|{{#invoke:Wikibase/sandbox|wdurl}} {{#invoke:Wikibase/sandbox|label}} <small>({{#invoke:Wikibase/sandbox|id}})</small>}}]<noinclude>{{documentation}}</noinclude>
  | #default = [[d:Special:EntityPage/Q{{#if:1|{{{1}}}}}|{{#invoke:wd|label|Q{{#if:1|{{{1}}}}}}} <small>(Q{{#if:1|{{{1|}}}}})</small>]]
  }}
| {{#if:{{#invoke:wd|label|raw}}
  | [[d:Special:EntityPage/{{#invoke:wd|label|raw}}|{{#invoke:wd|label}} <small>({{#invoke:wd|label|raw}})</small>]]
  | <small>(no entity)</small>
  }}
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 04:32, 3 September 2020