Template:othermainnav
From Homestar Runner Wiki
(Difference between revisions)
m (User:Bluebry muffin/template moved to Template:othermainnav) |
(update default link handling to handle transclusions) |
||
(includes 3 intermediate revisions) | |||
Line 1: | Line 1: | ||
- | < | + | {{NavFlex<!-- |
- | + | -->|LeftText=<!-- | |
- | + | -->|LeftVar=<!-- | |
- | + | ||
+ | -->|RightMainLink=HR:{{{1}}}.html<!-- | ||
+ | -->|RightMainText=go to this Main Page<!-- | ||
+ | |||
+ | -->|RightPrevLink={{{2}}}<!-- | ||
+ | -->|RightPrevText={{{2}}}<!-- | ||
+ | |||
+ | -->|RightNextLink={{{3}}}<!-- | ||
+ | -->|RightNextText={{{3}}}<!-- | ||
+ | |||
+ | -->|FileName={{#if:{{{link|}}}|{{{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> |
Current revision as of 09:52, 31 January 2021
|
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)