Template:charnav

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(Example using Homestar.)
(link to "main characters" subsection of characters article, since this nav is only for those chosen few)
 
(includes 6 intermediate revisions)
Line 1: Line 1:
-
<table width=100% border=0 cellspacing=0 cellpadding=2><tr>
+
{{NavFlex<!--
-
<td>'''Character: {{{1|Homestar Runner}}}'''</td>
+
  -->|LeftText=[[Main Characters|Character]]:&nbsp;<!--
-
<td align=right><table 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;"><tr>
+
  -->|LeftVar={{{1}}}<!--
-
<td style="border-right:1px solid #ccc;">[[HR:vcr {{{2|hs}}}.html|watch {{{1|Homestar Runner}}}'s character video]]&nbsp;&nbsp;</td>
+
 
-
<td style="border-right:1px solid #ccc;">[[{{{3|Homsar}}}|<span style="font-size:small">&larr;</span> {{{3|Homsar}}}]]</td>
+
  -->|RightMainLink=HR:vcr {{{2}}}.html<!--
-
<td>[[{{{4|Strong Bad}}}|{{{4|Strong Bad}}} <span style="font-size:small">&rarr;</span>]]</td></tr></table></td>
+
  -->|RightMainText=watch {{{1}}}'s character video<!--
-
</tr></table><noinclude>[[Category:Quick Navigation Templates|{{PAGENAME}}]]</noinclude>
+
 
 +
  -->|RightPrevLink={{{3}}}<!--
 +
  -->|RightPrevText={{{3}}}<!--
 +
 
 +
  -->|RightNextLink={{{4}}}<!--
 +
  -->|RightNextText={{{4}}}<!--
 +
 
 +
  -->|FileName={{#if:{{{link|}}}|{{{link|}}}|vcr {{{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=character
 +
: 2=vcr ___(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}}]]
 +
 
 +
</noinclude>

Current revision as of 23:52, 18 June 2025

Character: {{{1}}}
[[HR:vcr {{{2}}}.html|watch {{{1}}}'s character video]] [[{{{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=character
2=vcr ___(for link)
3=previous
4=next
link=filename (optional for subtitle parameters, if 2 is incorrect)