Template:Rail navbox titlestyle/doc

From MOASSpedia
< Template:Rail navbox titlestyle
Revision as of 17:09, 26 April 2020 by Wikipedia>Vanisaac (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

{{rail navbox titlestyle|border color}}
{{rail navbox titlestyle|border color|background color}}
{{rail navbox titlestyle|left border color|background color|right border color}}

Examples

{{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

See also