User:StDoodle/Function sandbox: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle mNo edit summary |
imported>StDoodle mNo edit summary |
||
Line 2: | Line 2: | ||
<includeonly>'''[[{{{returns}}}]]'''<nowiki></nowiki>{{#if: {{{returns2|}}}| / '''[[{{{returns2}}}]]''' }}<nowiki> </nowiki>'''{{{name}}}('''<nowiki></nowiki>{{#if: {{{parameter1|}}}|{{{parameter1}}}}}{{#if: {{{parameter2|}}}|, {{{parameter2}}}}}{{#if: {{{parameter3|}}}|, {{{parameter3}}}}}{{#if: {{{parameter4|}}}|, {{{parameter4}}}}}{{#if: {{{parameter5|}}}|, {{{parameter5}}}}}<nowiki></nowiki>''')''' | <includeonly>'''[[{{{returns}}}]]'''<nowiki></nowiki>{{#if: {{{returns2|}}}| / '''[[{{{returns2}}}]]''' }}<nowiki> </nowiki>'''{{{name}}}('''<nowiki></nowiki>{{#if: {{{parameter1|}}}|{{{parameter1}}}}}{{#if: {{{parameter2|}}}|, {{{parameter2}}}}}{{#if: {{{parameter3|}}}|, {{{parameter3}}}}}{{#if: {{{parameter4|}}}|, {{{parameter4}}}}}{{#if: {{{parameter5|}}}|, {{{parameter5}}}}}<nowiki></nowiki>''')''' | ||
{{#if: {{{p1desc|}}}|<p>Where {{{parameter1}}} is {{{p1desc}}}</p>}} | {{#if: {{{p1desc|}}}|<p>Where {{{parameter1}}} is {{{p1desc}}}</p>}} | ||
{{#if: {{{description|}}}|<p>{{{description}}}</p>}} | {{#if: {{{description|}}}|<p>{{{description}}}</p>}} | ||
</includeonly> | </includeonly> |
Revision as of 21:23, 24 February 2010
This is the template to display a line of function information (for the function page template, see "Template:FunctionPage"). Supply the function name, the data type of the value it returns, and what, if any, parameters it takes.