跳至內容

模板: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

[編輯]