Template:Infobox/title/doc

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

Usage[edit source]

This template is used to make an infobox from bricks. The {{Infobox/title}} brick is used to add a title on the infobox's upper part.

Syntax[edit source]

Copy/past the following inside the infobox template:

{{Infobox/startbox}}
{{Infobox/title|title|background color|header|text color|colspan value}}
{{Infobox/endbox}}

Parameters[edit source]

Parameter Mandatory Default value Explanation
{{{1|}}} No {{PAGENAME}} Used to add a title on the infobox. Example: {{infobox/title|Your title here...}}
{{{2|}}} No 4682B4 Used to change the title infobox background color. Example: {{infobox/title|Your title here...|80B0E0}} Default color is Steel Blue.
{{{3|}}} No header default Used to add a header pictogram on the title infobox. Example: {{infobox/title|Your title here...|80B0E0|header map}}
{{{4|}}} No 000000 Used to change the title infobox text color. Example: {{infobox/title|Your title here...|80B0E0|header map|FFFFFF}}. Default color is black.
{{{5|}}} No 2 Used to change the title infobox colspan value. Example: {{infobox/title|Your title here...|80B0E0|header map|FFFFFF|3}}.

Examples[edit source]

Basic example[edit source]

{{Infobox/startbox}}
{{Infobox/title|Your title here…|80B0E0|header map}}
{{Infobox/endbox}}
Your title here…

Example inside a template[edit source]

{{Infobox/startbox}}
{{Infobox/title
 | {{{name|{{PAGENAME}}}}}|E1E1E1|header default
}}
{{Infobox/endbox}}

See also[edit source]