Template:Infobox/optional separator/doc
From Eureka Wiki
Jump to navigation
Jump to search
|
|
This is a documentation subpage for Template:Infobox/optional separator. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
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}}


