Template:gamenav

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(restructure based on {{toonnav}} so that noplay and gamecat can be set independently)
(tweak key)
 
Line 18: Line 18:
; Inputs
; Inputs
-
: 1=game category
+
: 1=game category text
: 2=filename (for link)
: 2=filename (for link)
: {{--}}
: {{--}}
Line 32: Line 32:
: site=website (optional; only if an [[Help:Namespaces#Interwiki Links|Interwiki link]] other than HR: is used)
: site=website (optional; only if an [[Help:Namespaces#Interwiki Links|Interwiki link]] other than HR: is used)
: noplay=true (optional parameter to suppress the play link)
: noplay=true (optional parameter to suppress the play link)
-
: gamecat=add blank parameter to remove game category text
+
: gamecat=add blank parameter to remove game category label
[[Category:NavFlex Templates|{{PAGENAME}}]]
[[Category:NavFlex Templates|{{PAGENAME}}]]

Current revision as of 23:48, 1 February 2021

Game Category: 
[[HR:{{{2}}}|play]] [[{{{3}}}| {{{3}}}]] [[{{{4}}}|{{{4}}} ]]

This template is an extension of Template:NavFlex. If you need to change the visual style, you'll need to edit over there.

Inputs
1=game category text
2=filename (for link)
3=previous
4=next
-or-
3=previous target
4=previous label
5=next target
6=next label
link=filename (optional for subtitle parameters, if 2 is incorrect)
site=website (optional; only if an Interwiki link other than HR: is used)
noplay=true (optional parameter to suppress the play link)
gamecat=add blank parameter to remove game category label