Difference between revisions of "Template:Song Subpage Linker"
Jump to navigation
Jump to search
(preload not working -- maybe this'll do it) |
(what a cheap hack, seems to work) |
||
Line 16: | Line 16: | ||
|basepage=I'm a Mason Now | |basepage=I'm a Mason Now | ||
|subpage=Lyrics}} | |subpage=Lyrics}} | ||
+ | |||
+ | {{anchorencode:Other media}} | ||
<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">{{{subpage}}}</span>]}}</includeonly> | + | </noinclude><includeonly>{{#ifexist: {{{basepage}}}/{{{subpage}}} | [[{{{basepage}}}/{{{subpage}}}|{{{subpage}}}]] | [{{fullurl:{{{basepage}}}/{{{subpage}}}|action=edit&preload=Template:{{anchorencode:{{{subpage}}}}}_Boilerplate}} <span style="color:#CC2200">{{{subpage}}}</span>]}}</includeonly> |
Revision as of 12:45, 11 May 2008
Params:
- basepage (required) - song title (non-underscored)
- subpage (required) - section being linked to (non-underscored)
Other_media
not a link broken link not a link