|
|
Line 1: |
Line 1: |
| <includeonly>{{#ifexist:{{{1|}}} | | <includeonly>{{#ifexist:{{{1|}}} |
| |{{#if:{{User:Philmasterplus/Data|{{{1|}}}|function1.return_type|}} | | |{{ |
| |<div>{{User:Philmasterplus/FunctionDeclaration
| | #if:{{data|{{{1}}}|function1.return_type}} |
| |name={{User:Philmasterplus/Data|{{{1|}}}|name|}}
| | |;{{FunctionDeclaration|name={{{1}}}|func=1|format=signature}}{{ |
| |return_type={{User:Philmasterplus/Data|{{{1|}}}|function1.return_type|}}
| | #if:{{data|{{{1}}}|function1.short_description}} |
| |param1.type={{User:Philmasterplus/Data|{{{1|}}}|function1.param1.type|}}
| | |:{{data|{{{1}}}|function1.short_description}}}} |
| |param1.optional={{User:Philmasterplus/Data|{{{1|}}}|function1.param1.optional|}}
| | |
| |param2.type={{User:Philmasterplus/Data|{{{1|}}}|function1.param2.type|}}
| | |
| |param2.optional={{User:Philmasterplus/Data|{{{1|}}}|function1.param2.optional|}}
| | }}{{ |
| |param3.type={{User:Philmasterplus/Data|{{{1|}}}|function1.param3.type|}}
| | #if:{{data|{{{1}}}|function2.return_type}} |
| |param3.optional={{User:Philmasterplus/Data|{{{1|}}}|function1.param3.optional|}}
| | |;{{FunctionDeclaration|name={{{1}}}|func=2|format=signature}}}}{{ |
| |param4.type={{User:Philmasterplus/Data|{{{1|}}}|function1.param4.type|}}
| | #if:{{data|{{{1}}}|function3.return_type}} |
| |param4.optional={{User:Philmasterplus/Data|{{{1|}}}|function1.param4.optional|}}
| | |;{{FunctionDeclaration|name={{{1}}}|func=3|format=signature}}}}{{ |
| |param5.type={{User:Philmasterplus/Data|{{{1|}}}|function1.param5.type|}}
| | #if:{{data|{{{1}}}|function4.return_type}} |
| |param5.optional={{User:Philmasterplus/Data|{{{1|}}}|function1.param5.optional|}}
| | |;{{FunctionDeclaration|name={{{1}}}|func=4|format=signature}}}}{{ |
| </div>}} | | #if:{{data|{{{1}}}|function5.return_type}} |
| }}{{#if:{{User:Philmasterplus/Data|{{{1|}}}|function2.return_type|}}
| | |;{{FunctionDeclaration|name={{{1}}}|func=5|format=signature}}}} |
| |<div>{{User:Philmasterplus/FunctionDeclaration
| | |{{error|Cannot find page "{{{1|}}}" for Template:FunctionEmbed}}}}</includeonly><noinclude> |
| |name={{User:Philmasterplus/Data|{{{1|}}}|name|}}
| |
| |return_type={{User:Philmasterplus/Data|{{{1|}}}|function2.return_type|}}
| |
| |param1.type={{User:Philmasterplus/Data|{{{1|}}}|function2.param1.type|}}
| |
| |param1.optional={{User:Philmasterplus/Data|{{{1|}}}|function2.param1.optional|}}
| |
| |param2.type={{User:Philmasterplus/Data|{{{1|}}}|function2.param2.type|}}
| |
| |param2.optional={{User:Philmasterplus/Data|{{{1|}}}|function2.param2.optional|}}
| |
| |param3.type={{User:Philmasterplus/Data|{{{1|}}}|function2.param3.type|}}
| |
| |param3.optional={{User:Philmasterplus/Data|{{{1|}}}|function2.param3.optional|}}
| |
| |param4.type={{User:Philmasterplus/Data|{{{1|}}}|function2.param4.type|}}
| |
| |param4.optional={{User:Philmasterplus/Data|{{{1|}}}|function2.param4.optional|}}
| |
| |param5.type={{User:Philmasterplus/Data|{{{1|}}}|function2.param5.type|}}
| |
| |param5.optional={{User:Philmasterplus/Data|{{{1|}}}|function2.param5.optional|}}
| |
| </div>}} | |
| }}{{#if:{{User:Philmasterplus/Data|{{{1|}}}|function3.return_type|}}
| |
| |<div>{{User:Philmasterplus/FunctionDeclaration
| |
| |name={{User:Philmasterplus/Data|{{{1|}}}|name|}}
| |
| |return_type={{User:Philmasterplus/Data|{{{1|}}}|function3.return_type|}}
| |
| |param1.type={{User:Philmasterplus/Data|{{{1|}}}|function3.param1.type|}}
| |
| |param1.optional={{User:Philmasterplus/Data|{{{1|}}}|function3.param1.optional|}}
| |
| |param2.type={{User:Philmasterplus/Data|{{{1|}}}|function3.param2.type|}}
| |
| |param2.optional={{User:Philmasterplus/Data|{{{1|}}}|function3.param2.optional|}}
| |
| |param3.type={{User:Philmasterplus/Data|{{{1|}}}|function3.param3.type|}}
| |
| |param3.optional={{User:Philmasterplus/Data|{{{1|}}}|function3.param3.optional|}}
| |
| |param4.type={{User:Philmasterplus/Data|{{{1|}}}|function3.param4.type|}}
| |
| |param4.optional={{User:Philmasterplus/Data|{{{1|}}}|function3.param4.optional|}}
| |
| |param5.type={{User:Philmasterplus/Data|{{{1|}}}|function3.param5.type|}}
| |
| |param5.optional={{User:Philmasterplus/Data|{{{1|}}}|function3.param5.optional|}}
| |
| </div>}} | |
| }}{{#if:{{User:Philmasterplus/Data|{{{1|}}}|function4.return_type|}}
| |
| |<div>{{User:Philmasterplus/FunctionDeclaration
| |
| |name={{User:Philmasterplus/Data|{{{1|}}}|name|}}
| |
| |return_type={{User:Philmasterplus/Data|{{{1|}}}|function4.return_type|}}
| |
| |param1.type={{User:Philmasterplus/Data|{{{1|}}}|function4.param1.type|}}
| |
| |param1.optional={{User:Philmasterplus/Data|{{{1|}}}|function4.param1.optional|}}
| |
| |param2.type={{User:Philmasterplus/Data|{{{1|}}}|function4.param2.type|}}
| |
| |param2.optional={{User:Philmasterplus/Data|{{{1|}}}|function4.param2.optional|}}
| |
| |param3.type={{User:Philmasterplus/Data|{{{1|}}}|function4.param3.type|}}
| |
| |param3.optional={{User:Philmasterplus/Data|{{{1|}}}|function4.param3.optional|}}
| |
| |param4.type={{User:Philmasterplus/Data|{{{1|}}}|function4.param4.type|}}
| |
| |param4.optional={{User:Philmasterplus/Data|{{{1|}}}|function4.param4.optional|}}
| |
| |param5.type={{User:Philmasterplus/Data|{{{1|}}}|function4.param5.type|}}
| |
| |param5.optional={{User:Philmasterplus/Data|{{{1|}}}|function4.param5.optional|}}
| |
| </div>}} | |
| }}{{#if:{{User:Philmasterplus/Data|{{{1|}}}|function5.return_type|}}
| |
| |<div>{{User:Philmasterplus/FunctionDeclaration
| |
| |name={{User:Philmasterplus/Data|{{{1|}}}|name|}}
| |
| |return_type={{User:Philmasterplus/Data|{{{1|}}}|function5.return_type|}}
| |
| |param1.type={{User:Philmasterplus/Data|{{{1|}}}|function5.param1.type|}}
| |
| |param1.optional={{User:Philmasterplus/Data|{{{1|}}}|function5.param1.optional|}}
| |
| |param2.type={{User:Philmasterplus/Data|{{{1|}}}|function5.param2.type|}}
| |
| |param2.optional={{User:Philmasterplus/Data|{{{1|}}}|function5.param2.optional|}}
| |
| |param3.type={{User:Philmasterplus/Data|{{{1|}}}|function5.param3.type|}}
| |
| |param3.optional={{User:Philmasterplus/Data|{{{1|}}}|function5.param3.optional|}}
| |
| |param4.type={{User:Philmasterplus/Data|{{{1|}}}|function5.param4.type|}}
| |
| |param4.optional={{User:Philmasterplus/Data|{{{1|}}}|function5.param4.optional|}}
| |
| |param5.type={{User:Philmasterplus/Data|{{{1|}}}|function5.param5.type|}}
| |
| |param5.optional={{User:Philmasterplus/Data|{{{1|}}}|function5.param5.optional|}}
| |
| </div>}}
| |
| }}
| |
| |{{{error|Cannot find page '{{{1|}}}' for template User:Philmasterplus/FunctionEmbed}} | |
| }} | |
| </includeonly><noinclude> | |
|
| |
|
| <templatedata> | | <templatedata> |
Template parameters[Edit template data]
Parameter | Description | Type | Status |
---|
Function page name | 1 | Must be a new-style function page
| Page name | optional |
---|
Examples
{{User:Philmasterplus/FunctionEmbed|User:Philmasterplus/Sandbox}}
- Nothing to see here, move along. Nothing to see here, move along.( Nothing to see here, move along.?, Nothing to see here, move along.?, Nothing to see here, move along.?, Nothing to see here, move along.?, Nothing to see here, move along.? )
- Nothing to see here, move along.
- Nothing to see here, move along. Nothing to see here, move along.( Nothing to see here, move along.?, Nothing to see here, move along.?, Nothing to see here, move along.?, Nothing to see here, move along.?, Nothing to see here, move along.? )
- Nothing to see here, move along. Nothing to see here, move along.( Nothing to see here, move along.?, Nothing to see here, move along.?, Nothing to see here, move along.?, Nothing to see here, move along.?, Nothing to see here, move along.? )
- Nothing to see here, move along. Nothing to see here, move along.( Nothing to see here, move along.?, Nothing to see here, move along.?, Nothing to see here, move along.?, Nothing to see here, move along.?, Nothing to see here, move along.? )
- Nothing to see here, move along. Nothing to see here, move along.( Nothing to see here, move along.?, Nothing to see here, move along.?, Nothing to see here, move along.?, Nothing to see here, move along.?, Nothing to see here, move along.? )