Template:Navbox: Difference between revisions
From Hack Forums Wiki
Viral Dragon (talk | contribs) m 1 revision |
No edit summary |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke:Navbox|navbox}}</includeonly><noinclude> | <includeonly>{{#invoke:Navbox|navbox}}</includeonly> | ||
{{ | <noinclude> | ||
==Documentation== | |||
===bodystyle=== | |||
Apply CSS styles to the entirety of the Navbox. | |||
===abovestyle=== | |||
Apply CSS styles to the ''above'' element of the Navbox, if specified. | |||
===titlestyle=== | |||
Apply CSS styles to the ''title'' element of the Navbox, if specified. | |||
===liststyle=== | |||
Apply CSS styles to all ''list'' elements of the Navbox. | |||
===groupstyle=== | |||
Apply CSS styles to all ''group'' elements of the Navbox. | |||
===state=== | |||
'''Uncollapsed''' is the default. Can set to ''collapsed'' to have it be collapsed on page load. | |||
===above=== | |||
Add text just above the Navbox. | |||
===title=== | |||
Add text on the top of the inside of the Navbox. | |||
===groupN=== | |||
Specify the contents of ''group'' number ''N''. | |||
===listN=== | |||
Specify the contents of ''list'' number ''N''. | |||
===groupNstyle=== | |||
Apply CSS styles to the ''N''th group. | |||
===listNstyle=== | |||
Apply CSS styles to the ''N''th list. | |||
===Empty Template=== | |||
<pre> | |||
{{Navbox | |||
| bodystyle = | |||
| groupstyle = | |||
| abovestyle = | |||
| title = | |||
| titlestyle = | |||
| liststyle = | |||
| group1 = | |||
| list1 = | |||
| group2 = | |||
| list2 = | |||
| group3 = | |||
| list3 = | |||
| group4 = | |||
| list4 = | |||
}} | |||
</pre> | |||
[[Category:Templates]] | |||
</noinclude> | </noinclude> | ||
Latest revision as of 17:19, 22 July 2015
Documentation
bodystyle
Apply CSS styles to the entirety of the Navbox.
abovestyle
Apply CSS styles to the above element of the Navbox, if specified.
titlestyle
Apply CSS styles to the title element of the Navbox, if specified.
liststyle
Apply CSS styles to all list elements of the Navbox.
groupstyle
Apply CSS styles to all group elements of the Navbox.
state
Uncollapsed is the default. Can set to collapsed to have it be collapsed on page load.
above
Add text just above the Navbox.
title
Add text on the top of the inside of the Navbox.
groupN
Specify the contents of group number N.
listN
Specify the contents of list number N.
groupNstyle
Apply CSS styles to the Nth group.
listNstyle
Apply CSS styles to the Nth list.
Empty Template
{{Navbox
| bodystyle =
| groupstyle =
| abovestyle =
| title =
| titlestyle =
| liststyle =
| group1 =
| list1 =
| group2 =
| list2 =
| group3 =
| list3 =
| group4 =
| list4 =
}}