Navigation menu
Template:Nav: Difference between revisions
From Metroid Wiki
m (add line break) |
(more flexible nav with multiple rows) |
||
Line 1: | Line 1: | ||
<templatestyles src="Template:Nav/styles.css" /> | <includeonly><templatestyles src="Template:Nav/styles.css" /><table class="t_nav"> | ||
{| class=" | <tr><th class="t_nav_title" colspan=2>{{{title|{{{header|}}}}}}</th></tr> | ||
<tr>{{#if:{{{group1|}}}|<td class="t_nav_header">{{{group1|}}}</td>}}<td> | |||
| | {{{list1|{{{content|}}}}}}</td> | ||
| class=" | </tr> | ||
{{{ | {{#if:{{{list2|}}}|<tr>{{#if:{{{group2|}}}|<td class="t_nav_header">{{{group2|}}}</td>}}<td> | ||
|}<noinclude> | {{{list2|}}}</td></tr> | ||
}} | |||
{{#if:{{{list3|}}}|<tr>{{#if:{{{group3|}}}|<td class="t_nav_header">{{{group3|}}}</td>}}<td> | |||
{{{list3|}}}</td></tr> | |||
}} | |||
{{#if:{{{list4|}}}|<tr>{{#if:{{{group4|}}}|<td class="t_nav_header">{{{group4|}}}</td>}}<td> | |||
{{{list4|}}}</td></tr> | |||
}} | |||
{{#if:{{{list5|}}}|<tr>{{#if:{{{group5|}}}|<td class="t_nav_header">{{{group5|}}}</td>}}<td> | |||
{{{list5|}}}</td></tr> | |||
}} | |||
{{#if:{{{list6|}}}|<tr>{{#if:{{{group6|}}}|<td class="t_nav_header">{{{group6|}}}</td>}}<td> | |||
{{{list6|}}}</td></tr> | |||
}} | |||
</table></includeonly><noinclude> | |||
{{TemplateStyles|Template:Nav/styles.css}} | |||
This template is called by other templates to format Navigation templates. Do not use it directly on content pages. | |||
[[Category:Navigation | [[Category:Navigation templates| ]]</noinclude> |
Revision as of 04:10, 12 April 2023
This template uses TemplateStyles:
This template is called by other templates to format Navigation templates. Do not use it directly on content pages.