Infobox

From Wikipedia, the free encyclopedia

Template:Short description

File:43185 infobox.jpg
A real-life infobox from British Rail Class 43 car 43185 operated by First Great Western

An infobox is a digital or physical table used to collect and present a subset of information about its subject, such as a document. It is a structured document containing a set of attribute–value pairs,Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. and in Wikipedia represents a summary of information about the subject of an article.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. In this way, they are comparable to data tables in some aspects. When presented within the larger document it summarizes, an infobox is often presented in a sidebar format.

An infobox may be implemented in another document by transcluding it into that document and specifying some or all of the attribute–value pairs associated with that infobox, known as parameterization.

Wikipedia

An infobox may be used to summarize the information of an article on Wikipedia.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. They are used on similar articles to ensure consistency of presentation by using a common format.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. Originally, infoboxes (and templates in general) were used for page layout purposes.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. An infobox may be transcluded into an article by specifying the value for some or all of its parameters.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. The parameter name used must be the same as that specified in the infobox template, but any value may be associated to it.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. The name is delimited from the value by an equals sign.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. The parameter name may be regarded as an attribute of the article's subject.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found.

{{Infobox prepared food
| name = 
| image = 
| image_size = 
| caption = 
| alternate_name = 
| country = 
| region = 
| creator = 
| course = 
| type = 
| served = 
| main_ingredient = 
| variations = 
| calories = 
| other = 
}}
{{Infobox prepared food
| name = Crostata
| image = Crostata limone e zenzero 3.jpg
| image_size = 
| caption = Crostata with lemon ginger filling
| alternate_name = 
| country = [[Italy]]
| region = [[Lombardia]]
| creator = 
| course = [[Dessert]]
| type = [[Tart]]
| served = 
| main_ingredient = Pastry crust, [[jam]] or [[ricotta]], fruit
| variations = ''Crostata di frutta'', ''crostata di ricotta'', many other sweet or savoury variations
| calories = 
| other = 
}}
The infobox Infobox prepared food used on Wikipedia food-related articles, with no values specified for its parameters (attributes). The same infobox as implemented in the article crostata. Values are to the right of the equals sign (=), and that the parameter names are the same as those in the specification for the infobox template. The values are in wiki markup: entries enclosed in square brackets (e.g. [[Tart]]) will be rendered as a link to the respective Wikipedia article (e.g. Tart), and the linked file will be transcluded into the article in place of its markup.
File:Crostata infobox, February 2018.png
The infobox for the Wikipedia article Crostata rendered by a web browser engine on a desktop computer

On Wikipedia, an infobox is transcluded into an article by enclosing its name and attribute–value pairs within a double set of braces. The MediaWiki software on which Wikipedia operates then parses the document, for which the infobox and other templates are processed by a template processor. This is a template engine which produces a web document and a style sheet used for presentation of the document. This enables the design of the infobox to be separated from the content it manipulates;Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. that is, the design of the template may be updated without affecting the information within it, and the new design will automatically propagate to all articles that transclude the infobox.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. Usually, infoboxes are formatted to appear in the top-right corner of a Wikipedia article in the desktop view,Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. or at the top in the mobile view.

Placement of an infobox within the wikitext of an article is important for accessibility.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. A best practice is to place them following disambiguation templates (those that direct readers to articles about topics with similar names) and maintenance templates (such as that marking an article as unreferenced), but before all other content.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found.[1]

Baeza-Yates and King say that some editors find templates such as infoboxes complicated, as the template may hide text about a property or resource that the editor wishes to change; this is exacerbated by chained templates, that is templates transcluded within other templates.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found.

As of August 2009, English Wikipedia used about 3,000 infobox templates that collectively used more than 20,000 attributes.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. Since then, many have been merged, to reduce redundancy. As of June 2013, there were at least 1,345,446 transclusions of the parent Infobox template,[2] used by some, but not all, infoboxes, on 4,251,127 articles.

The name of an Infobox is typically "Infobox [genre]"; however, widely used infoboxes may be assigned shorter names, such as "taxobox" for taxonomy.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found.

Machine learning

About 44.2% of Wikipedia articles contained an infobox in 2008,Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. and about 33% in 2010.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. Automated semantic knowledge extraction using machine learning algorithms is used to "extract machine-processable information at a relatively low complexity cost".Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. However, the low coverage makes it more difficult, though this can be partially overcome by complementing article data with that in categories in which the article is included.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. The French Wikipedia initiated the project Infobox Version 2 in May 2011.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found.[3]

Knowledge obtained by machine learning can be used to improve an article, such as by using automated software suggestions to editors for adding infobox data.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. The iPopulator project created a system to add a value to an article's infobox parameter via an automated parsing of the text of that article.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found.

DBpedia uses structured content extracted from infoboxesLua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. by machine learning algorithms to create a resource of linked data in the Semantic Web; it has been described by Tim Berners-Lee as "one of the more famous" components of the linked data project.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found.

Machine extraction creates a triple consisting of a subject, predicate or relation, and object.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. Each attribute-value pair of the infobox is used to create an RDF statement using an ontology.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. This is facilitated by the narrower gap between Wikipedia and an ontology than exists between unstructured or free text and an ontology.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found.

The semantic relationship between the subject and object is established by the predicate.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. In the example infobox, the triple ("crostata", type, "tart") indicates that a crostata is a type of tart. The article's topic is used as the subject, the parameter name is used as the predicate, and the parameter's value as the object.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. Each type of infobox is mapped to an ontology class, and each property (parameter) within an infobox is mapped to an ontology property.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. These mappings are used when parsing a Wikipedia article to extract data.

Metadata

Screenshot of a Link to this article posting into Microsoft's application teams
A link to this article, pasted into a message box in Microsoft Teams. The application uses the metadata from the infobox to make the link fuller by adding an image and summary text.

Presenting the basic facts of an article within an infobox allows the facts to be presented in a machine-friendly way, allowing extra functionality such as when a link to a Wikipedia article is pasted into a compatible program; instead of just the link itself being posted, other information such as the article's lead image is also posted.

Citations

Page Template:Reflist/styles.css has no content.

  1. ^ The English Wikipedia policy about accessibility is specified at the page "Template:Srlink". The policy about wikitext layout is specified at "Template:Srlink" and "Template:Srlink".
  2. ^ Page Module:Citation/CS1/styles.css has no content."Jarry1250's Toolserver Tools - Template transclusion count". List of Wikimedia projects. 7 June 2013. Retrieved 7 June 2013.
  3. ^ The project is hosted on the French Wikipedia page Infobox/V2.

Works cited

Page Template:Refbegin/styles.css has no content.

Further reading