Template:PublicMethod:修订间差异

来自gamedev
跳转到导航 跳转到搜索
创建页面,内容为“<noinclude>Template output: <blockquote> </noinclude>; ''<span style="color:darkgreen;">{{{1|}}}</span>({{#if: {{{params|}}} | {{{params|}}} }})'' : {{#if: {{{desc|}…”
 
(没有差异)

2023年6月2日 (五) 05:47的最新版本

Template output:

()

Description[编辑]

Template for creating method representations.

Examples[编辑]

Input {{PublicMethod | helloWorld | desc=A test method. | params=param1, param2|paramlist=

{{MethodParam | param1 | type=int | desc=First parameter}}
{{MethodParam | param2 | type=String|desc=Second parameter}} | ret=An integer value. | rettype=int }}

Output
helloWorld (param1, param2)
A test method. Template:MethodParam

Template:MethodParam

returns: (int) An integer value.