Difference between revisions of "Template tests"
Jump to navigation
Jump to search
| Line 2: | Line 2: | ||
{{Test}} | {{Test}} | ||
| + | |||
| + | =ParserFunctions= | ||
Templating through ParserFunctions works if this *does not* display code, only text (both options show the 'if' is processed): | Templating through ParserFunctions works if this *does not* display code, only text (both options show the 'if' is processed): | ||
{{#if: 1 || It works! | It works! }} | {{#if: 1 || It works! | It works! }} | ||
| + | |||
| + | =Scribunto= | ||
Revision as of 15:14, 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):