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