We'll be deploying 1.43 to ShoutWiki sites this weekend. Staff will be working all weekend to deal with any unforeseen bugs that crop up.

CreateWiki will not be available immediately after the upgrade; however, we expect the rewrite to be completed during this release cycle.

Template:Infobox/optional mixed line/doc

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/optional mixed line|field name|trigger parameter|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/optional mixed line
 | field name
 | trigger parameter
 | 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/optional mixed line|Country}}.
{{{2|}}} No N/A Used to set the trigger parameter. Example: {{infobox/optional mixed line|Country|{{{country|}}}}}.
{{{3|}}} No N/A Used to indicate the field's value in the infobox line. Example: {{infobox/optional mixed line|Country|{{{country|}}}|{{{country}}}}}
{{{4|}}} No N/A Used to indicate a fixed width in "%" for the left column. Should be used only on specific cases. ExampleD{{infobox/optional mixed line|Country|{{{country|}}}|{{{country}}}|46}}
{{{5|}}} No 1 Used to indicate the colspan value for the right column. Example: {{infobox/optional mixed line|Country|{{{country|}}}|{{{country}}}|46|2}}

Examples[edit source]

Basic example[edit source]

{{Infobox/startbox}}
{{Infobox/optional mixed line|Country|{{{country|}}}}}
{{Infobox/endbox}}

Country Value of {{{country}}}

Example inside a template[edit source]

{{Infobox/startbox}}
{{Infobox/optional mixed line
 | Country
 | {{{country|}}}
}}
{{Infobox/endbox}}

See also[edit source]