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