Search results
Results from the WOW.Com Content Network
For example, {{yes}} makes a cell with a green background. The text in the cell is taken from the first parameter ; {{ yes | Sure }} would output "Sure" otherwise it defaults to "Yes". Most templates allow authors to override the default text in this way, some require text put after the template call and some also need a vertical bar in between ...
For example, the background colors of cells can be changed with cell parameters, making the table into a diagram, like meta:Template talk:Square 8x8 pentomino example. An "image" in the form of a table is much more convenient to edit than an uploaded image. If all the cells in a row are empty the cells still show up.
The resulting image is larger than the original, and preserves all the original detail, but has (possibly undesirable) jaggedness. The diagonal lines of the "W", for example, now show the "stairway" shape characteristic of nearest-neighbor interpolation. Other scaling methods below are better at preserving smooth contours in the image.
These templates allow wikitext (e.g., regular text, wikilinks, allowed HTML code, references, and other templates) to be included on the image itself. They may also be used to crop an image so as to focus on a particular portion of it, or alternatively, expand the white area around an image for better placement of wikitext.
Don't try to save disk space on the images server by giving up useful information. Keep the source: If the image was generated from data (e.g. a graph in Microsoft Excel), the data and file (e.g. spreadsheet) should be included so new data can be added to the graph, and/or the source of the data should be cited.
Here is the same example again, this time in the context of some colored lorem ipsum dummy text with asterisks (*) showing where the image syntax appears in the text: [[ File : Wikipedesketch.png | thumb | left | alt = A cartoon centipede reads books and types on a laptop. | The Wikipede edits '' [[ Myriapoda ]] '' .
(Most references to an image's "size" really mean its width.) Except with very good reason, a fixed width in pixels (e.g. 17px) should not be specified, because it ignores the user's base width setting. Thus upright=scaling factor is preferred when it is desired to present an image at other than the default width.
Main page; Contents; Current events; Random article; About Wikipedia; Contact us