Template:anewgamenav

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(new automated nav template! (nolink not yet implemented))
(switch cat)
 
(includes 4 intermediate revisions)
Line 1: Line 1:
{{gamenav<!--
{{gamenav<!--
-
-->|{{{1}}}<!--
+
-->|{{{gamecattype|New Game}}}<!-- /* game type */
-
-->|{{{2}}}<!--
+
-->|gamecat={{{gamecat|Game Category:&nbsp;}}}<!--
-
-->|{{#navlist:gamenav-lookup|prev}}<!-- /* calculate previous link */
+
-->|{{{1|}}}<!--
-
-->|{{#navlist:gamenav-lookup|next}}<!-- /* calculate next link */
+
-->|{{#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|gamenav-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=game category
+
: 1=filename (for link)
-
: 2=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:QuickNav Assistance Templates|{{PAGENAME}}]]
+
[[Category:AutoNav Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Current revision as of 07:54, 22 February 2021

Game Category: New Game
play INVALID LOOKUP VALUE INVALID LOOKUP VALUE

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
Personal tools