Template:Navigation sidebar

From Wikitech
Jump to navigation Jump to search
Template documentation

Example

{{Navigation sidebar
| title = Unicorn

| heading1 = Mythology
| content1 =
* [[w:Monoceros (legendary creature)|]]
* [[w:Legendary creature|]]
* [[w:Kingdom of Scotland|]]

| name = My_Template
}}

Usage

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Template self namename

Name of the template for the meta navigation links

Example
My_template_name
Stringsuggested
Top imagetopimage

Optional image on top, above the title.

Example
[[File:Example.png|300px|center]]
Contentoptional
Titletitle

no description

Stringsuggested
Imageimage

Optional image, between title and heading1

Example
[[File:Example.png|x50px|center]]
Contentoptional
Content aboveabove

no description

Contentoptional
Heading 1heading1

no description

Stringsuggested
Content 1content1

no description

Example
* [[Sandbox]]
Contentsuggested
Heading 2heading2

no description

Stringoptional
Content 2content2

no description

Contentoptional
heading3heading3

no description

Stringoptional
content3content3

no description

Contentoptional
heading4heading4

no description

Stringoptional
content4content4

no description

Contentoptional
heading5heading5

no description

Stringoptional
content5content5

no description

Contentoptional
heading6heading6

no description

Stringoptional
content6content6

no description

Contentoptional
heading7heading7

no description

Stringoptional
content7content7

no description

Contentoptional
heading8heading8

no description

Stringoptional
content8content8

no description

Contentoptional
heading9heading9

no description

Stringoptional
content9content9

no description

Contentoptional
heading10heading10

no description

Unknownoptional
content10content10

no description

Unknownoptional
Content belowbelow

no description

Contentoptional
Display meta navigationnavbar

Set to "off" to remove the view-discussion-edit meta links at the end of the sidebar

Suggested values
off
Stringoptional
classclass

E.g. set "plainlinks"

Stringoptional
stylestyle

E.g. set a custom max-width; prefer TemplateStyles instead if possible (use the “class” parameter to add a class for TemplateStyles)

Stringoptional
floatfloat

Which side to float the sidebar to. The default depends on the page language (which is always English on Wikitech, meaning right, but may be different if this template is copied to other wikis)

Suggested values
left right none
Lineoptional