Template:Table row/doc
From Angelina Jordan Wiki
This is a subpage documenting Template:Table row. To change the template, edit that page; to change the template's documentation (seen below), edit this one.
Documentation
This template outputs the code to form one 2-column row in a table, with a header cell ("label") in the left column and a data cell ("content") in the right column, as seen in the examples below.
Note that the template is not intended to be used for general-purpose, arbitrary table rows. Its main purpose is to facilitate the creation of infobox templates.
Usage
{{table row|label|content}}
Examples
<table class="wikitable">{{table row}}</table>
⇓
<table class="wikitable">{{table row|This|That}}</table>
⇓
| This | That |
|---|
As can be seen in these examples, tables on this wiki tend to be based on HTML-style table code rather than wiki-style, since the former seems to be slightly more "robust" (i.e., less error-prone) than the latter.