Difference between revisions of "Template:Song Subpage Linker"
Jump to navigation
Jump to search
m (oh, that's tricky, if this works -- thanks, Professor Google!) |
m (Reverted edits by JoCopedia is raped by MarioMario456's 6-inch cock! (talk) to last revision by Apollo) Tags: Replaced Rollback |
||
(23 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Song Subpage Linker | + | <noinclude> |
− | | basepage=Test | + | Params: |
+ | * basepage (required) - song title (non-underscored) | ||
+ | * subpage (required) - section being linked to (non-underscored) | ||
+ | |||
+ | {{Song Subpage Linker | ||
+ | | basepage=Test Page | ||
| subpage=Videos}} | | subpage=Videos}} | ||
{{Song Subpage Linker | {{Song Subpage Linker | ||
− | |basepage= | + | |basepage=Code Monkey |
|subpage=Videos}} | |subpage=Videos}} | ||
− | </noinclude> | + | |
− | <includeonly>{{#ifexist: {{{basepage}}}/{{{subpage}}} | [[{{{basepage}}}/{{{subpage}}}|{{{subpage}}}]] | [ | + | {{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><span class="plainlinks"> {{#ifexist: {{{basepage}}}/{{{subpage}}} | [[{{{basepage}}}/{{{subpage}}}|{{{subpage}}}]] | [{{fullurl:{{{basepage}}}/{{{subpage}}}|action=edit&preload=Template:{{anchorencode:{{{subpage}}}}}_Boilerplate}} <span style="color:#CC2200">{{{subpage}}}</span>]}}</span></includeonly> |
Latest revision as of 09:51, 18 October 2021
Params:
- basepage (required) - song title (non-underscored)
- subpage (required) - section being linked to (non-underscored)
not a link broken link not a link