Template:sbenav
From Homestar Runner Wiki
(Difference between revisions)
(update cat: this one's already automated!, +cat) |
(with the addition of the 0 entry we can simplify the logic (unless sbemail 0 becomes a thing! ;) )) |
||
Line 6: | Line 6: | ||
-->|RightMainText=watch<!-- | -->|RightMainText=watch<!-- | ||
- | -->|RightPrevLink={{{2|{{sbemail | + | -->|RightPrevLink={{{2|{{sbemail|{{#expr:{{{1|1}}}-1}}}}}}}<!-- |
- | -->|RightPrevText={{{2|{{sbemail | + | -->|RightPrevText={{{2|{{sbemail|{{#expr:{{{1|1}}}-1}}}}}}}<!-- |
-->|RightNextLink={{{3|{{sbemail|{{#expr:{{{1|0}}}+1}}}}}}}<!-- | -->|RightNextLink={{{3|{{sbemail|{{#expr:{{{1|0}}}+1}}}}}}}<!-- |
Revision as of 11:14, 24 January 2021
Strong Bad Email #{{{1}}} |
|
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=sbemail #
- 2=previous (optional, the template can determine based on input 1)
- 3=next (optional, the template can determine based on input 1)
- link=filename (optional for subtitle parameters, in case 1 is incorrect)
- nolink=true (optional parameter to suppress the watch link)