Jump to content

Template:Navigation/doc

From Appropedia

Use this meta template to build navigation templates.

Navigation templates link related pages together and ease navigation through them. Using this meta template will make your navigation template adapt well to mobile and desktop devices, big and small screens, dark and light mode, print mode, read mode, and more.

To create a new navigation template, first read the documentation below and then use the following form:

Examples

[edit source]
{{Navigation
| list =
* First group
** [[First page]]
** [[Second page]]
** [[Third page]]
* Second group
** [[Fourth page]]
** [[Fifth page]]
** [[Sixth page]]
* Third group
** [[Seventh page]]
** [[Eighth page]]
** [[Ninth page]]
}}

Intermediate

[edit source]
{{Navigation
| center = yes
| title = Title of the main page
| list =
First group
* [[First page]]
* [[Second page]]
* [[Third page]]
Second group
* [[Fourth page]]
* [[Fifth page]]
* [[Sixth page]]
Third group
* [[Seventh page]]
* [[Eighth page]]
* [[Ninth page]]
}}

Advanced

[edit source]
{{Navigation
| collapse = yes
| center = yes
| header = Appropedia navigation
| logo = Appropedia.png
| logo-link = Welcome to Appropedia
| title = Appropedia
| subtitle = The Sustainability Wiki
| image = Tctscover.png
| image-link = To Catch the Sun
| image-size = 90px
| text = "Build rich, sustainable lives"
| list =
* [[First page]]
* [[Second page]]
* [[Third page]]
Second group
* [[Fourth page]]
* [[Fifth page]]
* [[Sixth page]]
Third group
* [[Seventh page]]
* [[Eighth page]]
* [[Ninth page]]
}}

See also

[edit source]

Template data

[edit source]

Use this meta template to build navigation templates.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Centercenter

Center the content of the navigation

Example
yes
Booleanoptional
Collapsecollapse

Collapse the navigation by default

Example
yes
Booleanoptional
Headerheader

Header of the navigation

Example
Water navigation
Stringoptional
Titletitle

Title of the navigation, usually linked to the main page of the collection

Example
Help topics
Stringoptional
Subtitlesubtitle

Subtitle of the navigation

Stringoptional
Texttext

Free-form text after the subtitle but before the links

Stringoptional
Logologo

Logo above the title

Example
Appropedia.png
Fileoptional
Logo sizelogo-size

Size of the logo

Default
x70px
Example
50px
Stringoptional
Logo linklogo-link

Link of the logo

Example
Category:MOST
Page nameoptional
Imageimage

Image below the title and subtitle

Example
Vegetable garden in Junín.jpg
Fileoptional
Image sizeimage-size

Size of the image

Default
x140px
Example
200px
Stringoptional
Image linkimage-link

Link of the image

Example
To Catch the Sun
Page nameoptional
Downloaddownload

Enable the section to download all pages linked in the navigation in several formats

Default
yes
Example
no
Booleanoptional
PDFpdf

Enable button to download all pages linked in the navigation as a single PDF

Default
yes
Example
no
Booleanoptional
Bookletbooklet

Enable button to download all pages linked in the navigation as a PDF that can be printed, folded and stapled to make a booklet

Default
yes
Example
no
Booleanoptional


Cookies help us deliver our services. By using our services, you agree to our use of cookies.