Jump to content

Template:BSLfuncinfo: Difference between revisions

we have to escape the newlines or they pile up; create newlines inside the #ifs using the break tag?
(restoring all arguments, without escaping newlines this time)
(we have to escape the newlines or they pile up; create newlines inside the #ifs using the break tag?)
Line 2: Line 2:
{| class="BSLFuncInfo"
{| class="BSLFuncInfo"
|-
|-
|{{{type|}}}
|{{{type|}}}<!--
{{#if:{{{arg1name|}}}|
-->{{#if:{{{arg1name|}}}|<br />
{{Pipe}}align="center"{{Pipe}}{{{arg1type|}}} {{#if:{{{arg1alttype|}}}|<u>or</u> {{{arg1alttype|}}}}}|
{{Pipe}}align="center"{{Pipe}}{{{arg1type|}}} {{#if:{{{arg1alttype|}}}|<u>or</u> {{{arg1alttype|}}}}}|<br />
{{Pipe}}[[{{{name}}}|[edit]]]}}
{{Pipe}}[[{{{name}}}|[edit]]]}}<!--
{{#if:{{{arg2name|}}}|
-->{{#if:{{{arg2name|}}}|<br />
{{Pipe}}align="center"{{Pipe}}{{{arg2type|}}} {{#if:{{{arg2alttype|}}}|<u>or</u> {{{arg2alttype|}}}}}|{{#if:{{{arg1name|}}}|
{{Pipe}}align="center"{{Pipe}}{{{arg2type|}}} {{#if:{{{arg2alttype|}}}|<u>or</u> {{{arg2alttype|}}}}}|{{#if:{{{arg1name|}}}|<br />
{{Pipe}}[[{{{name}}}|[edit]]]}}|}}
{{Pipe}}[[{{{name}}}|[edit]]]}}|}}<!--
{{#if:{{{arg3name|}}}|
-->{{#if:{{{arg3name|}}}|<br />
{{Pipe}}align="center"{{Pipe}}{{{arg3type|}}} {{#if:{{{arg3alttype|}}}|<u>or</u> {{{arg3alttype|}}}}}|{{#if:{{{arg2name|}}}|
{{Pipe}}align="center"{{Pipe}}{{{arg3type|}}} {{#if:{{{arg3alttype|}}}|<u>or</u> {{{arg3alttype|}}}}}|{{#if:{{{arg2name|}}}|<br />
{{Pipe}}[[{{{name}}}|[edit]]]}}|}}
{{Pipe}}[[{{{name}}}|[edit]]]}}|}}<!--
{{#if:{{{arg4name|}}}|
-->{{#if:{{{arg4name|}}}|<br />
{{Pipe}}align="center"{{Pipe}}{{{arg4type|}}} {{#if:{{{arg4alttype|}}}|<u>or</u> {{{arg4alttype|}}}}}|{{#if:{{{arg3name|}}}|
{{Pipe}}align="center"{{Pipe}}{{{arg4type|}}} {{#if:{{{arg4alttype|}}}|<u>or</u> {{{arg4alttype|}}}}}|{{#if:{{{arg3name|}}}|<br />
{{Pipe}}[[{{{name}}}|[edit]]]}}|}}
{{Pipe}}[[{{{name}}}|[edit]]]}}|}}<!--
{{#if:{{{arg5name|}}}|
-->{{#if:{{{arg5name|}}}|<br />
{{Pipe}}align="center"{{Pipe}}{{{arg5type|}}} {{#if:{{{arg5alttype|}}}|<u>or</u> {{{arg5alttype|}}}}}|{{#if:{{{arg4name|}}}|
{{Pipe}}align="center"{{Pipe}}{{{arg5type|}}} {{#if:{{{arg5alttype|}}}|<u>or</u> {{{arg5alttype|}}}}}|{{#if:{{{arg4name|}}}|<br />
{{Pipe}}[[{{{name}}}|[edit]]]}}|}}
{{Pipe}}[[{{{name}}}|[edit]]]}}|}}<!--
{{#if:{{{arg6name|}}}|
-->{{#if:{{{arg6name|}}}|<br />
{{Pipe}}align="center"{{Pipe}}{{{arg6type|}}} {{#if:{{{arg6alttype|}}}|<u>or</u> {{{arg6alttype|}}}}}|{{#if:{{{arg5name|}}}|
{{Pipe}}align="center"{{Pipe}}{{{arg6type|}}} {{#if:{{{arg6alttype|}}}|<u>or</u> {{{arg6alttype|}}}}}|{{#if:{{{arg5name|}}}|<br />
{{Pipe}}[[{{{name}}}|[edit]]]}}|}}
{{Pipe}}[[{{{name}}}|[edit]]]}}|}}<!--
{{#if:{{{arg7name|}}}|
-->{{#if:{{{arg7name|}}}|<br />
{{Pipe}}align="center"{{Pipe}}{{{arg7type|}}} {{#if:{{{arg7alttype|}}}|<u>or</u> {{{arg7alttype|}}}}}|{{#if:{{{arg6name|}}}|
{{Pipe}}align="center"{{Pipe}}{{{arg7type|}}} {{#if:{{{arg7alttype|}}}|<u>or</u> {{{arg7alttype|}}}}}|{{#if:{{{arg6name|}}}|<br />
{{Pipe}}[[{{{name}}}|[edit]]]}}|}}
{{Pipe}}[[{{{name}}}|[edit]]]}}|}}<!--
{{#if:{{{arg8name|}}}|
-->{{#if:{{{arg8name|}}}|<br />
{{Pipe}}align="center"{{Pipe}}{{{arg8type|}}} {{#if:{{{arg8alttype|}}}|<u>or</u> {{{arg8alttype|}}}}}|{{#if:{{{arg7name|}}}|
{{Pipe}}align="center"{{Pipe}}{{{arg8type|}}} {{#if:{{{arg8alttype|}}}|<u>or</u> {{{arg8alttype|}}}}}|{{#if:{{{arg7name|}}}|<br />
{{Pipe}}[[{{{name}}}|[edit]]]}}|}}
{{Pipe}}[[{{{name}}}|[edit]]]}}|}}
|-
|-