Template:othermainnav

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
m (User:Bluebry muffin/template moved to Template:othermainnav)
(implementing Template:NavFlex)
Line 1: Line 1:
-
<table align="right" border="1" cellpadding="4" cellspacing="0" style="background:#f2f2f2;border:1px solid #ccc;padding: 5px;font-size:x-small;line-height:100%;border-collapse: collapse;"><tr>
+
{{NavFlex<!--
-
<td style="border-right:1px solid #ccc;">[[HR:{{{1}}}.html|View this Main Page]]&nbsp;</td>
+
  -->|LeftText=<!--
-
<td style="border-right:1px solid #ccc;">[[{{{2}}} Main Page |<span style="font-size:small">&larr;</span>{{{2}}} Main Page]]</td>
+
  -->|LeftVar=<!--
-
<td>[[{{{3}}} Main Page |{{{3}}} Main Page <span style="font-size:small">&rarr;</span>]]</td></tr></table><noinclude>[[Category:Quick Navigation Templates|{{PAGENAME}}]]</noinclude>
+
 
 +
  -->|RightMainLink=HR:{{{1}}}.html<!--
 +
  -->|RightMainText=View this Main Page<!--
 +
 
 +
  -->|RightPrevLink={{{2}}} Main Page<!--
 +
  -->|RightPrevText={{{2}}} Main Page<!--
 +
 
 +
  -->|RightNextLink={{{3}}} Main Page<!--
 +
  -->|RightNextText={{{3}}} Main Page<!--
 +
 
 +
  -->|FileName={{{link|{{{1}}}}}}<!--
 +
-->}}<noinclude>
 +
 
 +
This template is an extension of [[Template:NavFlex]].  If you need to change the visual style, you'll need to edit over there.
 +
 
 +
; Inputs
 +
: 1=mainpage file
 +
: 2=previous main page
 +
: 3=next main page
 +
: link=filename (optional for subtitle parameters, if 1 is incorrect)
 +
 
 +
[[Category:NavFlex Templates|{{PAGENAME}}]]
 +
[[Category:Quick Navigation Templates|{{PAGENAME}}]]
 +
 
 +
</noinclude>

Revision as of 04:49, 5 April 2009

[[HR:{{{1}}}.html|View this Main Page]] [[{{{2}}} Main Page| {{{2}}} Main Page]] [[{{{3}}} Main Page|{{{3}}} Main Page ]]

This template is an extension of Template:NavFlex. If you need to change the visual style, you'll need to edit over there.

Inputs
1=mainpage file
2=previous main page
3=next main page
link=filename (optional for subtitle parameters, if 1 is incorrect)
Personal tools