Difference between revisions of "Template:Kolwiki"

From Kolmafia
Jump to navigation Jump to search
imported>Heeheehee
m (Reverted edits by Heeheehee (Talk) to last revision by Bale)
imported>Heeheehee
m (Test that I doubt will work.)
Line 1: Line 1:
<includeonly><span class="plainlinks">[http://kol.coldfront.net/thekolwiki{{localurl:{{{1}}}}} {{{2|{{{1}}}}}}]</span></includeonly><noinclude>
+
<includeonly><span class="plainlinks">[http://kol.coldfront.net/thekolwiki{{localurl:{{{1}}}{{#if:{{{3}}}|{{{{!}}anchorencode:{{{3}}}}}}}}} {{{2|{{{1}}}}}}]</span></includeonly><noinclude>
 
Provides a link to the KolWiki. If there's a second parameter, it is used as the name of the link.  
 
Provides a link to the KolWiki. If there's a second parameter, it is used as the name of the link.  
  
 
* <code><nowiki>{{kolwiki|Lamz0r N00b}}</nowiki></code> produces this link: {{kolwiki|Lamz0r N00b}}.  
 
* <code><nowiki>{{kolwiki|Lamz0r N00b}}</nowiki></code> produces this link: {{kolwiki|Lamz0r N00b}}.  
 
* <code><nowiki>{{kolwiki|The Valley Beyond The Orc Chasm|Orc Chasm}}</nowiki></code> produces this link: {{kolwiki|The Valley Beyond The Orc Chasm|Orc Chasm}}.
 
* <code><nowiki>{{kolwiki|The Valley Beyond The Orc Chasm|Orc Chasm}}</nowiki></code> produces this link: {{kolwiki|The Valley Beyond The Orc Chasm|Orc Chasm}}.
 +
* <code><nowiki>{{kolwiki|Bad Moon|Bad Moon|Special Adventures}}</nowiki></code> produces this link: {{kolwiki|Bad Moon|Bad Moon|Special Adventures}}.
  
 
[[Category:Basic Templates]]
 
[[Category:Basic Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 20:32, 25 July 2010

Provides a link to the KolWiki. If there's a second parameter, it is used as the name of the link.