Template:mainnav

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
m (Revert. Default values are not necessary, for an example or otherwise.)
(implementing Template:NavFlex)
Line 3: Line 3:
<td style="border-right:1px solid #ccc;">[[Main_Page_{{{2}}}|<span style="font-size:small">&larr;</span>Main Page {{{2}}}]]</td>
<td style="border-right:1px solid #ccc;">[[Main_Page_{{{2}}}|<span style="font-size:small">&larr;</span>Main Page {{{2}}}]]</td>
<td>[[Main_Page_{{{3}}}|Main Page {{{3}}} <span style="font-size:small">&rarr;</span>]]</td></tr></table><noinclude>[[Category:Quick Navigation Templates|{{PAGENAME}}]]</noinclude>
<td>[[Main_Page_{{{3}}}|Main Page {{{3}}} <span style="font-size:small">&rarr;</span>]]</td></tr></table><noinclude>[[Category:Quick Navigation Templates|{{PAGENAME}}]]</noinclude>
 +
 +
 +
{{NavFlex<!--
 +
  -->|LeftText=<!--
 +
  -->|LeftVar=<!--
 +
 +
  -->|RightMainLink=HR:main{{{1}}}.html<!--
 +
  -->|RightMainText=go to Main Page {{{1}}}<!--
 +
 +
  -->|RightPrevLink=Main Page {{{2}}}<!--
 +
  -->|RightPrevText=Main Page {{{2}}}<!--
 +
 +
  -->|RightNextLink=Main Page {{{3}}}<!--
 +
  -->|RightNextText=Main Page {{{3}}}<!--
 +
 +
  -->|FileName={{{link|main{{{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=main page #
 +
: 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:41, 5 April 2009

[[HR:main{{{1}}}.html|go to Main Page {{{1}}}]]  [[Main_Page_{{{2}}}|Main Page {{{2}}}]] [[Main_Page_{{{3}}}|Main Page {{{3}}} ]]


[[HR:main{{{1}}}.html|go to Main Page {{{1}}}]] [[Main Page {{{2}}}| Main Page {{{2}}}]] [[Main Page {{{3}}}|Main Page {{{3}}} ]]

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=main page #
2=previous main page #
3=next main page #
link=filename (optional for subtitle parameters, if 1 is incorrect)
Personal tools