Template:ashortsnav
From Homestar Runner Wiki
(Difference between revisions)
It's dot com (Talk | contribs) (create auto nav template) |
(switch cat) |
||
(includes 3 intermediate revisions) | |||
Line 1: | Line 1: | ||
{{toonnav<!-- | {{toonnav<!-- | ||
- | -->| | + | -->|Shorts<!-- /* toon type */ |
- | -->|{{{1}}}<!-- | + | -->|{{{1|toons/{{#urlformat:}}}}}<!-- |
- | -->|{{#navlist: | + | -->|{{#navlist:shortsnav-lookup|prev||target}}<!-- /* calculate previous link target */ |
- | -->|{{#navlist: | + | -->|{{#navlist:shortsnav-lookup|prev}}<!-- /* calculate previous link label */ |
- | -->|{{#navlist: | + | -->|{{#navlist:shortsnav-lookup|next||target}}<!-- /* calculate next link target */ |
- | -->|{{#navlist: | + | -->|{{#navlist:shortsnav-lookup|next}}<!-- /* calculate next link label */ |
-->|link={{{link|{{{2}}}}}}<!-- | -->|link={{{link|{{{2}}}}}}<!-- | ||
-->|site={{{site|HR}}}<!-- | -->|site={{{site|HR}}}<!-- | ||
Line 17: | Line 17: | ||
: 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) | ||
- | [[Category: | + | [[Category:AutoNav Templates|{{PAGENAME}}]] |
</noinclude> | </noinclude> |
Current revision as of 08:00, 22 February 2021
Toon Category: Shorts |
|
This template is an automated extension of {{toonnav}}. Previous and next are calculated using {{shortsnav-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)