Template:Nav: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 18: Line 18:
   </div>
   </div>
</div><noinclude>
</div><noinclude>
</noinclude>{{#ifeq:{{NAMESPACE}}|Template|[[Category:Navigation templates|{{PAGENAME}}]]|}}<noinclude>
</noinclude>{{Template-category|Navigation}}<noinclude>


Examples:
Examples:

Revision as of 08:08, 7 August 2020


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.