Difference between revisions of "Template:SongNav"

From JoCopedia
Jump to navigation Jump to search
(Will this auto add Category:Videos?)
Line 1: Line 1:
<noinclude>A navigation bar that links between each of the various pages related to a song. Include it at the top of the lyrics/tabs/etc. pages related to each song.</noinclude><includeonly><div id="songnav" style="background-color:#fcfcfc;border:1px solid #ccc;padding:0.5em;text-align:center;margin-bottom:1em;"><div style="font-size:1.2em;padding-bottom:0.25em;">'''[[{{BASEPAGENAME}}]]'''</div><div><span style="padding:0 1em;">{{#ifeq:{{SUBPAGENAME}}|Lyrics|'''Lyrics'''|[[{{BASEPAGENAME}}/Lyrics|Lyrics]]}}</span> <span style="padding:0 1em;border-left:1px dotted;">{{#ifeq:{{SUBPAGENAME}}|Tabs|'''Tabs'''|[[{{BASEPAGENAME}}/Tabs|Tabs]]}}</span> <span style="padding:0 1em;border-left:1px dotted;">{{#ifeq:{{SUBPAGENAME}}|Videos|'''Videos''' [[Category:Videos]]|[[{{BASEPAGENAME}}/Videos|Videos]]}}</span> <span style="padding:0 1em;border-left:1px dotted;">{{#ifeq:{{SUBPAGENAME}}|Fan content|'''Fan content'''|[[{{BASEPAGENAME}}/Fan content|Fan content]]}}</span></div></div>{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}||[[Category:{{SUBPAGENAME}}]]}}</includeonly>
+
<noinclude>A navigation bar that links between each of the various pages related to a song. Include it at the top of the lyrics/tabs/etc. pages related to each song.</noinclude><includeonly><div id="songnav" style="background-color:#fcfcfc;border:1px solid #ccc;padding:0.5em;text-align:center;margin-bottom:1em;"><div style="font-size:1.2em;padding-bottom:0.25em;">'''[[{{BASEPAGENAME}}]]'''</div><div><span style="padding:0 1em;">{{#ifeq:{{SUBPAGENAME}}|Lyrics|'''Lyrics'''|[[{{BASEPAGENAME}}/Lyrics|Lyrics]]}}</span> <span style="padding:0 1em;border-left:1px dotted;">{{#ifeq:{{SUBPAGENAME}}|Tabs|'''Tabs'''|[[{{BASEPAGENAME}}/Tabs|Tabs]]}}</span> <span style="padding:0 1em;border-left:1px dotted;">{{#ifeq:{{SUBPAGENAME}}|Videos|'''Videos'''|[[{{BASEPAGENAME}}/Videos|Videos]]}}</span> <span style="padding:0 1em;border-left:1px dotted;">{{#ifeq:{{SUBPAGENAME}}|Fan content|'''Fan content'''|[[{{BASEPAGENAME}}/Fan content|Fan content]]}}</span></div></div>{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}||[[Category:{{SUBPAGENAME}}]]}}</includeonly>

Revision as of 22:55, 7 May 2008

A navigation bar that links between each of the various pages related to a song. Include it at the top of the lyrics/tabs/etc. pages related to each song.