Template:Test: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
No edit summary
(temporary code to test PageLang support in lua modules)
Line 1: Line 1:
{{#invoke:PageContentLanguage|main|lang={{{lang|{{#var:PageLang}} }}} }}<noinclude>
[[Plugin:{{{1}}}{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}} |  | /{{SUBPAGENAME}}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]
[[Plugin:{{{1}}}{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}} |  | /{{SUBPAGENAME}}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]
{{#if: {{#expr: {{{1|}}} or {{{2|}}} }} | one ({{{1}}}) or two {{{2}}} | not one ({{{1}}}) nor two {{{2}}} }}
{{#if: {{#expr: {{{1|}}} or {{{2|}}} }} | one ({{{1}}}) or two {{{2}}} | not one ({{{1}}}) nor two {{{2}}} }}
Line 7: Line 8:


pluginName: {{#var:pluginName}}
pluginName: {{#var:pluginName}}
</noinclude>

Revision as of 22:15, 30 November 2015

Lua error in Module:PageContentLanguage at line 12: attempt to concatenate local 'lang' (a nil value). [[Plugin:{{{1}}}|{{{1}}}]] one ({{{1}}}) or two {{{2}}} Test+Test=Test



pluginName: test