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:


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


Parameters without theme:
Parameters without theme:
* title (required): Can be text or a link.
* title (required): Can be text or a link.
* 1 (required): Content, consisting of [[Template:nav-group]]s.
* 1 (required): Content, consisting of "[[Template:nav-group]]"s.


* buttons (optional): Consists of a buttons template. Is displayed next to title
* 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.
* theme-color (optional): The color appropriate for the theme, if no theme is directly provided.
</noinclude>
</noinclude>

Revision as of 08:09, 7 August 2020


Examples:



Parameters for predefined theme:

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

Parameters without theme:

  • title (required): Can be text or a link.
  • 1 (required): Content, consisting of "Template:nav-group"s.
  • 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.