Template:anewgamenav
From Homestar Runner Wiki
(Difference between revisions)
(new automated nav template! (nolink not yet implemented)) |
(switch cat) |
||
(includes 4 intermediate revisions) | |||
Line 1: | Line 1: | ||
{{gamenav<!-- | {{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> | -->}}<noinclude> | ||
- | This template is an automated extension of {{t|gamenav}}. Previous and next are calculated using {{t| | + | 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 | ||
+ | : gamecattype=add blank parameter to remove game category text | ||
- | [[Category: | + | [[Category:AutoNav Templates|{{PAGENAME}}]] |
</noinclude> | </noinclude> |
Current revision as of 07:54, 22 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