Difference between revisions of "Template tests"

From Wikibase Personal data
Jump to navigation Jump to search
Line 11: Line 11:
 
=Scribunto=
 
=Scribunto=
  
This should not display code: {{#invoke:Bananas|hello}}
+
This *should not* display code: {{#invoke:Bananas|hello}}
 +
 
 +
(attempting to follow instructions [https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Getting_started here], with [[Module:Bananas]] already created normally)

Revision as of 15:17, 8 March 2019

This is a Text template.

This is a Test template.

ParserFunctions

Templating through ParserFunctions works if this *does not* display code, only text (both options show the 'if' is processed):


Scribunto

This *should not* display code: Script error: No such module "Bananas".

(attempting to follow instructions here, with Module:Bananas already created normally)