Search results
Results from the WOW.Com Content Network
The purpose is of this template is for generating simple tables in locations where standard table markup is either not possible, without significant use of the {{!}} magic word (e.g., with a {{}} template), or cumbersome (due to the repetitive use of specification of the same style statement in each row).
Prevents word wraps (line breaks) within text or inside a link which contains spaces or hyphens (-). Template parameters [Edit template data] Parameter Description Type Status Text 1 Text or link to be protected. String required See also view talk edit {{ nowrap }} prevents wrapping within a single template (i.e. not suitable for relatively complex or lengthy content). {{ nowraplinks ...
If the nowraplinks class is applied in the header of a table it will prevent line wrapping of links in all cells in the table. Note that in a table header there usually is a need to apply several classes. Then the class names should be separated by spaces in the class tag, not by commas or semicolons. Like this:
Jonesey95, you _should_ be able to add |class=nowrap or |style=white-space:nowrap to the {}, but that will nowrap the entire thing. if you just want to nowrap the list items, |item_style=white-space:nowrap should work. it would be good to have |item_class=nowrap , but I don't think that is supported.
For example, nested tables (tables inside tables) should be separated into distinct tables when possible. Here is a more advanced example, showing some more options available for making up tables. Users can play with these settings in their own table to see what effect they have.
Also, if the table has cell spacing (and thus border-collapse=separate), meaning that cells have separate borders with a gap in between, that gap will still be visible. A cruder way to align columns of numbers is to use a figure space   or   , which is intended to be the width of a numeral, though is font-dependent in practice:
Template parameters [Edit template data] Parameter Description Type Status margin-left margin-left To set a margin on the table's lefthand side. Default 0 String optional width width To set the table's overall width. Default auto String optional style style For CSS styles amending the table's overall appearance. String optional noheaders noheaders Set (as e.g. noheaders=on) to suppress the ...
Template parameters. This template prefers inline formatting of parameters. Parameter Description Type Status; Template name: 1: Name of the template. Line