Template:toonnav
From Homestar Runner Wiki
(Difference between revisions)
It's dot com (Talk | contribs) (update key) |
It's dot com (Talk | contribs) (disable .html for HR, enable for OldHR) |
||
(includes 2 intermediate revisions) | |||
Line 1: | Line 1: | ||
{{NavFlex<!-- | {{NavFlex<!-- | ||
- | -->|LeftText=Toon Category: <!-- | + | -->|LeftText={{{tooncat|Toon Category: }}}<!-- |
- | -->|LeftVar={{{1}}}<!-- | + | -->|LeftVar={{{1|}}}<!-- |
- | -->|RightMainLink={{{site|HR}}}:{{{2}}}{{#ifeq:{{{site|HR}}}| | + | -->|RightMainLink={{#if:{{{nolink|}}}||{{{site|HR}}}:{{{2}}}{{#ifeq:{{{site|HR}}}|OldHR|.html|}}}}<!-- |
-->|RightMainText=watch<!-- | -->|RightMainText=watch<!-- | ||
Line 31: | Line 31: | ||
: link=filename (optional for subtitle parameters, if 2 is incorrect) | : link=filename (optional for subtitle parameters, if 2 is incorrect) | ||
: site=website (optional; only if an [[Help:Namespaces#Interwiki Links|Interwiki link]] other than HR: is used) | : site=website (optional; only if an [[Help:Namespaces#Interwiki Links|Interwiki link]] other than HR: is used) | ||
+ | : nolink=true (optional parameter to suppress the watch link) | ||
+ | : tooncat=add blank parameter to remove toon category text | ||
[[Category:NavFlex Templates|{{PAGENAME}}]] | [[Category:NavFlex Templates|{{PAGENAME}}]] |
Current revision as of 03:42, 1 February 2021
Toon Category: |
|
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=toon category
- 2=filename (for link)
- —
- 3=previous
- 4=next
- -or-
- 3=previous target
- 4=previous label
- 5=next target
- 6=next label
- —
- link=filename (optional for subtitle parameters, if 2 is incorrect)
- site=website (optional; only if an Interwiki link other than HR: is used)
- nolink=true (optional parameter to suppress the watch link)
- tooncat=add blank parameter to remove toon category text