Actions

Wikipedia::Infobox

::concepts

Infobox::editor    Article::first    Infobox::title    -last::about    -first::style    Manual::liyang

Wikipedia An infobox may be used to improve the appearance of an article on Wikipedia;{{#invoke:Footnotes|sfn}} They are used on similar articles to ensure consistency of presentation by using a common format.{{#invoke:Footnotes|sfn}}{{#invoke:Footnotes|sfn}} Originally, infoboxes (and templates in general) were used for page layout purposes.{{#invoke:Footnotes|sfn}} The guideline Wikipedia:Manual of Style (infoboxes) (shortcut: WP:IBX) has details of infoboxes. An infobox may be transcluded into an article by specifying the value for some or all of its parameters.{{#invoke:Footnotes|sfn}} The parameter name used must be the same as that specified in the infobox template, but any value may be associated to it.{{#invoke:Footnotes|sfn}} The name is delimited from the value by an equals sign.{{#invoke:Footnotes|sfn}} The parameter name may be regarded as an attribute of the article's subject.{{#invoke:Footnotes|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. 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.
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;{{#invoke:Footnotes|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.{{#invoke:Footnotes|sfn}} Usually, infoboxes are formatted to appear in the top-right corner of a Wikipedia article in the desktop view,{{#invoke:Footnotes|sfn}} or at the top in the mobile view.

Placement of an infobox within the wiki text of an article is important for accessibility.{{#invoke:Footnotes|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.{{#invoke:Footnotes|sfn}}<ref>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.</ref>

Baeza-Yates and King say that some editors find templates such as infoboxes complicated,{{#invoke:Footnotes|sfn}} 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.{{#invoke:Footnotes|sfn}}

As of August 2009, English Wikipedia used about 3,000 infobox templates that collectively used more than 20,000 attributes.{{#invoke:Footnotes|sfn}} 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,<ref name="Jarry">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> used by some, but not all, infoboxes, on 4,251,127 articles.

The name of an Infobox is typically "Infobox [genre]", however the more widely used infoboxes often have shorter names given to them, like taxobox for taxonomy,{{#invoke:Footnotes|sfn}} warbox for military conflicts, and geobox for geography.


Infobox sections
Intro  Wikipedia  Machine learning  Notes  References  Further reading  

Wikipedia
PREVIOUS: IntroNEXT: Machine learning
<<>>