Difference between revisions of "Template:SongNav"

From JoCopedia
Jump to navigation Jump to search
(Undo revision 64185 by JoCo (talk))
Tag: Undo
 
Line 10: Line 10:
 
<span style="padding:0 1em;border-left:1px dotted;">{{#ifeq:{{SUBPAGENAME}}|Other media|'''Other media'''|{{Song Subpage Linker | basepage={{BASEPAGENAME}} | subpage = Other media}}}}</span>
 
<span style="padding:0 1em;border-left:1px dotted;">{{#ifeq:{{SUBPAGENAME}}|Other media|'''Other media'''|{{Song Subpage Linker | basepage={{BASEPAGENAME}} | subpage = Other media}}}}</span>
 
</div></div>
 
</div></div>
{{#ifeq:{{{cat}}}|no| | {{#ifeq:{{SUBPAGENAME}}|Tabs||[[Category:{{SUBPAGENAME}}]]}}}}
+
{{#ifeq:{{{cat}}}|no| | {{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}||[[Category:{{SUBPAGENAME}}]]}}}}
 
</includeonly>
 
</includeonly>

Latest revision as of 11:05, 18 October 2021

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. If the destination page should not be categorized (e.g. a tabs page with no tabs), use parameter cat=no.