Difference between revisions of "Template:Song Subpage Linker"
Jump to navigation
Jump to search
(I think I've got it...) |
(That looks like it worked -- now for my next trick, drop params) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Params: | Params: | ||
− | * basepage (required) - song title ( | + | * basepage (required) - song title (non-underscored) |
− | + | * subpage (required) - section being linked to (non-underscored) | |
− | * subpage (required) - section being linked to ( | ||
− | |||
{{Song Subpage Linker | {{Song Subpage Linker | ||
Line 20: | Line 18: | ||
<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"> | + | </noinclude><includeonly>{{#ifexist: {{{basepage}}}/{{{subpage}}} | [[{{{basepage}}}/{{{subpage}}}|{{{subpage}}}]] | [{{fullurl:{{{basepage}}}/{{{subpage}}}|action=edit|preload=Template:{{{subpage}}}_Boilerplate}} <span style="color:#CC2200">{{{subpage}}}</span>]}}</includeonly> |
Revision as of 12:41, 11 May 2008
Params:
- basepage (required) - song title (non-underscored)
- subpage (required) - section being linked to (non-underscored)
not a link broken link not a link