Difference between revisions of "Template:Song Subpage Linker"

From JoCopedia
Jump to navigation Jump to search
(missed a brace)
(I think I've got it...)
Line 18: Line 18:
 
|basepage=I'm a Mason Now
 
|basepage=I'm a Mason Now
 
|subpage=Lyrics}}
 
|subpage=Lyrics}}
 
[[{{localurl:I'm a Mason Now}}]]
 
  
 
<span style="color:#CC2200">not a link</span> [[broken link]] <span style="color:#CC2200">not a link</span>
 
<span style="color:#CC2200">not a link</span> [[broken link]] <span style="color:#CC2200">not a link</span>
</noinclude><includeonly>{{#ifexist: {{{basepage}}}/{{{subpage}}} | [[{{{basepage}}}/{{{subpage}}}|{{{subpage}}}]] | [{{fullurl:{{{basepage}}}/{{{subpage}}}|action=edit|preload=Template:{{{subpage}}}_Boilerplate}} <span style="color:#CC2200">{{#if: {{{subpagen|}}} | {{{subpagen}}} | {{{subpage}}}}}</span>]}} {{localurl:{{{basepage}}}}}</includeonly>
+
</noinclude><includeonly>{{#ifexist: {{{basepage}}}/{{{subpage}}} | [[{{{basepage}}}/{{{subpage}}}|{{{subpage}}}]] | [{{fullurl:{{{basepage}}}/{{{subpage}}}|action=edit|preload=Template:{{{subpage}}}_Boilerplate}} <span style="color:#CC2200">{{#if: {{{subpagen|}}} | {{{subpagen}}} | {{{subpage}}}}}</span>]}}</includeonly>

Revision as of 12:38, 11 May 2008

Params:

  • basepage (required) - song title (underscored)
  • basepage (required) - song title (not-underscored)
  • subpage (required) - section being linked to (underscored)
  • subpagen (optional) - nice (no-underscored) version of subpage

Videos Videos Lyrics Lyrics

not a link broken link not a link