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

From Kolmafia
(Difference between pages)
Jump to navigation Jump to search
imported>Bale
 
imported>Heeheehee
m (Maybe this?)
 
Line 1: Line 1:
So here's my two questions:
+
<includeonly><span class="plainlinks">[http://kol.coldfront.net/thekolwiki/{{pagename:{{{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>
You're correct about nested imports. I attempted to answer your second question in my edit. Commands not in functions ARE executed in imported scripts. --[[User:Bale|Bale]] 20:43, 28 June 2010 (UTC)
 

Revision as of 20:23, 25 July 2010

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