Template:sbenav

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(re-implement template with wiki code (vs html))
(implementing Template:NavFlex)
Line 1: Line 1:
-
{| width=100% cellspacing=0 cellpadding=2
+
{{NavFlex<!--
-
| '''Strong Bad Email #{{{1}}}'''
+
  -->|LeftText=Strong Bad Email #<!--
-
|
+
  -->|LeftVar={{{1}}}<!--
-
{| align=right border=1 cellpadding=4 cellspacing=0 style="background:#f2f2f2;border:1px solid #ccc;padding: 5px;font-size:x-small;line-height:100%;border-collapse: collapse;"
+
-
| style="border-right:1px solid #ccc;" | [[HR:{{{link|sbemail{{{1}}}}}}.html|watch]]&nbsp;&nbsp;
+
-
| style="border-right:1px solid #ccc;" | [[{{{2|{{sbemail|{{#ifexpr:({{{1|1}}}-1)>=1|{{#expr:{{{1|1}}}-1}}|last}}}}}}}|<span style="font-size:small">&larr;</span> {{{2|{{sbemail|{{#ifexpr:({{{1|1}}}-1)>=1|{{#expr:{{{1|1}}}-1}}|last}}}}}}}]]
+
-
| [[ {{{3|{{sbemail|{{#expr:{{{1|0}}}+1}}}}}}}|{{{3|{{sbemail|{{#expr:{{{1|0}}}+1}}}}}}} <span style="font-size:small">&rarr;</span>]]
+
-
|}
+
-
|}
+
-
{{subtitlesLinks|{{{link|sbemail{{{1}}}}}}}}<noinclude>
+
 +
  -->|RightMainLink=HR:sbemail{{{1}}}.html<!--
 +
  -->|RightMainText=watch<!--
 +
 +
  -->|RightPrevLink={{{2|{{sbemail|{{#ifexpr:({{{1|1}}}-1)>=1|{{#expr:{{{1|1}}}-1}}|last}}}}}}}<!--
 +
  -->|RightPrevText={{{2|{{sbemail|{{#ifexpr:({{{1|1}}}-1)>=1|{{#expr:{{{1|1}}}-1}}|last}}}}}}}<!--
 +
 +
  -->|RightNextLink={{{3|{{sbemail|{{#expr:{{{1|0}}}+1}}}}}}}<!--
 +
  -->|RightNextText={{{3|{{sbemail|{{#expr:{{{1|0}}}+1}}}}}}}<!--
 +
 +
  -->|FileName={{{link|sbemail{{{1}}}}}}<!--
 +
-->}}
 +
[[Category:Toons|{{PAGENAME}}]]<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=toon category
 +
: 2=filename (for link)
 +
: 3=previous
 +
: 4=next
 +
: link=filename (optional for subtitle parameters, if 2 is incorrect)
 +
 +
[[Category:NavFlex Templates|{{PAGENAME}}]]
[[Category:Quick Navigation Templates|{{PAGENAME}}]]
[[Category:Quick Navigation Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 05:09, 5 April 2009

Strong Bad Email #{{{1}}}
[[HR:sbemail{{{1}}}.html|watch]] parenting some kinda robot

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=toon category
2=filename (for link)
3=previous
4=next
link=filename (optional for subtitle parameters, if 2 is incorrect)