Template:Infobox3cols/doc

From English Wikipedia @ Freddythechick

This is a fork of {{infobox}} which provides an option for up to three data attributes per row, in addition to a label: dataxa, dataxb and dataxc.

Usage

<syntaxhighlight lang="wikitext">

</syntaxhighlight>

Parameter precedence

The bulk of the infobox is generated by blocks of numbered parameters: headerX, labelX, dataX, dataXa, dataXb, and dataXc. The following examples demonstrate the order in which these parameters are used.

Example 1
Code Result

<syntaxhighlight lang="wikitext">

header1

</syntaxhighlight>

header1
Example 2
Code Result

<syntaxhighlight lang="wikitext">

label1 data1

</syntaxhighlight>

label1 data1
Example 3
Code Result

<syntaxhighlight lang="wikitext">

data1

</syntaxhighlight>

data1
Example 4
Code Result

<syntaxhighlight lang="wikitext">

label1 data1a data1b data1c

</syntaxhighlight>

label1 data1a data1b data1c
Example 5
Code Result

<syntaxhighlight lang="wikitext">

label1 data1b data1c

</syntaxhighlight>

label1 data1b data1c
Example 6
Code Result

<syntaxhighlight lang="wikitext">

label1 data1c

</syntaxhighlight>

label1 data1c
Example 7
Code Result

<syntaxhighlight lang="wikitext">

</syntaxhighlight>

Tracking categories