Template:aothermainnav
From Homestar Runner Wiki
(Difference between revisions)
(switch to new navlist parser function) |
(add name support) |
||
Line 1: | Line 1: | ||
{{othermainnav<!-- | {{othermainnav<!-- | ||
-->|{{{1}}}<!-- | -->|{{{1}}}<!-- | ||
- | -->|{{#navlist:othermainnav-lookup|prev}}<!-- /* calculate previous link */ | + | -->|{{#navlist:othermainnav-lookup|prev|{{{name|}}}}}<!-- /* calculate previous link */ |
- | -->|{{#navlist:othermainnav-lookup|next}}<!-- /* calculate next link */ | + | -->|{{#navlist:othermainnav-lookup|next|{{{name|}}}}}<!-- /* calculate next link */ |
-->|link={{{link|}}}<!-- | -->|link={{{link|}}}<!-- | ||
-->}}<noinclude> | -->}}<noinclude> |
Revision as of 07:53, 29 January 2021
|
This template is an automated extension of {{othermainnav}}. Next and previous are calculated using {{othermainnav-lookup}}. Please update the nav order there!
- Inputs
- 1=vcr ___(for link)
- name=alternate lookup name for current character page (optional, defaults to
{{PAGENAME}}
) - link=filename (optional for subtitle parameters, if 2 is incorrect)