Template:Infobox3cols
{{#ifeq:infobox3cols |doc
|
{{#ifeq:show |show
|| icon | This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Template |User |template template page |{{#if:Template |template page|article}}}}}}}}. |
}}{{#if:|
|{{#ifexist:Template:Infobox3cols
| [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
|
}}
}}
|
}}
| Warning | This template is used on approximately 28,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. |
| File:Lua-Logo.svg | This template uses Lua: |
Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.
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.
| Code | Result | ||||||||
|---|---|---|---|---|---|---|---|---|---|
|
<syntaxhighlight lang="wikitext">
</syntaxhighlight> |
| ||||||||
| Code | Result | ||||||||
|---|---|---|---|---|---|---|---|---|---|
|
<syntaxhighlight lang="wikitext">
</syntaxhighlight> |
| ||||||||
| Code | Result | ||||||||
|---|---|---|---|---|---|---|---|---|---|
|
<syntaxhighlight lang="wikitext">
</syntaxhighlight> |
| ||||||||
| Code | Result | ||||||||
|---|---|---|---|---|---|---|---|---|---|
|
<syntaxhighlight lang="wikitext">
</syntaxhighlight> |
|
| Code | Result | ||||||||
|---|---|---|---|---|---|---|---|---|---|
|
<syntaxhighlight lang="wikitext">
</syntaxhighlight> |
|
| Code | Result | ||||||
|---|---|---|---|---|---|---|---|
|
<syntaxhighlight lang="wikitext">
</syntaxhighlight> |
|
| Code | Result |
|---|---|
|
<syntaxhighlight lang="wikitext"> </syntaxhighlight> |
|
Tracking categories
- {{#if:|{{{name}}}|Category:Pages using infobox3cols with unknown parameters}} (0)
- {{#if:|{{{name}}}|Category:Pages using infobox3cols with header0 or label0 or data0}} (0)
- {{#if:|{{{name}}}|Category:Pages using infobox3cols with multidatastyle}} (0)
TemplateData
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox3cols%7CInfobox3cols%7CInfobox3cols%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|S|s}}ee a monthly parameter usage report] for {{#if:Infobox3cols|Template:Infobox3cols|this template}} in articles{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox3cols|its|this}} TemplateData}}.
|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox3cols%7CInfobox3cols%7CInfobox3cols%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox3cols|its|this}} TemplateData}}
|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox3cols%7CInfobox3cols%7CInfobox3cols%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report] for {{#if:Infobox3cols|Template:Infobox3cols|Template:Infobox3cols}}{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox3cols|its|this}} TemplateData}}.
|#default=[1]{{#ifeq:{{safesubst:#switch: y |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox3cols|its|this}} TemplateData}} }}|This is the {{#if:|TemplateData|TemplateData}} for this template used by TemplateWizard, VisualEditor and other tools. {{#switch:
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox3cols%7CInfobox3cols%7CInfobox3cols%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|S|s}}ee a monthly parameter usage report] for {{#if:Infobox3cols|Template:Infobox3cols|this template}} in articles{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox3cols|its|this}} TemplateData}}.
|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox3cols%7CInfobox3cols%7CInfobox3cols%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox3cols|its|this}} TemplateData}}
|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox3cols%7CInfobox3cols%7CInfobox3cols%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report] for {{#if:Infobox3cols|Template:Infobox3cols|Template:Infobox3cols}}{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox3cols|its|this}} TemplateData}}.
|#default=[2]{{#ifeq:{{safesubst:#switch: y |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Infobox3cols|its|this}} TemplateData}} }}}}
TemplateData for Infobox3cols
{{#if:
| {{{demospace}}}
| {{#ifeq:Template|Template
| template
| other
}}
}}
| template = {{safesubst:#if:{{safesubst:#ifeq:Infobox|sandbox|1}}{{safesubst:#ifeq:Infobox3cols|doc|1}}||
}} | other | #default = }}
| File:Template cleanup icon.svg | This template needs TemplateData. Please add a TemplateData section, including {{TemplateData header}}, if you are able.{{safesubst:#if:{{safesubst:#ifeq:Infobox|sandbox|1}}{{safesubst:#ifeq:Infobox3cols|doc|1}}||}} |
{{safesubst:#if:{{safesubst:#ifeq:Infobox|sandbox|1}}{{safesubst:#ifeq:Infobox3cols|doc|1}}||
}}
- Pages with script errors
- Infobox templates
- Pages with broken file links
- Documentation subpages without corresponding pages
- Lua-based templates
- Templates using TemplateData
- Templates with crude or incomplete TemplateData
- Wikipedia metatemplates
- Templates that add a tracking category
- Infobox templates with three columns