模板:Rail navbox titlestyle/doc
此頁面是Template:Rail navbox titlestyle的模板文件。 此頁面可能包含了模板的使用說明、分類和其他內容。 |
該模板可用於在導航框標題行的左右邊界處創建兩個彩色框。這種對標題行進行顏色編碼的方法通常用於鐵路線導航框。
用法
{{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
- {{Navbox}}