Template:Infobox3cols: Difference between revisions
m (1 revision imported) |
m (1 revision imported) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#invoke:Infobox3cols|infobox}} | {{#invoke:Infobox3cols|infobox}}<noinclude> | ||
{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --> | {{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 12:02, 20 February 2023
Lua error in Module:Infobox3cols at line 386: attempt to call upvalue 'check_for_unknown_parameters' (a nil value).
![]() | This template is used on approximately 16,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | This template uses Lua: |
Lua error: callParserFunction: function "#translation" was not found.
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.
Code | Result |
---|---|
{{Infobox3cols | header1 = header1 | label1 = label1 | data1 = data1 | data1a = data1a | data1b = data1b | data1c = data1c }} |
Lua error in Module:Infobox3cols at line 386: attempt to call upvalue 'check_for_unknown_parameters' (a nil value). |
Code | Result |
---|---|
{{Infobox3cols | header1 = | label1 = label1 | data1 = data1 | data1a = data1a | data1b = data1b | data1c = data1c }} |
Lua error in Module:Infobox3cols at line 386: attempt to call upvalue 'check_for_unknown_parameters' (a nil value). |
Code | Result |
---|---|
{{Infobox3cols | header1 = | label1 = | data1 = data1 | data1a = data1a | data1b = data1b | data1c = data1c }} |
Lua error in Module:Infobox3cols at line 386: attempt to call upvalue 'check_for_unknown_parameters' (a nil value). |
Code | Result |
---|---|
{{Infobox3cols | header1 = | label1 = label1 | data1 = | data1a = data1a | data1b = data1b | data1c = data1c }} |
Lua error in Module:Infobox3cols at line 386: attempt to call upvalue 'check_for_unknown_parameters' (a nil value). |
Code | Result |
---|---|
{{Infobox3cols | header1 = | label1 = label1 | data1 = | data1a = | data1b = data1b | data1c = data1c }} |
Lua error in Module:Infobox3cols at line 386: attempt to call upvalue 'check_for_unknown_parameters' (a nil value). |
Code | Result |
---|---|
{{Infobox3cols | header1 = | label1 = label1 | data1 = | data1a = | data1b = | data1c = data1c }} |
Lua error in Module:Infobox3cols at line 386: attempt to call upvalue 'check_for_unknown_parameters' (a nil value). |
Code | Result |
---|---|
{{Infobox3cols | header1 = | label1 = | data1 = | data1a = data1a | data1b = data1b | data1c = data1c }} |
Lua error in Module:Infobox3cols at line 386: attempt to call upvalue 'check_for_unknown_parameters' (a nil value). |