Template:Infobox/row

From FlightGear wiki
Jump to: navigation, search


The following template description is not displayed when the template is inserted in an article.

Goal

This template is used internally by {{Infobox}} to create rows of data. It is also used for headers.

Caution  This is a template that is used on many pages. Please refrain from editing this template directly unless it both is really needed and you are absolutely sure you know what you are doing. Changes can be suggested via the talk page.

Usage

{{Infobox/row
|data   = 
|rowclass = 
|datastyle = 

|class  = 

|header = 
|headerstyle = 

|label  =  
|labelstyle =  
}}

All parameters except data are optional.

data
Data put in a row.
rowclass
Class attribute for a row. It will be used directly in the template.
datastyle
Used for extra CSS style attributes. Used in conjunction with data.
class
When the template is used for a header, this will be used directly as the class attribute for the header. Otherwise, it is used for the table data.
header
If given a value, the template will return a HTML table header element (<th>), with the value given as the text.
headerstyle
Used for extra CSS style attributes. Used in conjunction with header.
label
Will add a label to the data.
labelstyle
Used for extra CSS style attributes. Used in conjunction with label.

Related templates