Open main menu

Difference between revisions of "Template:Wikidata property link"

m (1 revision imported)
Line 1: Line 1:
 
<includeonly>{{#switch: {{uc:{{Str left|{{{id|}}}|1}}}}
 
<includeonly>{{#switch: {{uc:{{Str left|{{{id|}}}|1}}}}
 
| N <!--none--> = {{#switch: {{uc:{{Str left|{{{1|}}}|1}}}}
 
| N <!--none--> = {{#switch: {{uc:{{Str left|{{{1|}}}|1}}}}
   | P = [[d:Property:{{#if:1|{{{1|}}}}}|{{Label|{{#if:1|{{{1|}}}}}}}]]
+
   | P = [[d:Special:EntityPage/{{#if:1|{{{1|}}}}}|{{wikidata|label|{{#if:1|{{{1|}}}}}}}]]
   | [[d:Property:P{{#if:1|{{{1|}}}}}|{{Label|P{{#if:1|{{{1|}}}}}}}]]
+
   | [[d:Special:EntityPage/P{{#if:1|{{{1|}}}}}|{{wikidata|label|P{{#if:1|{{{1|}}}}}}}]]
 
   }}
 
   }}
 
| O <!--only--> = {{#switch: {{uc:{{Str left|{{{1|}}}|1}}}}
 
| O <!--only--> = {{#switch: {{uc:{{Str left|{{{1|}}}|1}}}}
   | P = [[d:Property:{{#if:1|{{{1|}}}}}|{{#if:1|{{{1|}}}}}]]
+
   | P = [[d:Special:EntityPage/{{#if:1|{{{1|}}}}}|{{#if:1|{{{1|}}}}}]]
   | [[d:Property:P{{#if:1|{{{1|}}}}}|P{{#if:1|{{{1|}}}}}]]
+
   | [[d:Special:EntityPage/P{{#if:1|{{{1|}}}}}|P{{#if:1|{{{1|}}}}}]]
 
   }}
 
   }}
 
| F <!--first--> = {{#switch: {{uc:{{Str left|{{{1|}}}|1}}}}
 
| F <!--first--> = {{#switch: {{uc:{{Str left|{{{1|}}}|1}}}}
   | P = [[d:Property:{{#if:1|{{{1|}}}}}|{{#if:1|{{{1|}}}}}]]{{#if:{{Label|{{#if:1|{{{1|}}}}}}}|&#58; <small>{{Label|{{#if:1|{{{1|}}}}}}}</small>}}
+
   | P = [[d:Special:EntityPage/{{#if:1|{{{1|}}}}}|{{#if:1|{{{1|}}}}}]]{{#if:{{wikidata|label|{{#if:1|{{{1|}}}}}}}|&#58; <small>{{wikidata|label|{{#if:1|{{{1|}}}}}}}</small>}}
   | [[d:Property:P{{#if:1|{{{1|}}}}}|P{{#if:1|{{{1|}}}}}]]{{#if:{{Label|P{{#if:1|{{{1|}}}}}}}|&#58; <small>{{Label|P{{#if:1|{{{1|}}}}}}}</small>}}
+
   | [[d:Special:EntityPage/P{{#if:1|{{{1|}}}}}|P{{#if:1|{{{1|}}}}}]]{{#if:{{wikidata|label|P{{#if:1|{{{1|}}}}}}}|&#58; <small>{{wikidata|label|P{{#if:1|{{{1|}}}}}}}</small>}}
 
   }}
 
   }}
 
| #default = {{#switch: {{uc:{{Str left|{{{1|}}}|1}}}}
 
| #default = {{#switch: {{uc:{{Str left|{{{1|}}}|1}}}}
   | P = [[d:Property:{{#if:1|{{{1|}}}}}|{{Label|{{#if:1|{{{1|}}}}}}} <small>({{#if:1|{{{1|}}}}})</small>]]
+
   | P = [[d:Special:EntityPage/{{#if:1|{{{1|}}}}}|{{wikidata|label|{{#if:1|{{{1|}}}}}}} <small>({{#if:1|{{{1|}}}}})</small>]]
   | [[d:Property:P{{#if:1|{{{1|}}}}}|{{Label|P{{#if:1|{{{1|}}}}}}} <small>(P{{#if:1|{{{1|}}}}})</small>]]
+
   | [[d:Special:EntityPage/P{{#if:1|{{{1|}}}}}|{{wikidata|label|P{{#if:1|{{{1|}}}}}}} <small>(P{{#if:1|{{{1|}}}}})</small>]]
 
   }}
 
   }}
}}</includeonly><noinclude>
+
}}</includeonly><noinclude>{{Documentation}}</noinclude>
{{Documentation}}
 
</noinclude>
 

Revision as of 15:19, 19 June 2020