قالب:Navbox Canada
توثيق القالب[عرض] [عدّل] [تاريخ] [محو الاختزان] [استخدامات]
هذا القالب يستعمل لوا: |
هذا القالب يستخدم أنماط القوالب: |
This template may be used to create a {{شريط}} or {{شريط مركب}} using the standard style for Canada-related navigational boxes.
Usage
عدل{{Navbox Canada | name = {{subst:PAGENAME}} | title = | leaf = yes | above = | group1 = | list1 = | group2 = | list2 = ... | group20 = | list20 = | below = }}
or
{{Navbox Canada | name = {{subst:PAGENAME}} | collapsible groups = yes | title = | leaf = yes | above = | group1 = | abbr1 = | list1 = | group2 = | abbr2 = | list2 = ... | group20 = | abbr20 = | list20 = | below = }}
المعلمات
عدلThe parameters mostly mimic {{شريط}}, with the addition of |leaf=yes
, which adds the leaf icon to the title. In order for the red border to work properly, the first list must start with |list1=
. The template will automatically determine the last list number.
In some cases, it may be necessary to override the default top and bottom red borders. For example, when used with subgroups/child navigational boxes. To add force the addition of a top or bottom border, use |topborder=yes
or |bottomborder=yes
. To force the removal of a top or bottom border, use |notopborder=yes
or |nobottomborder=yes
.
أمثلة
عدلExample 1
عدل{{Navbox Canada | name = {{subst:PAGENAME}} | title = Title | leaf = yes | list1 = * item a * item b * item c * item d }}
Example 2
عدل{{Navbox Canada | name = {{subst:PAGENAME}} | title = Title | leaf = yes | above = above | group1 = group1 | list1 = * item1a * item1b | group2 = group2 | list2 = * item2a * item2b | below = below }}
Example 3
عدل{{Navbox Canada | name = {{subst:PAGENAME}} | title = Title | collapsible groups = yes | leaf = yes | above = above | group1 = group1 | list1 = * item1a * item1b | group2 = group2 | list2 = * item2a * item2b | below = below }}
Example 4
عدل{{Navbox Canada | name = {{subst:PAGENAME}} | title = Title | leaf = yes | notopborder = yes | above = above | group1 = group1 | list1 = {{Navbox Canada|subgroup | topborder = yes | group1 = group1.1 | list1 = * item1.1a * item1.1b | group2 = group1.2 | list2 = * item1.2a * item1.2b }} | group2 = group2 | list2 = * item2a * item2b | below = below }}
Example 5
عدل{{Navbox Canada | name = {{subst:PAGENAME}} | title = Title | leaf = yes | nobottomborder = yes | above = above | group1 = group1 | list1 = * item1a * item1b | group2 = group2 | list2 = {{Navbox Canada|subgroup | bottomborder = yes | group1 = group2.1 | list1 = * item2.1a * item2.1b | group2 = group2.2 | list2 = * item2.2a * item2.2b }} | below = below }}