Difference between revisions of "Template:Function"
Jump to navigation
Jump to search
m
Try something else for shortname
imported>SnakeChomp (Add "arguments" argument to provide arguments using plain text or sub templates) |
imported>SnakeChomp m (Try something else for shortname) |
||
Line 27: | Line 27: | ||
CategoryList = the list of categories to which the page belongs | CategoryList = the list of categories to which the page belongs | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
{{Function | |||
|name = Test | |||
|shortname = tst | |||
|returnType = void | |||
}} | |||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
Line 61: | Line 67: | ||
the actual function: | the actual function: | ||
-->{{{name| {{PAGENAME}} }}}<!-- | -->{{{name| {{PAGENAME}} }}}<!-- | ||
shortname: | |||
-->{{ #if: {{{shortname|}}} | ({{{shortname}}}) |}}<!-- | |||
arguments | arguments | ||
Line 88: | Line 97: | ||
-->{{ #if: {{{optarg8|}}} | ''{{{optarg8}}}:{{{optarg8Type}}}'' |}}<!-- | -->{{ #if: {{{optarg8|}}} | ''{{{optarg8}}}:{{{optarg8Type}}}'' |}}<!-- | ||
-->{{ #if: {{{optarg9|}}} | ''{{{optarg9}}}:{{{optarg9Type}}}'' |}}<!-- | -->{{ #if: {{{optarg9|}}} | ''{{{optarg9}}}:{{{optarg9Type}}}'' |}}<!-- | ||
example: --> | example: --> |