Template:sbenav
From Homestar Runner Wiki
(Difference between revisions)
It's dot com (Talk | contribs) (rv; better the old way; please discuss changes to sitewide templates on the talk page (or at the very least enter an edit comment)) |
It's dot com (Talk | contribs) (+documentation) |
||
(includes 12 intermediate revisions) | |||
Line 1: | Line 1: | ||
- | < | + | {{NavFlex<!-- |
- | + | -->|LeftText=Strong Bad Email #<!-- | |
- | + | -->|LeftVar={{{1}}}<!-- | |
- | + | ||
- | + | -->|RightMainLink={{#if:{{{nolink|}}}||HR:{{{link|sbemail{{{1}}}}}}.html}}<!-- | |
- | + | -->|RightMainText=watch<!-- | |
- | + | ||
+ | -->|RightPrevLink={{{2|{{sbemail|{{#ifexpr:({{{1|1}}}-1)>=1|{{#expr:{{{1|1}}}-1}}|last}}}}}}}<!-- | ||
+ | -->|RightPrevText={{{2|{{sbemail|{{#ifexpr:({{{1|1}}}-1)>=1|{{#expr:{{{1|1}}}-1}}|last}}}}}}}<!-- | ||
+ | |||
+ | -->|RightNextLink={{{3|{{sbemail|{{#expr:{{{1|0}}}+1}}}}}}}<!-- | ||
+ | -->|RightNextText={{{3|{{sbemail|{{#expr:{{{1|0}}}+1}}}}}}}<!-- | ||
+ | |||
+ | -->|FileName={{#if:{{{nolink|}}}||{{{link|sbemail{{{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=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) | ||
+ | |||
+ | [[Category:NavFlex Templates|{{PAGENAME}}]] | ||
+ | [[Category:Quick Navigation Templates|{{PAGENAME}}]] | ||
+ | |||
+ | </noinclude> |
Revision as of 16:03, 30 June 2009
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)