Template:Wdib/doc
Appearance
This is a documentation subpage for Template:Wdib. It may contain usage information, categories and other content that is not part of the original template page. |
A wrapper template for the getValue call in Module:WikidataIB
Usage
[change source]Examples of occupation (P106) for (Q42):
{{Wdib |P106 |qid=Q42 |fwd=ALL }}
→ screenwriter, novelist, science fiction writer, writer, musician[[Screenwriter|screenwriter]], novelist, science fiction writer, [[Writer|writer]], [[Musician|musician]] <span class='penicon autoconfirmed-show'>[[File:OOjs UI icon edit-ltr-progressive.svg |frameless |text-top |10px |alt=Edit this on Wikidata|link=https://www.wikidata.org/wiki/Q42?uselang=en#P106|Edit this on Wikidata]]</span>
{{Wdib |P106 |qid=Q42 |fwd=ALL |osd=no }}
→ playwright, screenwriter, novelist, children's writer, science fiction writer, comedian, writer, musician[[Playwright|playwright]], [[Screenwriter|screenwriter]], novelist, children's writer, science fiction writer, [[Comedian|comedian]], [[Writer|writer]], [[Musician|musician]] <span class='penicon autoconfirmed-show'>[[File:OOjs UI icon edit-ltr-progressive.svg |frameless |text-top |10px |alt=Edit this on Wikidata|link=https://www.wikidata.org/wiki/Q42?uselang=en#P106|Edit this on Wikidata]]</span>
Examples of official website (P856) for Scania (Q219960):
{{Wdib |P856 |qid=Q219960 |fwd=ALL |osd=no |maxvals=1 }}
→ https://www.scania.com/https://www.scania.com/ <span class='penicon autoconfirmed-show'>[[File:OOjs UI icon edit-ltr-progressive.svg |frameless |text-top |10px |alt=Edit this on Wikidata|link=https://www.wikidata.org/wiki/Q219960?uselang=en#P856|Edit this on Wikidata]]</span>
{{Wdib |P856 |qid=Q219960 |fwd=ALL |osd=no |qual=P407 }}
→ https://www.scania.com/ (English language), http://www.scania.no/ (Bokmål), http://www.scania.se/ (Swedish language), http://www.scania.fr/ (French language), http://www.scania.dk/ (Danish language), http://www.scania.de/ (German language)https://www.scania.com/ ([[English language|English language]]), http://www.scania.no/ ([[Bokmål|Bokmål]]), http://www.scania.se/ ([[Swedish language|Swedish language]]), http://www.scania.fr/ ([[French language|French language]]), http://www.scania.dk/ ([[Danish language|Danish language]]), http://www.scania.de/ ([[German language|German language]]) <span class='penicon autoconfirmed-show'>[[File:OOjs UI icon edit-ltr-progressive.svg |frameless |text-top |10px |alt=Edit this on Wikidata|link=https://www.wikidata.org/wiki/Q219960?uselang=en#P856|Edit this on Wikidata]]</span>
For more details, see Module:WikidataIB/doc #Function getValue.