Module:Wp/igl/Infobox3cols/doc

From Wikimedia Incubator

This is the documentation page for Module:Wp/igl/Infobox3cols

Template:Documentation subpage Template:High-use Template:Lua Template:Uses TemplateStyles

This is a fork of

ERROR: This page is using an unprefixed version of template {{Tl}}

Create {{Wp/igl/Tl}} instead and replace all occurences of {{Tl}} in Wp/igl/ prefixed pages by that.
You may like to check 1 template in Category:Wp/igl/Templates using unprefixed template Tl first to remove all occurences from those templates which will fix the pages containing those templates too.

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

Template:Clear

Usage[edit source]

Template:TextTemplate:Text{{#invoke:infobox3cols|infoboxTemplate | child = | bodyclass = | bodystyle = | title = | titleclass = | titlestyle = | above = | abovestyle = | aboveclass = | aboverowclass = | subheader = | subheaderstyle = | subheaderclass = | subheaderrowclass1 = | subheader2 = | subheaderrowclass2 = | image = | image1 = | caption = | caption1 = | captionstyle = | imagestyle = | imageclass = | imagerowclass1 = | image2 = | caption2 = | imagerowclass2 =

| headerstyle = | labelstyle = | datastyle = | datastylea = | datastyleb = | datastylec = | extracellstyles = 1,3a,4b=...

| header1 = | label1 = | data1 = | data1a = | data1b = | data1c = | class1 = | rowclass1 =

| header2 = | rowclass2 = | label2 = | data2 = | class2 = | data2a = | data2b = | class2a = | class2b = | class2c = | data2c =

...

| below = | belowstyle = | belowclass = | belowrowclass = | name = }}Template:TextTemplate:Text

Parameter precedence[edit source]

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
{{#invoke:infobox3cols|infoboxTemplate
| header1 = header1
| label1 = label1
| data1 = data1
| data1a = data1a
| data1b = data1b
| data1c = data1c
}}

Template:Infobox3cols

Example 2
Code Result
{{#invoke:infobox3cols|infoboxTemplate
| header1 = 
| label1 = label1
| data1 = data1
| data1a = data1a
| data1b = data1b
| data1c = data1c
}}

Template:Infobox3cols

Example 3
Code Result
{{#invoke:infobox3cols|infoboxTemplate
| header1 = 
| label1 = 
| data1 = data1
| data1a = data1a
| data1b = data1b
| data1c = data1c
}}

Template:Infobox3cols

Example 4
Code Result
{{#invoke:infobox3cols|infoboxTemplate
| header1 = 
| label1 = label1
| data1 = 
| data1a = data1a
| data1b = data1b
| data1c = data1c
}}

Template:Infobox3cols

Example 5
Code Result
{{#invoke:infobox3cols|infoboxTemplate
| header1 = 
| label1 = label1
| data1 = 
| data1a = 
| data1b = data1b
| data1c = data1c
}}

Template:Infobox3cols

Example 6
Code Result
{{#invoke:infobox3cols|infoboxTemplate
| header1 = 
| label1 = label1
| data1 = 
| data1a = 
| data1b = 
| data1c = data1c
}}

Template:Infobox3cols

Example 7
Code Result
{{#invoke:infobox3cols|infoboxTemplate
| header1 = 
| label1 = 
| data1 = 
| data1a = data1a
| data1b = data1b
| data1c = data1c
}}

Template:Infobox3cols

Tracking categories[edit source]