Difference between revisions of "Template:Function"

Jump to navigation Jump to search
36 bytes added ,  15:49, 30 January 2009
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|}}} | &nbsp;''{{{optarg8}}}:{{{optarg8Type}}}'' |}}<!--
-->{{ #if: {{{optarg8|}}} | &nbsp;''{{{optarg8}}}:{{{optarg8Type}}}'' |}}<!--
-->{{ #if: {{{optarg9|}}} | &nbsp;''{{{optarg9}}}:{{{optarg9Type}}}'' |}}<!--
-->{{ #if: {{{optarg9|}}} | &nbsp;''{{{optarg9}}}:{{{optarg9Type}}}'' |}}<!--
shortname-->{{ #if: {{{shortname|}}} | <p>Alternate function name: {{{shortname}}} </p>|}}<!--


example: -->
example: -->
Anonymous user

Navigation menu