Difference between revisions of "Template:Song Subpage Linker"
Jump to navigation
Jump to search
(hm? again) |
|||
Line 14: | Line 14: | ||
{{Song Subpage Linker | {{Song Subpage Linker | ||
|basepage=I%27m_a_Mason_Now | |basepage=I%27m_a_Mason_Now | ||
+ | |subpage=Lyrics}} | ||
+ | {{Song Subpage Linker | ||
+ | |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}}}]] | | + | </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> |
Revision as of 12:36, 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
https://wiki.jonathancoulton.com/index.php?title=Test_Page/Videos&action=edit Videos] /Test_Page Videos /Code_Monkey https://wiki.jonathancoulton.com/index.php?title=I%27m_a_Mason_Now/Lyrics&action=edit Lyrics] /I%27m_a_Mason_Now Lyrics /I%27m_a_Mason_Now
not a link broken link not a link