Template:Infobox/optional separator/doc

From Eureka Wiki
Jump to navigation Jump to search

Usage[edit source]

This template is used to make an infobox from bricks. The {{Infobox/optional separator}} brick is used to add a separation line.

Syntax[edit source]

Copy/paste the following inside the infobox template:

{{Infobox/startbox}}
{{Infobox/optional separator|trigger value|color|colspan value}}
{{Infobox/endbox}}

Parameters[edit source]

Parameter Mandatory Default value Explanation
{{{1|}}} No N/A Used to set the separator trigger parameter. Example: {{infobox/optional separator|Global Dynamics}}
{{{2|}}} No 4682B4 Used to change the separator color. Example: {{infobox/optional separator|Global Dynamics|FF0000}}. Default color is Steel Blue.
{{{3|}}} No 2 Used to change the title infobox colspan value. Example: {{infobox/optional separator|Global Dynamics|FF0000|3}}.

Examples[edit source]

Simple examples[edit source]

Example with a parameter
{{Infobox/startbox}}
{{Infobox/title|Title}}
{{Infobox/image|Global Dynamics logo.jpg|''Global Dynamics'' logo.}}
{{Infobox/optional separator|Global Dynamics}}
{{Infobox/endbox}}

Title
Image about the Infobox/optional separator/doc article
Global Dynamics logo.

Example without parameter
{{Infobox/startbox}}
{{Infobox/title|Title}}
{{Infobox/image|Global Dynamics logo.jpg|''Global Dynamics'' logo.}}
{{Infobox/optional separator}}
{{Infobox/endbox}}

Title
Image about the Infobox/optional separator/doc article
Global Dynamics logo.

Example inside a template[edit source]

{{Infobox/startbox}}
{{Infobox/title
 | Title
}}
{{Infobox/image
 | {{{image|}}}
}}
{{Infobox/optional separator
 | {{{image|}}}
}}
{{Infobox/endbox}}

See also[edit source]