Jump to content
Wikipedia The Free Encyclopedia

Module:Example/doc

From Wikipedia, the free encyclopedia
icon This is a documentation subpage for Module:Example.
It may contain usage information, categories and other content that is not part of the original module page.
Example
DescriptionModule.
Code sourceExample
StatusUnknown

Example module.

This page is not a sandbox.
It should not be used for test editing. To experiment, please use the Wikipedia sandbox, your user sandbox, or other sandboxes.
This page serves as a reference for demonstrations and examples only, similar to other Namespace example pages. It is not part of the main encyclopedia.

This is example documentation for the module, used for demonstrations and the like.

Documentation

Package items

example.hello(frame) (function)
Hello world function
Parameter: frame current frame (table)
Returns: Hello world
example.hello_to(frame) (function)
Hello world function
Parameters:
frame current frame (table)
frame.args[1] name (string)
Returns: Hello world
example.count_fruit(frame) (function)
Counts fruit
Parameters:
frame current frame (table)
frame.args.bananas number of bananas (string)
frame.args.apples number of apples (string)
Returns: Number of apples and bananas
example.Name2(frame) (function)
Name2
Parameter: frame current frame (table)
Returns: Some output

See also

AltStyle によって変換されたページ (->オリジナル) /