Modulo:mchkparametrojn: Malsamoj inter versioj

Enhavo forigita Enhavo aldonita
Taylor 49 (diskuto | kontribuoj)
plibonigita versio
Taylor 49 (diskuto | kontribuoj)
-kosmetikaj cimoj
Linio 29:
Note that with both WIKI and LUA empty strings and parameters are valid
and different from nonexistent strings and parameters. In practise
however empty parameters are rarely useful., Thereforetherefore the default
behavior is to disallow them.
 
Cannot be used to ensure that ZERO parameters have been submitted,
but this can be done by a simple "#if"-statement.:
 
Ne estas uzebla por certigi ke NUL parametroj estis havigitaj,
sed tio estas farebla per simpla "#if"-ordono.:
 
<!--#protekto-->{{#if:<!--o-->{{{1|}}}|<!--then-->{{er
aroplendu|contoh}}[[Kategorio:Erara uzo de con
gorio:Erara uzo de contohtoh]]<!--+o-->}}<!--endif--><!--protekto#kerno-->"
 
This module is unbreakable (when called with correct module name
Linio 52 ⟶ 56:
"{{#invoke:mchkparametrojn|ek|0|1}}"
 
"<!--#protekto-->{{#ifeq:<!--+o-->{{#invoke:mchkparametrmchkparamet
ojnrojn|ek|1|1}}|<!--equal-->01<!--+o-->|<!--then-->{{eraroplendu|contoh}}[[Kateth
en--><!--nop-->|<!--else-->{{eraroplendu|contoh}}[[Kategorio:Er
gorio:Erara uzo de contoh]]<!--+-->}}<!--endif--><!--protekto#kerno-->"
ara uzo de contoh]]<!--o-->}}<!--endif--><!--protekto#kerno-->"
 
]===]