Template:mainnav
From Homestar Runner Wiki
(Difference between revisions)
(Example using Main Page 1.) |
It's dot com (Talk | contribs) (update URL format) |
||
(includes 4 intermediate revisions) | |||
Line 1: | Line 1: | ||
- | < | + | {{NavFlex<!-- |
- | + | -->|LeftText=<!-- | |
- | + | -->|LeftVar=<!-- | |
- | + | ||
+ | -->|RightMainLink=HR:main/{{{1}}}<!-- | ||
+ | -->|RightMainText=go to Main Page {{{1}}}<!-- | ||
+ | |||
+ | -->|RightPrevLink=Main Page {{{2}}}<!-- | ||
+ | -->|RightPrevText=Main Page {{{2}}}<!-- | ||
+ | |||
+ | -->|RightNextLink=Main Page {{{3}}}<!-- | ||
+ | -->|RightNextText=Main Page {{{3}}}<!-- | ||
+ | |||
+ | -->|FileName={{#if:{{{link|}}}|{{{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> |
Current revision as of 16:43, 13 January 2023
|
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)