Editing
Template:Navbox/doc
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Subgroups example === This example shows two subgroups and a sub-subgroup created using <code>child</code> and <code>subgroup</code> keywords (both are interchangible). The striping is alternated automatically. To remove the striping altogether, you can set <code>child<sub>n</sub>_liststyle = background:transparent;</code> in each. {{{{PAGENAMETDOC}} | name = Navbox/doc | state = uncollapsed | title = Multiple subgroup example | above = Above | below = Below | group1 = Group1 | list1 = List1 | group2 = Group2 | list2 = child | child2_group1 = Group2.1 | child2_list1 = List1 | child2_group2 = Group2.2 | child2_list2 = List2 | child2_group3 = Group2.3 | child2_list3 = List3 | group3 = Group3 | list3 = List3 | group4 = Group4 | list4 = subgroup | subgroup4_group1 = Group4.1 | subgroup4_list1 = List1 | subgroup4_group2 = Group4.2 | subgroup4_list2 = List2 | subgroup4_group3 = Group4.3 | subgroup4_list3 = child |subgroup4_child3_group1 = Group 4.3.1 |subgroup4_child3_list1 = List1 |subgroup4_child3_group2 = Group 4.3.2 |subgroup4_child3_list2 = List2 }} ==== Relationship with other Navbox templates ==== This navbox template works in conjunction with two other templates: {{tl|Navbox with columns}} and {{tl|Navbox with collapsible groups}}. All three of these templates share common parameters for consistency and ease of use (such parameters are marked with an asterisk (*) in the [[#Parameter descriptions|parameter descriptions]] list hereinbefore). Most importantly, each template can be used as a child of one another. Using the inline notation, the <code><sub>n</sub>_type=</code> parameter can be set to <code>with columns</code> or <code>with collapsible groups</code> to set the type of that child navbox, as shown in the example below. Press the edit button for the section to view the code. {{Navbox |name = Template:Navbox/doc |title = Navbox with nested regular Navbox, Navbox with Collapsible Groups, and Navbox with Columns |group1 = Regular Navbox |listclass = hlist<!--Note that this applies to the child navboxes unless explicitly set otherwise--> |list1 = subgroup |1_group1 = Group 1 |1_list1 = * List 1.1 * List 1.2 |1_group2 = Group 2 |1_list2 = * List 2.1 * List 2.2 |group2 = Navbox with Collapsible Groups |list2 = subgroup |2_type = with collapsible groups |2_group1 = Group 1 |2_list1 = * List 1.1 * List 1.2 |2_group2 = Group 2 |2_list2 = * List 2.1 * List 2.2 |group3 = Navbox with Columns |list3 = subgroup |3_type = with columns |3_col1header = Column 1 |3_col1 = * List 1.1 * List 1.2 |3_col2header = Column 2 |3_col2 = * List 2.1 * List 2.2 |list11 = subgroup |11_title = Regular Navbox |11_group1 = Group 1 |11_list1 = * List 1.1 * List 1.2 |11_group2 = Group 2 |11_list2 = * List 2.1 * List 2.2 |list12 = subgroup |12_title = Navbox with Collapsible Groups |12_type = with collapsible groups |12_group1 = Group 1 |12_list1 = * List 1.1 * List 1.2 |12_group2 = Group 2 |12_list2 = * List 2.1 * List 2.2 |list13 = subgroup |13_title = Navbox with Columns |13_type = with columns |13_col1header = Column 1 |13_col1 = * List 1.1 * List 1.2 |13_col2header = Column 2 |13_col2 = * List 2.1 * List 2.2 }} You can also nest these or other navbox templates by using the {{para|border|child}} parameter, or by specifying the first unnamed parameter to be <code>child</code>. For example: <code><nowiki>{{Navbox|child ...}}</nowiki></code>, <code><nowiki>{{Navbox with columns|child ...}}</nowiki></code> or <code><nowiki>{{Navbox with collapsible groups|child ...}}</nowiki></code>. Note that this style of nesting can lead to a large increase in the template's [[WP:PEIS|post-expand include size]].
Summary:
Please note that all contributions to Eurovision Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Eurovision Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Tools
What links here
Related changes
Page information