We're currently finishing up our MediaWiki 1.39 upgrade. MediaWiki is converting the format in which page content is stored behind the scenes - until this is done, you may see an error saying there is no text in your pages. Please be patient, this process is progressing as fast as it can, and your pages will be restored when it completes. Any further issues, don't hesitate to get in touch with our support team, or watch our Facebook page for the most up-to-date information.

Template:Infobox/optional separator

From Eureka Wiki
Jump to navigation Jump to search
Documentation icon Template documentation [edit] [history] [purge]

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 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 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]