18,700
edits
(escaping a newline) |
(so, *don't* escape newlines, because the newline after an #if's '|' is already being ignored) |
||
Line 2: | Line 2: | ||
{| class="BSLFuncInfo" | {| class="BSLFuncInfo" | ||
|- | |- | ||
|{{{type|}}} | |{{{type|}}} | ||
{{#if:{{{arg1name|}}}| | |||
{{Pipe}}align="center"{{Pipe}}{{{arg1type|}}} {{#if:{{{arg1alttype|}}}|<u>or</u> {{{arg1alttype|}}}}}| | {{Pipe}}align="center"{{Pipe}}{{{arg1type|}}} {{#if:{{{arg1alttype|}}}|<u>or</u> {{{arg1alttype|}}}}}| | ||
{{Pipe}}[[{{{name}}}|[edit]]]}} | {{Pipe}}[[{{{name}}}|[edit]]]}} | ||
|- | |- | ||
|'''{{{name}}}(''' | |'''{{{name}}}(''' | ||
{{#if:{{{arg1name|}}}|<!-- if this arg exists... --> | |||
{{Pipe}}align="center"{{Pipe}}'''<!-- create a cell, then... | {{Pipe}}align="center"{{Pipe}}'''<!-- create a cell, then... | ||
-->{{#if:{{{arg1optional|}}}|''|}}<!-- start italics if optional arg | -->{{#if:{{{arg1optional|}}}|''|}}<!-- start italics if optional arg | ||
Line 17: | Line 17: | ||
{{Pipe}} );}} | {{Pipe}} );}} | ||
|- | |- | ||
|default: {{#if:{{{default|}}}|{{{default|}}}| --}}<!-- print "--" if there is no default return value for function | |default: {{#if:{{{default|}}}|{{{default|}}}| --}}<!-- print "--" if there is no default return value for function --> | ||
-->{{#if:{{{arg1default|}}}| | {{#if:{{{arg1default|}}}| | ||
{{Pipe}}align="center"{{Pipe}}{{{arg1default|}}}|{{#if:{{{arg1name|}}}| | {{Pipe}}align="center"{{Pipe}}{{{arg1default|}}}|{{#if:{{{arg1name|}}}| | ||
{{Pipe}} --|}}|}} | {{Pipe}} --|}}|}} |