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.

It is not intended for general use in all table rows. Its main purpose is to facilitate the creation of infobox templates.

This template is used on a great many pages. Making any changes to it will cause lots of jobs to be added to the processing queue.

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.