![]() | This is a documentation subpage for Template:Rail navbox titlestyle. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template is used on approximately 14,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template may be used to create two colored boxes at the left and right border of the title line of a navbox. This method for color coding the title line is commonly used in rail line navboxes.
Usage
edit{{rail navbox titlestyle|border color}}
{{rail navbox titlestyle|border color|background color}}
{{rail navbox titlestyle|left border color|background color|right border color}}
Examples
edit{{navbox
| title = Example Rail Line
| titlestyle = {{rail navbox titlestyle|red}}
| listclass = hlist
| list1 =
* Station 1
* Station 2
}}
{{navbox
| title = Example Rail Line
| titlestyle = {{rail navbox titlestyle|green|white}}
| listclass = hlist
| list1 =
* Station 1
* Station 2
}}
{{navbox
| title = Example Rail Line
| titlestyle = {{rail navbox titlestyle|green||red}}
| listclass = hlist
| list1 =
* Station 1
* Station 2
}}
{{navbox
| title = Example Rail Line
| titlestyle = {{rail navbox titlestyle|green|white|red}}
| listclass = hlist
| list1 =
* Station 1
* Station 2
}}
Templates using this template
editSee also
edit- {{Navbox}}