Template:Nav: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 41: Line 41:
}}
}}


Required parameters:
Parameters for predefined theme:
* title: Can be text or a link
* theme (required): Theming, consisting of [[Template:theme]]s. Injects color, main link, and a theme class E.g. Aerius gets class "theme-aerius".
* 1: Content, consisting of [[Template:nav-group]]
* 1 (required): Content, consisting of [[Template:nav-group]]s.


Optional parameters:
Parameters without theme:
* buttons: Consists of a buttons template. Is displayed next to title
* title (required): Can be text or a link.
* theme: Theming, consisting of [[Template:nav-group]] Injects color, main link, and a theme class E.g. Aerius gets class "theme-aerius".
* 1 (required): Content, consisting of [[Template:nav-group]]s.
* theme-color: The color appropriate for the theme, if no theme is directly provided.
 
* buttons (optional): Consists of a buttons template. Is displayed next to title
* theme-color (optional): The color appropriate for the theme, if no theme is directly provided.
</noinclude>
</noinclude>

Revision as of 07:26, 7 August 2020


This template is a stub.


Examples:





Parameters for predefined theme:

  • theme (required): Theming, consisting of Template:themes. Injects color, main link, and a theme class E.g. Aerius gets class "theme-aerius".
  • 1 (required): Content, consisting of Template:nav-groups.

Parameters without theme:

  • title (required): Can be text or a link.
  • 1 (required): Content, consisting of Template:nav-groups.
  • buttons (optional): Consists of a buttons template. Is displayed next to title
  • theme-color (optional): The color appropriate for the theme, if no theme is directly provided.