Template:Nav: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 36: Line 36:
}}
}}
{{nav
{{nav
| theme=aerius theme
| theme=water theme
|
|
{{nav-group|group=      [[Model attributes (Water Overlay)| Water Overlay Attributes]] }}
{{nav-group|group=      [[Model attributes (Water Overlay)| Water Overlay Attributes]] }}
Line 45: Line 45:


Parameters for predefined theme:
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".
* theme (required): Theming, consisting of "[[Template:theme]]". Injects color, main link, and a theme class E.g. Water gets class "theme-water".
* 1 (required): Content, consisting of "[[Template:nav-group]]"s.
* 1 (required): Content, consisting of "[[Template:nav-group]]"s.



Latest revision as of 12:30, 5 March 2026


Examples:



Parameters for predefined theme:

  • theme (required): Theming, consisting of "Template:theme". Injects color, main link, and a theme class E.g. Water gets class "theme-water".
  • 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.