Template:gamenav

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
m (adjust noplay= behavior)
m (revert)
Line 1: Line 1:
-
{{#if:{{{noplay}}}
+
{{#ifeq:{{{noplay}}}|true
-
|<!--                               noplay yes
+
|<!--                       NOPLAY=TRUE
-->{{NavFlex<!--
-->{{NavFlex<!--
   -->|LeftText=<!--
   -->|LeftText=<!--
Line 16: Line 16:
   -->|FileName={{{link|{{{2}}}}}}<!--
   -->|FileName={{{link|{{{2}}}}}}<!--
-->}}
-->}}
-
|<!--                               noplay no
+
|<!--                     NOPLAY=FALSE
-->{{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:45, 7 April 2009

Game Category: {{{1}}}
[[HR:{{{2}}}.html|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
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)