Difference between revisions of "Template talk:Extension"

From Organic Design wiki
(Bah)
Line 14: Line 14:
 
;isHTML  
 
;isHTML  
 
:The returned text is HTML, armour it against wikitext transformation
 
:The returned text is HTML, armour it against wikitext transformation
 +
 +
==Bug==
 +
I couldn't find it, but thought it might be the variable assignment. ? Did you see the parse error of [http://www.organicdesign.co.nz/wiki/index.php?title=Template%3AExtension&diff=69732&oldid=69722 <pre>] syntax? -~~~~

Revision as of 11:26, 7 May 2007

Example usage

Parser-function return value

The callback may either return the text result of the function, or an array with the text in element 0, and a number of flags in the other elements. The names of the flags are specified in the keys. Valid flags are (see Extending wiki markup for details)

found
The text returned is valid, stop processing the template. This is on by default.
nowiki
Wiki markup in the return value should be escaped
noparse
Unsafe HTML tags should not be stripped, etc.
noargs
Don't replace triple-brace arguments in the return value
isHTML
The returned text is HTML, armour it against wikitext transformation

Bug

I couldn't find it, but thought it might be the variable assignment. ? Did you see the parse error of

 syntax? -~~~~