Template:Param2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
|{{User:Philmasterplus/Type|{{{1}}}}} | |{{User:Philmasterplus/Type|{{{1}}}}} | ||
}}{{ | }}{{ | ||
#if:{{{1|}}}{{{2|}}} | #if:{{{1|}}}|{{#if:{{{2|}}}| }} | ||
}}{{ | }}{{ | ||
#if:{{{2|}}} | #if:{{{2|}}} | ||
| Line 45: | Line 44: | ||
===Types only=== | ===Types only=== | ||
<pre> | <pre> | ||
*{{User:Philmasterplus/Param|void}} | *"{{User:Philmasterplus/Param|void}}" | ||
*{{User:Philmasterplus/Param|monster}} | *"{{User:Philmasterplus/Param|monster}}" | ||
*{{User:Philmasterplus/Param|boolean}} | *"{{User:Philmasterplus/Param|boolean}}" | ||
</pre> | </pre> | ||
*{{User:Philmasterplus/Param|void}} | *"{{User:Philmasterplus/Param|void}}" | ||
*{{User:Philmasterplus/Param|monster}} | *"{{User:Philmasterplus/Param|monster}}" | ||
*{{User:Philmasterplus/Param|boolean}} | *"{{User:Philmasterplus/Param|boolean}}" | ||
</noinclude> | </noinclude> | ||
Revision as of 20:21, 18 December 2020
This is similar to [[Template:Param]] except that this has no trailing whitespace.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Parameter data type | 1 | Parameter data type
| Line | required |
| Parameter name | 2 | Parameter name | Line | required |
Examples
Types and parameters
*{{User:Philmasterplus/Param|int|param1}}
*{{User:Philmasterplus/Param|float|param2}}
*{{User:Philmasterplus/Param|string [int]|param3}}
Types only
*"{{User:Philmasterplus/Param|void}}"
*"{{User:Philmasterplus/Param|monster}}"
*"{{User:Philmasterplus/Param|boolean}}"