This template is used to built an infobox from bricks. The {{Infobox/optional subtitle}} template is used to add a subtitle inside an infobox.
{{Infobox/startbox}}
{{Infobox/subtitle|subtitle name|trigger parameter(s)|background color|text color|colspan value}}
{{Infobox/endbox}}
Parameter
|
Mandatory
|
Default value
|
Explanation
|
{{{1|}}}
|
No
|
{{PAGENAME}}
|
Used to add a title on the infobox. Example: {{infobox/subtitle|Your subtitle here...}}
|
{{{2|}}}
|
No
|
N/A
|
Used to set the subtitle trigger parameter. Example: {{infobox/subtitle|Your subtitle here...|USA}}
|
{{{3|}}}
|
No
|
4682B4
|
Used to change the title infobox background color. Example: {{infoboxsub/title|Your subtitle here...|USA|80B0E0}} Default color is Steel Blue.
|
{{{4|}}}
|
No
|
000000
|
Used to change the title infobox text color. Example: {{infobox/subtitle|Your subtitle here...|USA|80B0E0|FFFFFF}} . Default color is black.
|
{{{5|}}}
|
No
|
2
|
Used to change the title infobox colspan value. Example: {{infobox/subtitle|Your subtitle here...|USA|80B0E0|FFFFFF|3}} .
|
Example with parameter[edit source]
{{Infobox/startbox}}
{{Infobox/title|Title}}
{{Infobox/optional subtitle|Administration|USA|E1E1E1}}
{{Infobox/endbox}}
|
|
Example without parameter[edit source]
{{Infobox/startbox}}
{{Infobox/title|Title}}
{{Infobox/optional subtitle|Administration||E1E1E1}}
{{Infobox/endbox}}
|
|
Example inside a template[edit source]
{{Infobox/startbox}}
{{Infobox/title
| Title
}}
{{Infobox/optional subtitle
| Administration|{{{country|}}}|E1E1E1
}}
{{Infobox/endbox}}