18,700
edits
(trying to get arg defaults to show default string) |
(default test) |
||
Line 41: | Line 41: | ||
|default: | |default: | ||
| {{#if:{{{default|}}} |{{{default|}}}| ...}} <!-- print "--" if there is no default return value for function --> | | {{#if:{{{default|}}} |{{{default|}}}| ...}} <!-- print "--" if there is no default return value for function --> | ||
|align="center" | |align="center"|... <!-- print "--" if there is an arg in this position and it has no default --> | ||
|align="center"|{{#if:{{{arg2default|}}}|{{#if:{{{arg2name|}}}| ...|}}|}} | |align="center"|{{#if:{{{arg2default|}}}|{{#if:{{{arg2name|}}}| ...|}}|}} | ||
|align="center"|{{#if:{{{arg3default|}}}|{{#if:{{{arg3name|}}}| ...|}}|}} | |align="center"|{{#if:{{{arg3default|}}}|{{#if:{{{arg3name|}}}| ...|}}|}} |