|
An infobox is a template 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, and in Wikipedia represents a summary of information about the subject of an article. 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 improve the appearance of an article on Wikipedia; They are used on similar articles to ensure consistency of presentation by using a common format. Originally, infoboxes (and templates in general) were used for page layout purposes. 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. The parameter name used must be the same as that specified in the infobox template, but any value may be associated to it. The name is delimited from the value by an equals sign. The parameter name may be regarded as an attribute of the article's subject. 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; 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. Usually, infoboxes are formatted to appear in the top-right corner of a Wikipedia article in the desktop view, or at the top in the mobile view. Placement of an infobox within the wiki text of an article is important for accessibility. 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.〔The English Wikipedia policy about accessibility is specified in the 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.〕 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. As of August 2009, English Wikipedia used about infobox templates that collectively used more than attributes. Since then, many have been merged, to reduce redundancy. As of June 2013, there were at least transclusions of the parent Infobox template, used by some, but not all, infoboxes, on articles. The name of an Infobox is typically "Infobox ()", however the more widely used infoboxes often have shorter names given to them, like taxobox for taxonomy, warbox for military conflicts, and geobox for geography. 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Infobox」の詳細全文を読む スポンサード リンク
|