Template:Infobox/optional separator
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
- Example without parameter
{{Infobox/startbox}} {{Infobox/title|Title}} {{Infobox/image|Global Dynamics logo.jpg|''Global Dynamics'' logo.}} {{Infobox/optional separator}} {{Infobox/endbox}} |
|
Example inside a template[edit source]
{{Infobox/startbox}} {{Infobox/title | Title }} {{Infobox/image | {{{image|}}} }} {{Infobox/optional separator | {{{image|}}} }} {{Infobox/endbox}}
See also[edit source]
The above documentation is transcluded from Template:Infobox/optional separator/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. |