Search results
Results from the WOW.Com Content Network
Shows a legend row with a colored box and a caption. Template parameters Parameter Description Type Status Color 1 The color for the legend entry, in any CSS format Example "#6D6E00", "#ffa", "yellow" Line required Caption 2 Label for the legend entry Example "soda" is most common String suggested CSS border style border CSS style for the legend entry's border String optional Entry outline ...
Shows a legend row with a colored box and a caption. Template parameters [Edit template data] Parameter Description Type Status Color 1 The color for the legend entry, in any CSS format Example "#6D6E00", "#ffa", "yellow" Line required Caption 2 Label for the legend entry Example "soda" is most common String suggested CSS border style border CSS style for the legend entry's border String ...
A caption is provided with the |+ markup, similar to a table row (|-), but it does not contain any cells, and is not within the table border. Captions are always displayed, appearing as a title centered (in most browsers), above the table. A caption can be styled (with inline, not block, CSS), and may include wikilinks, reference citations, etc.
For a full list of editing commands, see Help:Wikitext; For including parser functions, variables and behavior switches, see Help:Magic words; For a guide to displaying mathematical equations and formulas, see Help:Displaying a formula; For a guide to editing, see Wikipedia:Contributing to Wikipedia
In general, styles for tables and other block-level elements should be set using CSS classes, not with inline style attributes. This is because the site-wide CSS is more carefully tested to ensure compatibility with a wide range of browsers; it also creates a greater degree of professionalism by ensuring a consistent appearance between articles.
The caption tag is used inside the HTML element "table". This can also be done indirectly using the code "|+" as part of the wikicode for a table. Captions are placed above the table by default. Captions can also be placed below, to the left, or to the right of the table, based on the value of the "align" parameter.
You can start a new template in the same way that you would start an article page.The only difference is that its title must start with Template:.. Once you have made the template—for example Template:foo—you can add {{foo}} to the pages that you want to use it on.
[a] Most captions draw attention to something in the image that is not obvious, such as its relevance to the text. A caption may be a few words or several sentences. Writing good captions takes effort; along with the lead and section headings, captions are the most commonly read words in an article, so they should be succinct and informative.