Templat:Rail navbox titlestyle/doc

Revisi sejak 26 Desember 2019 06.34 oleh AABot (bicara | kontrib) (Bot: Perubahan kosmetika)
(beda) ← Revisi sebelumnya | Revisi terkini (beda) | Revisi selanjutnya → (beda)

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.

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

Examples

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

sunting

See also

sunting