Difference between pages "Talk:Import" and "Template:Kolwiki"

From Kolmafia
(Difference between pages)
Jump to navigation Jump to search
imported>PhilmASTErpLus
(How do main() and nested imports work?)
 
imported>Heeheehee
m (Reverted edits by Heeheehee (Talk) to last revision by Bale)
 
Line 1: Line 1:
So here's my two questions:
+
<includeonly><span class="plainlinks">[http://kol.coldfront.net/thekolwiki{{localurl:{{{1}}}}} {{{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.
  
* From my experience, nested imports and repeated imports do NOT cause function or variable collisions. Is this correct for all cases?
+
* <code><nowiki>{{kolwiki|Lamz0r N00b}}</nowiki></code> produces this link: {{kolwiki|Lamz0r N00b}}.  
* The <code>main()</code> function from any imported script is ignored. Not sure how it works for a main-less top level script, though.
+
* <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}}.
  
--[[User:PhilmASTErpLus|PhilmASTErpLus]] 17:36, 28 June 2010 (UTC)
+
[[Category:Basic Templates]]
 +
</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.

  • {{kolwiki|Lamz0r N00b}} produces this link: Lamz0r N00b.
  • {{kolwiki|The Valley Beyond The Orc Chasm|Orc Chasm}} produces this link: Orc Chasm.