Template:Infobox/optional subtitle
Jump to navigation
Jump to search
This is the {{Infobox/optional subtitle}} documentation.
Usage[edit source]
This template is used to build an infobox from bricks. The {{Infobox/optional subtitle}} is used to add a subtitle inside an infobox. This subtitle is optional as it appears only if the setted parameter(s) are filled
Syntax[edit source]
Copy/paste the following code in your infobox template page:
{{Infobox/startbox}} {{Infobox/optional subtitle|subtitle name|parameter(s) which unlock|background color|text color|colspan value}} {{Infobox/endbox}}
Parameters[edit source]
- Parameter #1
- Used to show the subtitle name as for an example {{Infobox/optional subtitle|Administration}}.
- Parameter #2
- Used to set the subtitle appearance parameter(s) as for an example{{Infobox/optional subtitle|Administration|USA}}.
- Parameter #3
- Used to modify the infobox subtitle background color as for example {{Infobox/optional subtitle|Administration|USA|FF0000}}. The default color is gray, #A9A9A9.
- Parameter #4
- Used to modify the infobox subtitle text color as for example {{Infobox/optional subtitle|Administration|USA|80B0E0|FFFFFF}}. The default text color is black, #000000.
- Parameter #5
- Used to modify the subtitle colspan value as for example {{Infobox/optional subtitle|Administration|USA|80B0E0|FFFFFF|3}}. The default colspan value is 2.
Simple examples[edit source]
- With a parameter
Title | |
Administration |
---|
{{Infobox/startbox}} {{Infobox/title|Title}} {{Infobox/optional subtitle | Administration|USA|E1E1E1 }} {{Infobox/endbox}}
- Without a parameter
Title |
{{Infobox/startbox}} {{Infobox/title|Title}} {{Infobox/optional subtitle | Administration| |E1E1E1 }} {{Infobox/endbox}}
See also[edit source]
The above documentation is transcluded from Template:Infobox/optional subtitle/doc. (edit | history) Subpages of this template. |