Template:Infobox/subtitle/doc

Semantic Stargate Wiki — The semantic reference regarding the Stargate universe.
Jump to navigation Jump to search

This is the {{Infobox/subtitle}} documentation.

Usage[edit source]

This template is used to build an infobox from bricks. The {{Infobox/subtitle}} is used to add a subtitle inside an infobox.

Syntax[edit source]

Copy/paste the following code in your infobox template page:

{{Infobox/startbox}}
{{Infobox/subtitle|subtitle name|background color|text color|colspan value}}
{{Infobox/endbox}}

Parameters[edit source]

Parameter #1
Used to show the subtitle name as for an example {{Infobox/subtitle|Administration}}.
Parameter #2
Used to modify the infobox subtitle background color as for example {{Infobox/subtitle|Administration|FF0000}}. The default color is gray, #A9A9A9.
Parameter #3
Used to modify the infobox subtitle text color as for example {{Infobox/subtitle|Administration|80B0E0|FFFFFF}}. The default text color is black, #000000.
Parameter #4
Used to modify the subtitle colspan value as for example {{Infobox/subtitle|Administration|80B0E0|FFFFFF|3}}. The default colspan value is 2.

Example inside a template[edit source]

Subtitle
{{Infobox/startbox}}
{{Infobox/subtitle
 | Subtitle|E1E1E1
}}
{{Infobox/endbox}}

See also[edit source]