Template:Function/parameter
Jump to navigation
Jump to search
Usage
{{Function/parameter|name|type|description|default}}
- name: parameter identifier
- type: data type (see Template:DataType)
- description: parameter description
- default: default value when parameter is not provided
Code | Result |
---|---|
{{Function/parameter}} | |
{{Function/parameter|paramName}} | |
{{Function/parameter|paramName|b}} | |
{{Function/parameter|paramName|b|this is a boolean}} | |
{{Function/parameter|paramName|b|this is a boolean|false}} | false ) this is a boolean |