1,770
edits
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. | '''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 | "description": "If not empty, the box will be expanded when the page is accessed.", | ||
"default": "empty" | |||
"default": " | |||
}, | }, | ||
"WIDTH": { | "WIDTH": { |
edits