Template:gamenav
From Homestar Runner Wiki
(Difference between revisions)
m (changing variable numbers for that case) |
(implementing Template:NavFlex - hopefully this works...) |
||
| Line 1: | Line 1: | ||
{{#ifeq:{{{noplay}}}|true | {{#ifeq:{{{noplay}}}|true | ||
| - | |< | + | |<!-- NOPLAY=TRUE |
| - | + | -->{{NavFlex<!-- | |
| - | < | + | -->|LeftText=<!-- |
| - | + | -->|LeftVar=<!-- | |
| - | + | ||
| - | | | + | -->|RightMainLink=<!-- |
| - | + | -->|RightMainText=<!-- | |
| - | < | + | |
| - | + | -->|RightPrevLink={{{1}}}<!-- | |
| - | + | -->|RightPrevText={{{1}}}<!-- | |
| - | + | ||
| - | + | -->|RightNextLink={{{2}}}<!-- | |
| - | }}<noinclude>[[Category:Quick Navigation Templates|{{PAGENAME}}]]</noinclude> | + | -->|RightNextText={{{2}}}<!-- |
| + | |||
| + | -->|FileName={{{link|{{{2}}}}}}<!-- | ||
| + | -->}} | ||
| + | |<!-- NOPLAY=FALSE | ||
| + | -->{{NavFlex<!-- | ||
| + | -->|LeftText=Game Category: <!-- | ||
| + | -->|LeftVar={{{1}}}<!-- | ||
| + | |||
| + | -->|RightMainLink=HR:{{{2}}}.html<!-- | ||
| + | -->|RightMainText=play<!-- | ||
| + | |||
| + | -->|RightPrevLink={{{3}}}<!-- | ||
| + | -->|RightPrevText={{{3}}}<!-- | ||
| + | |||
| + | -->|RightNextLink={{{4}}}<!-- | ||
| + | -->|RightNextText={{{4}}}<!-- | ||
| + | |||
| + | -->|FileName={{{link|{{{2}}}}}}<!-- | ||
| + | -->}} | ||
| + | }}<noinclude> | ||
| + | |||
| + | 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) | ||
| + | |||
| + | [[Category:NavFlex Templates|{{PAGENAME}}]] | ||
| + | [[Category:Quick Navigation Templates|{{PAGENAME}}]] | ||
| + | |||
| + | </noinclude> | ||
Revision as of 04:23, 5 April 2009
| Game Category: {{{1}}} |
|
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)
