Difference between revisions of "Template:Song Subpage Linker"

From JoCopedia
Jump to navigation Jump to search
m (Reverted edits by JoCopedia is raped by MarioMario456's 6-inch cock! (talk) to last revision by Apollo)
Tags: Replaced Rollback
 
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
Params:
 
Params:
* basepage (required) - song title (underscored)
+
* basepage (required) - song title (non-underscored)
* subpage (required) - section being linked to (underscored)
+
* subpage (required) - section being linked to (non-underscored)
* subpagen (optional) - nice (no-underscored) version of subpage
 
  
 
{{Song Subpage Linker
 
{{Song Subpage Linker
| basepage=Test
+
| basepage=Test Page
 
| subpage=Videos}}
 
| subpage=Videos}}
 +
 
{{Song Subpage Linker
 
{{Song Subpage Linker
|basepage=Code_Monkey
+
|basepage=Code Monkey
 
|subpage=Videos}}
 
|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>
 
<span style="color:#CC2200">not a link</span> [[broken link]] <span style="color:#CC2200">not a link</span>
</noinclude>
+
</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>
<includeonly>{{#ifexist: {{{basepage}}}/{{{subpage}}} | [[{{{basepage}}}/{{{subpage}}}|{{{subpage}}}]] | [http://www.jonathancoulton.com/wiki/index.php?title={{{basepage}}}/{{{subpage}}}&action=edit&preload=Template:{{{subpage}}}_Boilerplate <span style="color:#CC2200">{{#if: {{{subpagen|}}} | {{{subpagen}}} {{{subpage}}}</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