Template:apbtcnav

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(test)
(nolink parameter seems to work)
Line 1: Line 1:
{{toonnav<!--
{{toonnav<!--
-->|Powered by The Cheat<!-- /* toon type */
-->|Powered by The Cheat<!-- /* toon type */
-
-->|{{#if:{{{nolink|}}}||{{#if:{{{link|}}}|{{{link|}}}|{{{1}}}}}}}<!--
+
-->|{{{1|}}}<!--
-->|{{#navlist:pbtcnav-lookup|prev}}<!-- /* calculate previous link */
-->|{{#navlist:pbtcnav-lookup|prev}}<!-- /* calculate previous link */
-->|{{#navlist:pbtcnav-lookup|next}}<!-- /* calculate next link */
-->|{{#navlist:pbtcnav-lookup|next}}<!-- /* calculate next link */
-->|link={{{link|{{{2}}}}}}<!--
-->|link={{{link|{{{2}}}}}}<!--
-->|site={{{site|HR}}}<!--
-->|site={{{site|HR}}}<!--
 +
-->|nolink={{{nolink|}}}<!--
-->}}<noinclude>
-->}}<noinclude>
Line 14: Line 15:
: link=filename (optional for subtitle parameters, if 1 is incorrect)
: link=filename (optional for subtitle parameters, if 1 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)
 
[[Category:QuickNav Assistance Templates|{{PAGENAME}}]]
[[Category:QuickNav Assistance Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 23:41, 31 January 2021

Toon Category: Powered by The Cheat
watch INVALID LOOKUP VALUE INVALID LOOKUP VALUE

This template is an automated extension of {{toonnav}}. Previous and next are calculated using {{pbtcnav-lookup}}. Please update the nav order there.

Inputs
1=filename (for link)
link=filename (optional for subtitle parameters, if 1 is incorrect)
site=website (optional; only if an Interwiki link other than HR: is used)