Template:BSLfuncinfo: Difference between revisions

default test
(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"|{{#if:{{{arg1default|}}}|{{#if:{{{arg1name|}}}| ...|}}|}} <!-- print "--" if there is an arg in this position and it has no default -->
|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|}}}| ...|}}|}}