Template:Navbox/doc: Difference between revisions

Jump to navigation Jump to search
expanded parameter changed; under construction, more later
m (vertical -> horizontal. Duh.)
(expanded parameter changed; under construction, more later)
Line 1: Line 1:
{{UnderConstruction|Jovenan}}
This template creates a collapsible horizontal navigation box, i.e. a box containing links to articles related to the subject. Alternatively, the template can be used for any content, such as text or images. The template can be used as a basis of other templates or on its own on an article.
This template creates a collapsible horizontal navigation box, i.e. a box containing links to articles related to the subject. Alternatively, the template can be used for any content, such as text or images. The template can be used as a basis of other templates or on its own on an article.


Line 25: Line 26:
|Contents}}</pre>
|Contents}}</pre>


'''EXPANDED''' determines if the navigation box is expanded or collapsed (open or closed) when the page is opened. Enter ''yes'' to have the navigation box expanded. Any other text or not using the parameter will default to collapsed box.
'''EXPANDED''' determines if the navigation box is expanded or collapsed (open or closed) when the page is opened. Any text (such as "yes", "true", "1") causes the box to be initially opened. Leave empty if that is not desired.


'''WIDTH''' determines the width of the navigation box. Enter the width in pixels (e.g. 150px), as percentage of the width of the article (e.g. 80%) or in other supported measures. Defaults to full width.
'''WIDTH''' determines the width of the navigation box. Enter the width in pixels (e.g. 150px), as percentage of the width of the article (e.g. 80%) or in other supported measures. Defaults to full width.
Line 104: Line 105:
},
},
"EXPANDED": {
"EXPANDED": {
"description": "If yes, the box will be expanded when the page is accessed.",
"description": "If not empty, the box will be expanded when the page is accessed.",
"suggestedvalues": [
"default": "empty"
"yes",
"no"
],
"default": "no"
},
},
"WIDTH": {
"WIDTH": {
1,770

edits

Navigation menu