Template:Infobox/mixed line
From Eureka Wiki
Jump to navigation
Jump to search
Usage[edit source]
This template is used to built an infobox from bricks. The {{Infobox/mixed line}} template is used to add content as table line without a border. This line is mixed. It allows to let appear a bolded field on the left column and a normal character field in the right column.
Syntax[edit source]
{{Infobox/startbox}} {{Infobox/mixed line|field name|field value|left column width|right column colspan value}} {{Infobox/endbox}}
Or, if you want a better lisibility when you have several paramaters filled:
{{Infobox/startbox}} {{Infobox/mixed line | field name | field value | left column width | right column colspan value }} {{Infobox/endbox}}
Parameters[edit source]
Parameter | Mandatory | Default value | Explanation |
---|---|---|---|
{{{1|}}} | No | N/A | Used to set the field's name. Example: {{infobox/mixed line|Country}} .
|
{{{2|}}} | No | N/A | Used to indicate the field's value in the infobox line. Example: {{infobox/mixed line|Country|USA}}
|
{{{3|}}} | No | N/A | Used to indicate a fixed width in "%" for the left column. Should be used only on specific cases. ExampleD{{infobox/mixed line|Country|USA|46}}
|
{{{4|}}} | No | 1 | Used to indicate the colspan value for the right column. Example: {{infobox/mixed line|Country|USA|46|2}}
|
Examples[edit source]
Basic example[edit source]
{{Infobox/startbox}} {{Infobox/mixed line|Country|USA}} {{Infobox/endbox}} |
|
Example inside a template[edit source]
{{Infobox/startbox}} {{Infobox/optional line | Country | {{{country|}}} }} {{Infobox/endbox}}
See also[edit source]
The above documentation is transcluded from Template:Infobox/mixed line/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |