Template:toonnav

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(This way, it doesn't add .html to the end of YouTube/Twitter videos)
(update default link handling to handle transclusions)
Line 12: Line 12:
   -->|RightNextText={{{4}}}<!--
   -->|RightNextText={{{4}}}<!--
-
   -->|FileName={{{link|{{{2}}}}}}<!--
+
   -->|FileName={{#if:{{{link|}}}|{{{link|}}}|{{{2}}}}}<!--
-->}}<noinclude>
-->}}<noinclude>

Revision as of 09:10, 31 January 2021

Toon Category: {{{1}}}
[[HR:{{{2}}}.html|watch]] [[{{{3}}}| {{{3}}}]] [[{{{4}}}|{{{4}}} ]]

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
link=filename (optional for subtitle parameters, if 2 is incorrect)
site=website (optional; only if an Interwiki link other than HR: is used)
Personal tools