Difference between revisions of "Template:NMLTutorialNavbar"

From TTWiki
Jump to navigationJump to search
(nml tutorial navigation template; hopefully works with links and such)
 
(subpagename and some if's)
Line 2: Line 2:
 
<div style="clear:both;"></div>
 
<div style="clear:both;"></div>
 
<div style="float:left; width:20%; border:1px solid #2f6fab; background:#eaf6f8; padding-left:5px; font-size: 10pt; margin-left:20%; text-align:left;-moz-border-radius-topleft:5px; -moz-border-radius-bottomleft:5px;">
 
<div style="float:left; width:20%; border:1px solid #2f6fab; background:#eaf6f8; padding-left:5px; font-size: 10pt; margin-left:20%; text-align:left;-moz-border-radius-topleft:5px; -moz-border-radius-bottomleft:5px;">
[[NMLTutorial/{{{1}}}|&laquo; {{{1}}}]]
+
{{#if: {{{1|}}} | [[NMLTutorial/{{{1}}}|&laquo; {{{1}}}]] | [[NMLTutorial|&laquo; NMLTutorial main page]] }}
 
</div>
 
</div>
 
<div style="float:left; width:20%; border:1px solid #2f6fab; border-left: none; background:#b1cff8; padding:0; font-size: 10pt; margin:0; text-align:center;">
 
<div style="float:left; width:20%; border:1px solid #2f6fab; border-left: none; background:#b1cff8; padding:0; font-size: 10pt; margin:0; text-align:center;">
'''NML Tutorial: {{PAGENAME}}'''
+
'''NML Tutorial: {{SUBPAGENAME}}'''
 
</div>
 
</div>
 
<div style="float:left; width:20%; border:1px solid #2f6fab; border-left: none; background:#eaf6f8; padding-right:5px; font-size: 10pt; text-align:right;-moz-border-radius-topright:5px; -moz-border-radius-bottomright:5px;">
 
<div style="float:left; width:20%; border:1px solid #2f6fab; border-left: none; background:#eaf6f8; padding-right:5px; font-size: 10pt; text-align:right;-moz-border-radius-topright:5px; -moz-border-radius-bottomright:5px;">
[[NMLTutorial/{{{2}}}|{{{2}}} &raquo;]]
+
{{#if: {{{1|}}} | [[NMLTutorial/{{{2}}}|{{{2}}} &raquo;]] | [[NMLTutorial|NMLTutorial main page &raquo;]] }}
 
</div>
 
</div>
 
<div style="clear:both;"></div>
 
<div style="clear:both;"></div>

Revision as of 12:43, 22 August 2011

This is a navbar designed to go at the bottom of NML tutorial pages. It includes a link to the previous, next and main tutorial pages.

NML Tutorial: NMLTutorialNavbar