Template:Rail navbox titlestyle/doc

该模板可用于在导航框标题行的左右边界处创建两个彩色框。这种对标题行进行颜色编码的方法通常用于铁路线导航框。

用法

{{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
| name = Rail navbox titlestyle
| title = Example Rail Line
| titlestyle = {{rail navbox titlestyle|red}}
| listclass = hlist
| list1 =
* Station 1
* Station 2
}}
{{navbox
| name = Rail navbox titlestyle
| title = Example Rail Line
| titlestyle = {{rail navbox titlestyle|green|white}}
| listclass = hlist
| list1 =
* Station 1
* Station 2
}}
{{navbox
| name = Rail navbox titlestyle
| title = Example Rail Line
| titlestyle = {{rail navbox titlestyle|green||red}}
| listclass = hlist
| list1 =
* Station 1
* Station 2
}}
{{navbox
| name = Rail navbox titlestyle
| title = Example Rail Line
| titlestyle = {{rail navbox titlestyle|green|white|red}}
| listclass = hlist
| list1 =
* Station 1
* Station 2
}}

Templates using this template

See also