Template:prevnextnav
From Homestar Runner Wiki
(Difference between revisions)
(implementing Template:NavFlex) |
It's dot com (Talk | contribs) (make template able to take 2 or 4 inputs to combine with similar template) |
||
| Line 7: | Line 7: | ||
-->|RightPrevLink={{{1}}}<!-- | -->|RightPrevLink={{{1}}}<!-- | ||
| - | -->|RightPrevText={{{2}}}<!-- | + | -->|RightPrevText={{#if:{{{3|}}}|{{{2}}}|{{{1}}}}}<!-- |
| - | -->|RightNextLink={{{3}}}<!-- | + | -->|RightNextLink={{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}<!-- |
| - | -->|RightNextText={{{4}}}<!-- | + | -->|RightNextText={{#if:{{{3|}}}|{{{4}}}|{{{2}}}}}<!-- |
-->|FileName=<!-- | -->|FileName=<!-- | ||
| Line 18: | Line 18: | ||
; Inputs | ; Inputs | ||
| - | : 1=previous | + | : 1=previous |
| - | : 2=previous | + | : 2=next |
| - | : 3=next | + | : -or- |
| - | : 4=next | + | : 1=previous target |
| + | : 2=previous label | ||
| + | : 3=next target | ||
| + | : 4=next label | ||
[[Category:NavFlex Templates|{{PAGENAME}}]] | [[Category:NavFlex Templates|{{PAGENAME}}]] | ||
Revision as of 19:43, 2 February 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=previous
- 2=next
- -or-
- 1=previous target
- 2=previous label
- 3=next target
- 4=next label
