| advertise add site services publishers database health videos | ![]() | about toolbar stats live show health store more stuff JOIN/LOGIN |
Depression Help-symptoms treatment-Depression Help neurotransmitter... neuroassist.com | Advanced Aesthetics helps you reach your breast enhancement goal wichitaclinicaesthetics.c... | Healthlinks.net Search Engine Help healthlinks.com |
For a list of infoboxes, see Category:Infobox templates. For the style guide, see Wikipedia:Manual of Style (infoboxes). For the project, see Wikipedia:WikiProject Infoboxes.
An infobox is a fixed-format table designed to be added to the top right-hand corner of articles to consistently present a summary of some unifying aspect that the articles share and to improve navigation to other interrelated articles. The generalized infobox feature grew out of the original taxoboxes (taxonomy infoboxes) that editors developed to visually express the scientific classification of organisms.
[edit] What do infoboxes do?Infobox templates contain facts and statistics that are common to related articles. For instance, all animals have a scientific classification (species, family and so on), as well as a conservation status. Adding a {{taxobox}} to articles on animals therefore makes it easier to quickly find such information and to compare it with that of other articles. Infobox templates are like fact sheets, or sidebars, in magazine articles. They quickly summarise important points in an easy-to-read format. However, they are not "statistics" tables in that they are only supposed to summarise material from an article—the information should still be present in the main text, because it may not be possible for some readers to access the contents of the infobox. In particular, infobox templates may hide long columns of data inside collapsing tables, which means readers using assistive technology may miss their presence entirely. [edit] What should infoboxes contain?In general, data in infobox templates should be:
[edit] Finding an appropriate infobox templateInfoboxes are an extension of MediaWiki's template feature, and as such their implementations are kept in the Template namespace. There are two ways that editors typically want to access the underlying details of an infobox:
For example, the article D-Terminal contains an infobox. Simply edit the article to determine which one: {{ infobox connector ... }} The start of the template identifies the markup between the enclosing braces as an infobox instance. While the next word identifies the specific kind of infobox (in this case the " [edit] Redesigning an existing infoboxYou are well-advised to seek the opinions of other editors before embarking on a redesign. If your ideas are welcomed, consider prototyping your new design (see #Prototyping an infobox, below). Once prototyped, propose the infobox changes to the appropriate WikiProject and gain Wikipedia:Consensus before deploying your new design. [edit] Creating a new infoboxYou should research whether an existing infobox fits your purpose either by examining those in Category:Infobox templates or researching articles that might be candidates to receive the new infobox. You should prototype the proposed infobox in your own userspace first and research which Wikipedia:WikiProjects might be interested in the infobox. Prototyped infoboxes should be placed on the Wikipedia:List of infoboxes/Proposed sub-page when proposed and added to the appropriate sub-category when implemented. [edit] Prototyping an infoboxInfoboxes can be readily prototyped within the designing editor's own user space. For example, to create an infobox prototype called
[edit] Determining the general approachThere are three techniques with which to construct a prototype:
[edit] DesigningEditors generally compose infoboxes from four types of visual elements: A title, images, sections, and fields. Since these terms are not standard, we illustrate them here:
The selection and arrangement of fields is an important design decision for which Wikipedia:Manual of Style (infoboxes) gives some general advice. The part of a field that varies from article to article becomes a parameter for the newly-prototyped infobox and must be consistently expressed in two distinct places:
Additionally, the editor should decide whether a field (and hence its corresponding parameter) is required or optional. The difference between the two is that a required field is always displayed; an optional field is not displayed where articles referencing the infobox omit the parameter. If the field is required, the infobox designer should consider whether a default value for the field is useful. [edit] ImplementingOnce an editor has decided upon the title, image, and arrangement of sections and fields, he or she is ready to map those visual elements onto the parameters of the infobox template. {{infobox}} documents how to use this template. While there many different infobox parameters, the most frequently used are: {{ infobox | abovestyle = | above = | image = | caption = | headerstyle = | header1 = | label1 = | data1 = | header2 = | label2 = | data2 = ... | header20 = | label20 = | data20 = }} The mapping of visual elements onto infobox parameters is straightforward:
When making style decisions, editors should follow the Wikipedia:Manual of Style (infoboxes) as closely as possible. Images must be specified using the Wikipedia:Extended image syntax. When specifying styles (e.g., for The vast majority of editors use only the simple features of infobox in the ways described above. However, the more intrepid editor should be aware of the more esoteric features of {{infobox}}:
Again, these features are documented in {{infobox}}. [edit] DocumentingThe goal of documenting the newly-created infobox is to allow other editors to quickly ascertain what information they need to provide when incorporating the infobox into articles. The convention is to keep documentation in a page separate from the infobox implementation and arrange for the implementation to transclude the documentation when the infobox is displayed directly, but not when the infobox is displayed in an article.
{{ infobox ... }}<noinclude>{{documentation}}<!-- Please add category and language links to the bottom of the /doc sub-page, not here --></noinclude>
[edit] CategorizingIn order for other editors to find an infobox more easily, categories and interwiki links should be added to the bottom of the infobox documentation (at Special:Mypage/Infobox mysubject/doc). Note that by convention, the infobox should be categorized using an explicit sort key that drops the infobox prefix. In other words, rather than letting the category sort key default to Wikipedia:PAGENAME (in our example, " [edit] TestingEditors should test prototyped infoboxes in their own userspaces. The simplest means is for the editor to place the fully-qualified page name of the template to be tested within the template braces (e.g., Once the infobox prototype has been tested, it is ready for peer review and deployment. [edit] A skeleton infoboxThe following can be used as a starting point for a new infobox; simply copy-n-paste into the page designated to hold the new infobox and add or delete parameters as needed. Editors who want to take advantage of the more advanced features of infobox can copy-n-paste the comprehensive skeleton from {{infobox}}. {{ infobox | abovestyle = | above = | image = | caption = | headerstyle = | header1 = | label1 = | data1 = | header2 = | label2 = | data2 = | header3 = | label3 = | data3 = | header4 = | label4 = | data4 = | header5 = | label5 = | data5 = | header6 = | label6 = | data6 = | header7 = | label7 = | data7 = | header8 = | label8 = | data8 = | header9 = | label9 = | data9 = | header10 = | label10 = | data10 = }}<noinclude> {{Documentation}} <!-- Please add categories and interwiki links to /doc subpage, not here! --> </noinclude> [edit] Example {{infobox}}-based infoboxes
[edit] See also | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ↑ top of page ↑ | about thumbshots |