Template:Dynamic navigation

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Template documentation[edit] [history] [purge]

Usage

{{Dynamic navigation
|title=
|body=
}}

Example usage

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

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