Search results
Results from the WOW.Com Content Network
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 ...
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 ...
To change the default style, use the |style= parameter. To change the alignment of the title, use |title-align= . Editors can experiment in this template's sandbox ( create | mirror ) and testcases ( create ) pages.
Shows a legend entry with a styled line (including color) Template parameters [Edit template data] This template prefers inline formatting of parameters. Parameter Description Type Status CSS style 1 The CSS style for the legend entry Example 2px dashed black String required Caption 2 Text displayed in the entry, next to the line style Example Borders in 1920 Line required inline? inline If ...
Templates for producing legends for charts, maps, etc. The pages listed in this category are meant to be function templates , i.e. templates that produce text, images or other elements . This page is part of Wikipedia's administration and not part of the encyclopedia.
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.
[[Category:Periodic table legend templates]] to the <includeonly> section at the bottom of that page. Otherwise, add <noinclude>[[Category:Periodic table legend templates]]</noinclude> to the end of the template code, making sure it starts on the same line as the code's last character.