Template:MethodParam: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>AntumDeluge Template for easily creating method parameter representations |
imported>AntumDeluge add example & category |
||
| Line 1: | Line 1: | ||
: '''''{{{1|}}}:''''' {{#if: {{{type|}}} | (<code>{{{type|}}}</code>) }} {{#if: {{{desc|}}} | {{{desc|}}} }}<noinclude> |
: '''''{{{1|}}}:''''' {{#if: {{{type|}}} | (<code>{{{type|}}}</code>) }} {{#if: {{{desc|}}} | {{{desc|}}} }}<noinclude> |
||
== Examples == |
|||
Test: |
|||
; function() |
|||
{| class="wikitable" |
|||
| ⚫ | |||
|- |
|||
| Input || <nowiki>{{</nowiki>{{PAGENAME}}<nowiki> | point | desc=A dummy paramater. | type=int}}</nowiki> |
|||
|- |
|||
| ⚫ | |||
|} |
|||
[[Category:Documentation]] |
|||
Latest revision as of 21:50, 18 January 2022
- :
Examples
| Input | {{MethodParam | point | desc=A dummy paramater. | type=int}} |
| Output |
|