Template:Nav: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 19: | Line 19: | ||
</div><noinclude> | </div><noinclude> | ||
</noinclude>{{#ifeq:{{NAMESPACE}}|Template|[[Category:Navigation templates|{{PAGENAME}}]]|}}<noinclude> | </noinclude>{{#ifeq:{{NAMESPACE}}|Template|[[Category:Navigation templates|{{PAGENAME}}]]|}}<noinclude> | ||
Examples: | Examples: |
Revision as of 08:01, 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.