Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Parameter precedence  





3 Tracking categories  














Template:Infobox3cols






Afrikaans
العربية
Azərbaycanca
تۆرکجه
Basa Bali

 / Bân-lâm-gú
Беларуская

Български
Bosanski
Català
Chi-Chewa
Cymraeg
Dansk
ދިވެހިބަސް
Eesti
Ελληνικά
Euskara
فارسی
Føroyskt
Gaeilge
Gàidhlig
Galego


Հայերեն
ि
Ilokano
Bahasa Indonesia
Jawa


Kurdî

Latviešu
Lëtzebuergesch
Madhurâ
ि
Македонски


مصرى
Bahasa Melayu
Монгол



ି
Oʻzbekcha / ўзбекча

Português
Qaraqalpaqsha
Română
Русский

Scots

Simple English
Slovenščina
کوردی
Српски / srpski
Srpskohrvatski / српскохрватски
Svenska
Tagalog
ி
 


Тоҷикӣ
Türkçe
Українська
اردو
Vèneto
Tiếng Vit
Winaray

Xitsonga

Zazaki

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikidata
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


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

{{Infobox3cols
| 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 = 
}}

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
{{Infobox3cols
| header1 = header1
| label1 = label1
| data1 = data1
| data1a = data1a
| data1b = data1b
| data1c = data1c
}}
header1
Example 2
Code Result
{{infobox3cols
| header1 = 
| label1 = label1
| data1 = data1
| data1a = data1a
| data1b = data1b
| data1c = data1c
}}
label1 data1
Example 3
Code Result
{{infobox3cols
| header1 = 
| label1 = 
| data1 = data1
| data1a = data1a
| data1b = data1b
| data1c = data1c
}}
data1
Example 4
Code Result
{{infobox3cols
| header1 = 
| label1 = label1
| data1 = 
| data1a = data1a
| data1b = data1b
| data1c = data1c
}}
label1 data1a data1b data1c
Example 5
Code Result
{{infobox3cols
| header1 = 
| label1 = label1
| data1 = 
| data1a = 
| data1b = data1b
| data1c = data1c
}}
label1 data1b data1c
Example 6
Code Result
{{infobox3cols
| header1 = 
| label1 = label1
| data1 = 
| data1a = 
| data1b = 
| data1c = data1c
}}
label1 data1c
Example 7
Code Result
{{infobox3cols
| header1 = 
| label1 = 
| data1 = 
| data1a = data1a
| data1b = data1b
| data1c = data1c
}}

Tracking categories


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Infobox3cols&oldid=1129930233"

Categories: 
Infobox templates
Lua-based templates
Templates using TemplateStyles
Wikipedia metatemplates
Hidden categories: 
Wikipedia template-protected templates
Templates that add a tracking category
Infobox templates with three columns
 



This page was last edited on 27 December 2022, at 20:24 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki