Difference between revisions of "Template:Song Subpage Linker"
Jump to navigation
Jump to search
(SzITTcIlsAtdtW) |
(Undo revision 15287 by 190.69.86.234 (talk)) |
||
Line 1: | Line 1: | ||
− | + | <noinclude> | |
+ | Params: | ||
+ | * basepage (required) - song title (non-underscored) | ||
+ | * subpage (required) - section being linked to (non-underscored) | ||
+ | |||
+ | {{Song Subpage Linker | ||
+ | | basepage=Test Page | ||
+ | | subpage=Videos}} | ||
+ | |||
+ | {{Song Subpage Linker | ||
+ | |basepage=Code Monkey | ||
+ | |subpage=Videos}} | ||
+ | |||
+ | {{Song Subpage Linker | ||
+ | |basepage=I'm a Mason Now | ||
+ | |subpage=Lyrics}} | ||
+ | |||
+ | <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:{{anchorencode:{{{subpage}}}}}_Boilerplate}} <span style="color:#CC2200">{{{subpage}}}</span>]}}</includeonly> |
Revision as of 22:00, 13 August 2011
Params:
- basepage (required) - song title (non-underscored)
- subpage (required) - section being linked to (non-underscored)
not a link broken link not a link