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 reverse 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 reverse separator}} brick is used to add a separation line. Unlike the {{Infobox/optional separator}} template, this one makes a separator appear only if all paramaters are empty.

Syntax[edit source]

Copy/paste the following inside the infobox template:

{{Infobox/startbox}}
{{Infobox/optional reverse 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 reverse separator|Global Dynamics}}
{{{2|}}} No 4682B4 Used to change the separator color. Example: {{infobox/optional reverse separator|Global Dynamics|FF0000}}. Default color is Steel Blue.
{{{3|}}} No 2 Used to change the title infobox colspan value. Example: {{infobox/optional reverse 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 reverse separator|Global Dynamics}}
{{Infobox/endbox}}

Title
Image about the Infobox/optional reverse 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 reverse separator}}
{{Infobox/endbox}}

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

Example inside a template[edit source]

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

See also[edit source]