Jump to content

Template:Dynamic navigation/doc

From Wikibooks, open books for an open world
{{Dynamic navigation
|title=
|body=
}}

Example usage

[edit source]
what to type what it does
{{Dynamic navigation
|title = Sandboxes
|bodystyle=text-align:center;
|body =
[[Wikibooks:Sandbox]] |
[[w:Wikipedia:Sandbox|Wikipedia:Sandbox]] |
[[n:Wikinews:Sandbox|Wikinews:Sandbox]] |
[[v:Wikiversity:Sandbox|Wikiversity:Sandbox]] |
[[s:Wikisource:Sandbox|Wikisource:Sandbox]] |
[[wikt:Wiktionary:Sandbox|Wiktionary:Sandbox]]
}}

TemplateData Metadata

[edit source]

Creates an interactive box that expands, showing new content, when clicked.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

The displayed title of this Template

Contentsuggested
Title Styletitlestyle

The CSS style for the title text

Stringoptional
Bodybody

The content in the box when expanded

Contentsuggested
Body Stylebodystyle

The CSS style for the content within the box

Stringoptional
Expandexpand

Type yes to show by default.

Default
no
Example
yes, no
Stringoptional
Stylestyle

The CSS style for the overall presentation of the template

Stringoptional
Template Namename

Displays links for the template's documentation, discussion, and edit pages

Example
Dynamic navigation
Templateoptional
printprint

no description

Unknownoptional
Body (Unmentioned)1

If the body parameter is not written, the first unnamed parameter is used as the body.

Unknownoptional