Template:amamnav
From Homestar Runner Wiki
(Difference between revisions)
(update: actually these seem to have retained their numerical ordering! I'm consolidating both parameters into one, if the pattern changes we can tackle that in the future...) |
The Cheatbot (Talk | contribs) (switch lookup to parser function) |
||
| Line 1: | Line 1: | ||
{{mamnav<!-- | {{mamnav<!-- | ||
-->|{{{1}}}<!-- | -->|{{{1}}}<!-- | ||
| - | -->| | + | -->|{{#navlist:mamnav-lookup|prev||target}}<!-- /* calculate previous link target */ |
| - | -->| | + | -->|{{#navlist:mamnav-lookup|prev}}<!-- /* calculate previous link label */ |
| - | -->| | + | -->|{{#navlist:mamnav-lookup|next||target}}<!-- /* calculate next link target */ |
| - | -->| | + | -->|{{#navlist:mamnav-lookup|next}}<!-- /* calculate next link name */ |
-->|link={{{link|}}}<!-- | -->|link={{{link|}}}<!-- | ||
-->}}<noinclude> | -->}}<noinclude> | ||
| Line 12: | Line 12: | ||
; Inputs | ; Inputs | ||
: 1=mam version # | : 1=mam version # | ||
| - | |||
: link=filename (optional for subtitle parameters, if 1 is incorrect) | : link=filename (optional for subtitle parameters, if 1 is incorrect) | ||
Revision as of 00:31, 30 January 2021
| Marzipan's Answering Machine #{{{1}}} |
|
This template is an automated extension of {{mamnav}}. Next and previous are calculated using {{mam-lookup}}. Please update the nav order there!
- Inputs
- 1=mam version #
- link=filename (optional for subtitle parameters, if 1 is incorrect)
