1

Check this company infobox on Microsoft wiki page on the right hand side at https://en.wikipedia.org/wiki/Microsoft

Clearly it has parameter website with value as www.microsoft.com

but when I try to see its wiki source code. I dont see any reference to this key value pair. Why is that? Is it autocalculated?

After subsidiary it has directly footnote section as follows.

| subsid = [[List of mergers and acquisitions by Microsoft|List of Microsoft subsidiaries]] | footnotes ={{cite web|url=http://www.microsoft.com/en-us/Investor/annual-reports.aspx|title=Microsoft Corporation Annual

What am I missing here

LordCommander
  • 91
  • 2
  • 9
  • In https://en.wikipedia.org/w/index.php?title=Template:Infobox_company&action=edit you can see that it uses `{{#property:P856}}` – Bergi Oct 06 '16 at 13:52
  • Thank you @Bergi . I see that now. – LordCommander Oct 07 '16 at 05:52
  • See http://stackoverflow.com/questions/33862336/how-do-you-extract-information-from-a-wikipedia-infobox about the generic issue of how to extract data from infoboxes. – Tgr Oct 07 '16 at 17:42

1 Answers1

1

If a Wikipedia article doesn't specify a value for the website (or homepage) parameter, the infobox_company template will try to retrieve this data from Wikidata.

It does this by using the {{#property}} parser function and querying for the value of the official website (P856) property on the Wikidata item that's linked to the article on which the infobox appears.

So, in order for this to work, an article must have a linked Wikidata item, and that item must have a value for the above property.

Sam Wilson
  • 4,402
  • 4
  • 29
  • 30