Template:MethodParam: Difference between revisions

Content deleted Content added
imported>AntumDeluge
Template for easily creating method parameter representations
 
imported>AntumDeluge
add example & category
 
(2 intermediate revisions by the same user not shown)
Line 1:
: '''''{{{1|}}}:''''' {{#if: {{{type|}}} | (<code>{{{type|}}}</code>) }} {{#if: {{{desc|}}} | {{{desc|}}} }}<noinclude>
 
== Examples ==
Test:
 
; function()
{| class="wikitable"
{{MethodParam|point|desc=A dummy paramater.|type=int}}
|-
| Input || <nowiki>{{</nowiki>{{PAGENAME}}<nowiki> | point | desc=A dummy paramater. | type=int}}</nowiki>
|-
| Output || {{MethodParam{{PAGENAME}} | point | desc=A dummy paramater. | type=int}}
|}
 
 
[[Category:Documentation]]