User:StDoodle/FunctionPage sandbox: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle mNo edit summary |
imported>StDoodle mNo edit summary |
||
Line 80: | Line 80: | ||
{{#if: {{{code1|}}}|{{{code1}}}}}{{#if: {{{code2|}}}|{{{code2}}}}}{{#if: {{{code3|}}}|{{{code3}}}}}{{#if: {{{code5|}}}|{{{code4}}}}}{{#if: {{{code5|}}}|{{{code5}}}}} | {{#if: {{{code1|}}}|{{{code1}}}}}{{#if: {{{code2|}}}|{{{code2}}}}}{{#if: {{{code3|}}}|{{{code3}}}}}{{#if: {{{code5|}}}|{{{code4}}}}}{{#if: {{{code5|}}}|{{{code5}}}}} | ||
{{#if: {{{as_method|}}}|<p>This function can also be called as a method; to call as such on variable ''foo,'' type "foo.{{{as_method}}}".</p>}} | {{#if: {{{as_method|}}}|==As Method==<p>This function can also be called as a method; to call as such on variable ''foo,'' type "foo.{{{as_method}}}".</p>}} | ||
{{#if: {{{cli_equiv|}}}|{{{cli_equiv|}}}}} | {{#if: {{{cli_equiv|}}}|{{{cli_equiv|}}}}} | ||
{{#if: {{{see_also|}}}|{{{see_also|}}}}} | {{#if: {{{see_also|}}}|{{{see_also|}}}}} |
Revision as of 08:37, 25 February 2010
This is template for a function page (for just a function line, see "Template:Function").
{{User:StDoodle/FunctionPage_sandbox | page_name=test_function | function1_return_type=DATATYPE | function1_returns_also=SECONDARY_DATAYPE_OR_DELETE | function1_parameter1={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function1_parameter1_desc= DESCRIPTION_OF_PARAM | function1_parameter2={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function1_parameter2_desc= DESCRIPTION_OF_PARAM | function1_parameter3={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function1_parameter3_desc= DESCRIPTION_OF_PARAM | function1_parameter4={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function1_parameter4_desc= DESCRIPTION_OF_PARAM | function1_parameter5={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function1_parameter5_desc= DESCRIPTION_OF_PARAM | function2_return_type=DATATYPE | function2_returns_also=SECONDARY_DATAYPE_OR_DELETE | function2_parameter1={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function2_parameter1_desc= DESCRIPTION_OF_PARAM | function2_parameter2={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function2_parameter2_desc= DESCRIPTION_OF_PARAM | function2_parameter3={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function2_parameter3_desc= DESCRIPTION_OF_PARAM | function2_parameter4={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function2_parameter4_desc= DESCRIPTION_OF_PARAM | function2_parameter5={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function2_parameter5_desc= DESCRIPTION_OF_PARAM | function3_return_type=DATATYPE | function3_returns_also=SECONDARY_DATAYPE_OR_DELETE | function3_parameter1={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function3_parameter1_desc= DESCRIPTION_OF_PARAM | function3_parameter2={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function3_parameter2_desc= DESCRIPTION_OF_PARAM | function3_parameter3={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function3_parameter3_desc= DESCRIPTION_OF_PARAM | function3_parameter4={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function3_parameter4_desc= DESCRIPTION_OF_PARAM | function3_parameter5={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function3_parameter5_desc= DESCRIPTION_OF_PARAM | function4_return_type=DATATYPE | function4_returns_also=SECONDARY_DATAYPE_OR_DELETE | function4_parameter1={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function4_parameter1_desc= DESCRIPTION_OF_PARAM | function4_parameter2={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function4_parameter2_desc= DESCRIPTION_OF_PARAM | function4_parameter3={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function4_parameter3_desc= DESCRIPTION_OF_PARAM | function4_parameter4={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function4_parameter4_desc= DESCRIPTION_OF_PARAM | function4_parameter5={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function4_parameter5_desc= DESCRIPTION_OF_PARAM | function5_return_type=DATATYPE | function5_returns_also=SECONDARY_DATAYPE_OR_DELETE | function5_parameter1={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function5_parameter1_desc= DESCRIPTION_OF_PARAM | function5_parameter2={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function5_parameter2_desc= DESCRIPTION_OF_PARAM | function5_parameter3={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function5_parameter3_desc= DESCRIPTION_OF_PARAM | function5_parameter4={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function5_parameter4_desc= DESCRIPTION_OF_PARAM | function5_parameter5={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} | function5_parameter5_desc= DESCRIPTION_OF_PARAM | function_description=DESCRIPTION_OF_FUNCTION | code1={{User:StDoodle/Code_sandbox | title=CODE EXAMPLE TITLE | description=DESCRIPTION OF CODE | code= <syntaxhighlight lang="c"> CODE GOES HERE </syntaxhighlight>}} }}