Difference between revisions of "Template:Item"

From BDI Data
Jump to: navigation, search
(should be working now)
(should be working now (this time really))
Line 1: Line 1:
<includeonly>[{{#if:{{{1|}}}|{{#switch:{{uc:{{padleft:|1|{{#if:1|{{{1|}}}}}}}}}
+
<includeonly>{{#ifeq: {{padleft:|1|{{#if:1|{{{1|}}}}}}} | Q
|Q|P={{#invoke:Wikibase|wdurl|{{{1}}}}} {{#invoke:Wikibase|label|{{{1}}}}} <small>({{#if:1|{{{1|}}}}})</small>
+
| [[{{{1|}}}|{{#invoke:Wikibase|label|{{{1|}}}}} <small>{{int:parentheses|{{{1|}}}}}</small>]]
|#default={{#invoke:Wikibase|wdurl|Q{{#if:1|{{{1|}}}}}}} {{#invoke:Wikibase|label|Q{{#if:1|{{{1|}}}}}}} <small>(Q{{#if:1|{{{1|}}}}})</small>
+
| [[Q{{{1|}}}|{{#invoke:Wikibase|label|Q{{{1|}}}}} <small>{{int:parentheses|Q{{{1|}}}}}</small>]]
}}|{{#invoke:Wikibase|wdurl}} {{#invoke:Wikibase|label}} <small>({{#invoke:Wikibase|id}})</small>}}]</includeonly><noinclude>For documentation see https://www.wikidata.org/wiki/Template:Q and https://en.wikipedia.org/wiki/Template:Wikidata_entity_link (this template is a combination of both)</noinclude>
+
}}</includeonly><noinclude>For documentation see https://www.wikidata.org/wiki/Template:Q and https://en.wikipedia.org/wiki/Template:Wikidata_entity_link (this template is a combination of both)</noinclude>

Revision as of 12:40, 7 November 2017

For documentation see https://www.wikidata.org/wiki/Template:Q and https://en.wikipedia.org/wiki/Template:Wikidata_entity_link (this template is a combination of both)