Template:BSLfuncinfo: Difference between revisions

and to final row
(applying same method to next row)
(and to final row)
Line 93: Line 93:
{{Pipe}}{{#if:{{{arg7name|}}}| ); |}}}}
{{Pipe}}{{#if:{{{arg7name|}}}| ); |}}}}
|-
|-
|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|}}}|<br />
{{Pipe}}align="center"{{Pipe}}{{{arg1default|}}}|{{#if:{{{arg1name|}}}|
{{Pipe}}align="center"{{Pipe}}{{{arg1default|}}}|{{#if:{{{arg1name|}}}|<br />
{{Pipe}} --|}}|}}<!--
{{Pipe}} --|}}|}}<!--
-->
-->{{#if:{{{arg2default|}}}|<br />
{{#if:{{{arg2default|}}}|
{{Pipe}}align="center"{{Pipe}}{{{arg2default|}}}|{{#if:{{{arg2name|}}}|<br />
{{Pipe}}align="center"{{Pipe}}{{{arg2default|}}}|{{#if:{{{arg2name|}}}|
{{Pipe}} --|}}|}}<!--
{{Pipe}} --|}}|}}<!--
-->
-->{{#if:{{{arg3default|}}}|<br />
{{#if:{{{arg3default|}}}|
{{Pipe}}align="center"{{Pipe}}{{{arg3default|}}}|{{#if:{{{arg3name|}}}|<br />
{{Pipe}}align="center"{{Pipe}}{{{arg3default|}}}|{{#if:{{{arg3name|}}}|
{{Pipe}} --|}}|}}<!--
{{Pipe}} --|}}|}}<!--
-->
-->{{#if:{{{arg4default|}}}|<br />
{{#if:{{{arg4default|}}}|
{{Pipe}}align="center"{{Pipe}}{{{arg4default|}}}|{{#if:{{{arg4name|}}}|<br />
{{Pipe}}align="center"{{Pipe}}{{{arg4default|}}}|{{#if:{{{arg4name|}}}|
{{Pipe}} --|}}|}}<!--
{{Pipe}} --|}}|}}<!--
-->
-->{{#if:{{{arg5default|}}}|<br />
{{#if:{{{arg5default|}}}|
{{Pipe}}align="center"{{Pipe}}{{{arg5default|}}}|{{#if:{{{arg5name|}}}|<br />
{{Pipe}}align="center"{{Pipe}}{{{arg5default|}}}|{{#if:{{{arg5name|}}}|
{{Pipe}} --|}}|}}<!--
{{Pipe}} --|}}|}}<!--
-->
-->{{#if:{{{arg6default|}}}|<br />
{{#if:{{{arg6default|}}}|
{{Pipe}}align="center"{{Pipe}}{{{arg6default|}}}|{{#if:{{{arg6name|}}}|<br />
{{Pipe}}align="center"{{Pipe}}{{{arg6default|}}}|{{#if:{{{arg6name|}}}|
{{Pipe}} --|}}|}}<!--
{{Pipe}} --|}}|}}<!--
-->
-->{{#if:{{{arg7default|}}}|<br />
{{#if:{{{arg7default|}}}|
{{Pipe}}align="center"{{Pipe}}{{{arg7default|}}}|{{#if:{{{arg7name|}}}|<br />
{{Pipe}}align="center"{{Pipe}}{{{arg7default|}}}|{{#if:{{{arg7name|}}}|
{{Pipe}} --|}}|}}<!--
{{Pipe}} --|}}|}}<!--
-->
-->{{#if:{{{arg8default|}}}|<br />
{{#if:{{{arg8default|}}}|
{{Pipe}}align="center"{{Pipe}}{{{arg8default|}}}|{{#if:{{{arg8name|}}}|<br />
{{Pipe}}align="center"{{Pipe}}{{{arg8default|}}}|{{#if:{{{arg8name|}}}|
{{Pipe}} --|}}|}}
{{Pipe}} --|}}|}}
|}</includeonly><noinclude>'''BSLfuncinfo''' allows for standardized listing of BSL functions. Since BSL allows for functions to take up to eight arguments, and each argument can be described here by up to six parameters, this makes '''BSLfuncinfo''' the most complex template on the wiki. However, you'll rarely need to use more than a few of these parameters to describe an average function.
|}</includeonly><noinclude>'''BSLfuncinfo''' allows for standardized listing of BSL functions. Since BSL allows for functions to take up to eight arguments, and each argument can be described here by up to six parameters, this makes '''BSLfuncinfo''' the most complex template on the wiki. However, you'll rarely need to use more than a few of these parameters to describe an average function.