Template:gamenav

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(implementing Template:NavFlex - hopefully this works...)
m (adjust noplay= behavior)
Line 1: Line 1:
-
{{#ifeq:{{{noplay}}}|true
+
{{#if:{{{noplay}}}
-
|<!--                       NOPLAY=TRUE
+
|<!--                               noplay yes
-->{{NavFlex<!--
-->{{NavFlex<!--
   -->|LeftText=<!--
   -->|LeftText=<!--
Line 16: Line 16:
   -->|FileName={{{link|{{{2}}}}}}<!--
   -->|FileName={{{link|{{{2}}}}}}<!--
-->}}
-->}}
-
|<!--                     NOPLAY=FALSE
+
|<!--                               noplay no
-->{{NavFlex<!--
-->{{NavFlex<!--
   -->|LeftText=Game Category:&nbsp;<!--
   -->|LeftText=Game Category:&nbsp;<!--
Line 35: Line 35:
This template is an extension of [[Template:NavFlex]].  If you need to change the visual style, you'll need to edit over there.
This template is an extension of [[Template:NavFlex]].  If you need to change the visual style, you'll need to edit over there.
 +
 +
{{gamenav|cat|filename|prev|next}}
 +
{{gamenav|prev|next|noplay=true}}
; Inputs
; Inputs

Revision as of 23:43, 7 April 2009

[[{{{1}}}| {{{1}}}]] [[{{{2}}}|{{{2}}} ]]

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


Game Category: cat
play prev next
Game Category: prev
[[{{{3}}}| {{{3}}}]] [[{{{4}}}|{{{4}}} ]]
Inputs
1=game category
2=filename (for link)
3=previous
4=next
link=filename (optional for subtitle parameters, if 2 is incorrect)
noplay= (for no play)
Inputs (noplay=true)
1=prev
2=next
link=filename (optional for subtitle parameters, if 2 is incorrect)
noplay=true (for no play)