Difference between revisions of "Template:Song Subpage Linker"

From JoCopedia
Jump to navigation Jump to search
m (formatting)
m (Reverted edits by JoCopedia is raped by MarioMario456's 6-inch cock! (talk) to last revision by Apollo)
Tags: Replaced Rollback
 
(27 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=Code_Monkey
+
|basepage=Code Monkey
 
|subpage=Videos}}
 
|subpage=Videos}}
</noinclude>
+
 
<includeonly>
+
{{Song Subpage Linker
{{ #ifexist {{basepage}}/{{subpage}} | [[{{basepage}}/{{subpage}} | <font color=red>[http://www.jonathancoulton.com/wiki/index.php?title={{basepage}}/{{subpage}}&action=edit&preload=Template:{{subpage}}_Boilerplate {{subpage}}]</font>}}</includeonly>
+
|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)

Videos

Videos

Lyrics

not a link broken link not a link