Difference between revisions of "Template talk:Extension"
From Organic Design wiki
(wasn't pre) |
m |
||
| Line 18: | Line 18: | ||
I couldn't find it, but thought it might be the variable assignment. Did you see the parse error caused by the [http://www.organicdesign.co.nz/wiki/index.php?title=Template%3AExtension&diff=69732&oldid=69722 <pre>] syntax? -[[User:Sven|Sven]] 23:26, 7 May 2007 (NZST) | I couldn't find it, but thought it might be the variable assignment. Did you see the parse error caused by the [http://www.organicdesign.co.nz/wiki/index.php?title=Template%3AExtension&diff=69732&oldid=69722 <pre>] syntax? -[[User:Sven|Sven]] 23:26, 7 May 2007 (NZST) | ||
:Already fixed - check changes - you must not have error reporting on properly or something for it not to have showed you the error and line number --[[User:Nad|Nad]] 23:42, 7 May 2007 (NZST) | :Already fixed - check changes - you must not have error reporting on properly or something for it not to have showed you the error and line number --[[User:Nad|Nad]] 23:42, 7 May 2007 (NZST) | ||
| − | : | + | :also, it wasn't the [http://www.organicdesign.co.nz/wiki/index.php?title=Template:Extension&curid=9182&diff=69742&oldid=69734 pre syntax] it was [http://www.organicdesign.co.nz/wiki/index.php?title=Template:Extension&curid=9182&diff=69734&oldid=69732 this] --[[User:Nad|Nad]] 23:44, 7 May 2007 (NZST) |
Revision as of 11:45, 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 caused by the <pre> syntax? -Sven 23:26, 7 May 2007 (NZST)
- Already fixed - check changes - you must not have error reporting on properly or something for it not to have showed you the error and line number --Nad 23:42, 7 May 2007 (NZST)
- also, it wasn't the pre syntax it was this --Nad 23:44, 7 May 2007 (NZST)



