Navigation menu

Template:Nav: Difference between revisions

From Metroid Wiki
mNo edit summary
m (fix)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{clear}}
<includeonly><templatestyles src="Template:Nav/styles.css" /><table class="t_nav">
{| class="navbox" align="center" style="{{round|20px}}; width:100%; background-color: #{{mw color}}; border: 2px solid #{{mw color light}}; padding: 3px"
<tr><th class="t_nav_title" colspan=2>{{{title|{{{header|}}}}}}</th></tr>
|-
<tr>{{#if:{{{group1|}}}|<td class="t_nav_header">{{{group1|}}}</td>}}<td class="t_nav_content">
! style="{{round}}; background-color: #{{mw color dark}}; border: 1px solid #{{mw color light}}; padding: 3px" class="header" | {{{header}}}
{{{list1|{{{content|}}}}}}</td>
|-
</tr><!--
| style="margin-left: 3em; margin-right: 3em; font-size: .9em; text-align: center;" | {{{content}}}
-->{{#if:{{{list2|}}}|<tr>{{#if:{{{group2|}}}|<td class="t_nav_header">{{{group2|}}}</td>}}<td class="t_nav_content">
|}<noinclude>[[Category:Navigation Templates|*]]</noinclude>
{{{list2|}}}</td>
</tr>}}<!--
-->{{#if:{{{list3|}}}|<tr>{{#if:{{{group3|}}}|<td class="t_nav_header">{{{group3|}}}</td>}}<td class="t_nav_content">
{{{list3|}}}</td>
</tr>}}<!--
-->{{#if:{{{list4|}}}|<tr>{{#if:{{{group4|}}}|<td class="t_nav_header">{{{group4|}}}</td>}}<td class="t_nav_content">
{{{list4|}}}</td>
</tr>}}<!--
-->{{#if:{{{list5|}}}|<tr>{{#if:{{{group5|}}}|<td class="t_nav_header">{{{group5|}}}</td>}}<td class="t_nav_content">
{{{list5|}}}</td>
</tr>}}<!--
-->{{#if:{{{list6|}}}|<tr>{{#if:{{{group6|}}}|<td class="t_nav_header">{{{group6|}}}</td>}}<td class="t_nav_content">
{{{list6|}}}</td>
</tr>}}<!--
-->{{#if:{{{list7|}}}|<tr>{{#if:{{{group7|}}}|<td class="t_nav_header">{{{group7|}}}</td>}}<td class="t_nav_content">
{{{list7|}}}</td>
</tr>}}<!--
-->{{#if:{{{list8|}}}|<tr>{{#if:{{{group8|}}}|<td class="t_nav_header">{{{group8|}}}</td>}}<td class="t_nav_content">
{{{list8|}}}</td>
</tr>}}<!--
-->{{#if:{{{list9|}}}|<tr>{{#if:{{{group9|}}}|<td class="t_nav_header">{{{group9|}}}</td>}}<td class="t_nav_content">
{{{list9|}}}</td>
</tr>}}<!--
-->{{#if:{{{list10|}}}|<tr>{{#if:{{{group10|}}}|<td class="t_nav_header">{{{group10|}}}</td>}}<td class="t_nav_content">
{{{list10|}}}</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 Templates| ]]</noinclude>

Latest revision as of 05:05, 15 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.