Module:Example/doc
Appearance
| 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. |
| Description | Module. |
|---|---|
| Status | Unknown |
| Testcase Status | Unknown |
| Updated | June 16, 2026 (41 days ago) |
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:
framecurrent frame (Frame) - Returns: Hello world
- Usage:
{{#invoke:Example|hello}} example.hello_to( frame )(function)- Hello world function
- Parameters:
- Returns: Hello world
- Usage:
{{#invoke:Example|hello_to|name}} example.count_fruit( frame )(function)- Counts fruit
- Parameters:
- Returns: Number of apples and bananas
- Usage:
{{#invoke:Example|count_fruit|apples=number of apples|bananas=number of bananas}} example.Name2( frame )(function)- Name2
- Parameter:
framecurrent frame (Frame) - Returns: Some output
Documentation above is auto generated
See also
- Module:Sandbox: For practice/experimental/testing modules.