Difference between revisions of "Template:Song Subpage Linker"

From JoCopedia
Jump to navigation Jump to search
(No idea if this'll work)
 
m (Reverted edits by JoCopedia is raped by MarioMario456's 6-inch cock! (talk) to last revision by Apollo)
Tags: Replaced Rollback
 
(28 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>{{Song Subpage Linker | basepage=Test | subpage=Videos}}
+
<noinclude>
 +
Params:
 +
* basepage (required) - song title (non-underscored)
 +
* subpage (required) - section being linked to (non-underscored)
  
{{Song Subpage Linker | basepage=Code_Monkey | subpage=Videos}}</noinclude>
+
{{Song Subpage Linker
<includeonly>
+
| basepage=Test Page
{{ #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>
+
| 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><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