Template:BSLfuncinfo: Difference between revisions

trying to get arg defaults to show default string
m (removing error check; it will be too complex to check all parameters against each other)
(trying to get arg defaults to show default string)
Line 40: Line 40:
|-
|-
|default:
|default:
|{{#if:{{{default|}}}|{{{default|}}}| ...}}
|               {{#if:{{{default|}}}   |{{{default|}}}| ...}}           <!-- print "--" if there is no default return value for function -->
|align="center"|{{{arg1default|{{#if:{{{arg1name|}}}| ...|}} }}}
|align="center"|{{#if:{{{arg1default|}}}|{{#if:{{{arg1name|}}}| ...|}}|}} <!-- print "--" if there is an arg in this position and it has no default -->
|align="center"|{{{arg2default|{{#if:{{{arg2name|}}}| ...|}} }}}
|align="center"|{{#if:{{{arg2default|}}}|{{#if:{{{arg2name|}}}| ...|}}|}}
|align="center"|{{{arg3default|{{#if:{{{arg3name|}}}| ...|}} }}}
|align="center"|{{#if:{{{arg3default|}}}|{{#if:{{{arg3name|}}}| ...|}}|}}
|align="center"|{{{arg4default|{{#if:{{{arg4name|}}}| ...|}} }}}
|align="center"|{{#if:{{{arg4default|}}}|{{#if:{{{arg4name|}}}| ...|}}|}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>