Template:Infobox3cols/doc: Difference between revisions
wikitemplates>SWinxy Split module doc; use <syntaxhighlight> |
m 1 revision imported |
(No difference)
| |
Latest revision as of 05:53, 26 April 2024
{{#ifeq:doc |doc
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Infobox3cols | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
{{#ifeq:doc|sandbox||
| Warning | This template is used on approximately 17,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: 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
<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 undocumented parameters}} (0)
- {{#if:|{{{name}}}|Category:Pages using infobox3cols with header0 or label0 or data0}} (0)
- {{#if:|{{{name}}}|Category:Pages using infobox3cols with multidatastyle}} (0)