Template:anewgamenav
From Homestar Runner Wiki
(Difference between revisions)
It's dot com (Talk | contribs) (new games) |
It's dot com (Talk | contribs) (restructure based on so that noplay, gamecat, and gamecattype can be set independently) |
||
Line 1: | Line 1: | ||
- | {{ | + | {{gamenav<!-- |
- | |<!-- | + | -->|{{{gamecattype|New Game}}}<!-- /* game type */ |
- | -->{{ | + | -->|gamecat={{{gamecat|Game Category: }}}<!-- |
- | -->|{{#navlist: | + | -->|{{{1|}}}<!-- |
- | -->|{{#navlist: | + | -->|{{#navlist:newgamenav-lookup|prev}}<!-- /* calculate previous link */ |
+ | -->|{{#navlist:newgamenav-lookup|next}}<!-- /* calculate next link */ | ||
-->|link={{{link|{{{2}}}}}}<!-- | -->|link={{{link|{{{2}}}}}}<!-- | ||
- | -->| | + | -->|site={{{site|HR}}}<!-- |
- | + | -->|noplay={{{noplay|}}}<!-- | |
- | + | -->}}<noinclude> | |
- | + | ||
- | + | ||
- | + | ||
- | -->| | + | |
- | + | ||
- | + | ||
- | -->}} | + | |
- | + | ||
This template is an automated extension of {{t|gamenav}}. Previous and next are calculated using {{t|newgamenav-lookup}}. Please update the nav order there. | This template is an automated extension of {{t|gamenav}}. Previous and next are calculated using {{t|newgamenav-lookup}}. Please update the nav order there. | ||
; Inputs | ; Inputs | ||
- | : 1 | + | : 1=filename (for link) |
- | + | ||
: 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) | |
- | + | : noplay=suppress play link | |
- | : | + | : gamecat=add blank parameter to remove game category label |
- | : noplay= | + | : gamecattype=add blank parameter to remove game category text |
[[Category:QuickNav Assistance Templates|{{PAGENAME}}]] | [[Category:QuickNav Assistance Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 23:51, 1 February 2021
Game Category: New Game |
|
This template is an automated extension of {{gamenav}}. Previous and next are calculated using {{newgamenav-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)
- noplay=suppress play link
- gamecat=add blank parameter to remove game category label
- gamecattype=add blank parameter to remove game category text