Template:toonnav

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(update default link handling to handle transclusions)
(enable separate link targets and labels)
Line 7: Line 7:
   -->|RightPrevLink={{{3}}}<!--
   -->|RightPrevLink={{{3}}}<!--
-
   -->|RightPrevText={{{3}}}<!--
+
   -->|RightPrevText={{#if:{{{5|}}}|{{{4}}}|{{{3}}}}}<!--
-
   -->|RightNextLink={{{4}}}<!--
+
   -->|RightNextLink={{#if:{{{5|}}}|{{{5}}}|{{{4}}}}}<!--
-
   -->|RightNextText={{{4}}}<!--
+
   -->|RightNextText={{#if:{{{5|}}}|{{{6}}}|{{{4}}}}}<!--
   -->|FileName={{#if:{{{link|}}}|{{{link|}}}|{{{2}}}}}<!--
   -->|FileName={{#if:{{{link|}}}|{{{link|}}}|{{{2}}}}}<!--

Revision as of 16:29, 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