Infobox
Template:About An infobox is a template used to collect and present a subset of information about the subject of a document. It is a structured document containing a set of attribute–value pairs,Template:Sfn and in Wikipedia represents a summary of information about the subject of an article.Template:Sfn
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 improve the appearance of an article on Wikipedia,Template:Sfn and is used on similar articles to ensure consistency of presentation by using a common format.Template:SfnTemplate:Sfn Originally, infoboxes (and templates in general) were used for page layout purposes.Template:Sfn An infobox may be transcluded into an article by specifying the value for some or all of its parameters.Template:Sfn The parameter name used must be the same as that specified in the infobox template, but any value may be associated to it.Template:Sfn The name is delimited from the value by an equals sign.Template:Sfn The parameter name may be regarded as an attribute of the article's subject.Template:Sfn
{{Infobox prepared food | name = | image = | imagesize = | caption = | alternate_name = | country = | region = | creator = | course = | type = | served = | main_ingredient = | variations = | calories = | other = }} |
{{Infobox prepared food | name = Crostata | image = [[File:Crostata di mele e mandorle di Adriano a profilo.jpg|300px]] | imagesize = | caption = Apple crostata with slivered almonds | alternate_name = | country = [[Italy]] | region = | 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. Note that 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. |
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;Template:Sfn 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.Template:Sfn Usually, infoboxes are formatted to appear in the top-right corner of a Wikipedia article.Template:Sfn
Placement of an infobox within the wiki text of an article is important for accessibility.Template:Sfn 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.Template:Sfn[1]
Some novice editors find templates such as infoboxes complicated, as the template may hide text about a property or resource that the editor wishes to change, and is exacerbated by chained templates.Template:Sfn
As of August 2009, English Wikipedia used about 3,000 infoboxes that collectively used more than 20,000 attributes.Template:Sfn
Machine learning
About 44.2% of Wikipedia articles contained an infobox in 2008,Template:Sfn and about 33% in 2010.Template:Sfn Automated semantic knowledge extraction using machine learning algorithms is used to "extract machine-processable information at a relatively low complexity cost".Template:Sfn 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.Template:Sfn The French Wikipedia initiated the project Infobox Version 2 in May 2011.Template:Sfn[2]
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.Template:Sfn 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.Template:Sfn
DBpedia uses structured content extracted from infoboxesTemplate:Sfn by machine learning algorithms to create a resource of linked data in a Semantic Web; it has been described by Tim Berners-Lee as "one of the more famous" components of the linked data project.Template:Sfn
Machine extraction creates a triple consisting of a subject, predicate or relation, and object.Template:Sfn Each attribute-value pair of the infobox is used to create an RDF statement using an ontology.Template:Sfn This is facilated by the narrower gap between Wikipedia and an ontology than exists between unstructured or free text and an ontology. Template:Sfn
The semantic relationship between the subject and object is established by the predicate.Template:Sfn 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 is used as the predicate, and the parameter's value as the object.Template:SfnTemplate:Sfn Each type of infobox is mapped to an ontology class, and each property (parameter) within an infobox is mapped to an ontology property.Template:Sfn These mappings are used when parsing a Wikipedia article to extract data.
Notes
References
- Template:Cite book
- Template:Cite book
- Template:Cite book
- Template:Cite book
- Template:Cite book
- Template:Cite web
- Template:Cite book
Further reading
- Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- Template:Cite book
- Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ↑ The English Wikipedia policy about accessibility is specified in the Manual of Style at Wikipedia:Manual of Style/Accessibility. The policy about wiki text layout is specified at Wikipedia:Manual of Style/Layout and Wikipedia:Manual of Style/Lead section.
- ↑ The project is hosted on the French Wikipedia page Infobox/V2.