Template talk:Row
From Wikipedia, the free encyclopedia
Contents |
[edit] Usage
{{row|if= | test = | style = | label = | contents = }}
This inserts a row by effectively inserting the passed variables into the following HTML–
<tr {{{style}}}><td>{{{label|}}}</td><td>{{{contents|}}}</td></tr>
For the case where you don't specify {{{style}}}
, it generates this–
<tr valign=top><td>{{{label|}}}</td><td>{{{contents|}}}</td></tr>
Note: You must always provide the {{{if}}}
parameter (leave it blank, but specify it as above).
[edit] See this in use
Template:TaxoboxTemplate:Ship table
[edit] Documentation Updates
- —Locke Cole • t • c 23:02, 2 March 2006 (UTC) – created basic documentation