Difference between revisions of "Module:Example/doc"
(Example usage) |
(Example usage) |
||
Line 1: | Line 1: | ||
This is example documentation for the module, used for demonstrations and the like. | This is example documentation for the module, used for demonstrations and the like. | ||
− | * Example hello: {{#invoke:Example | hello_to | everyone }} | + | * Example hello: {{#invoke:Example | hello_to | everyone }} <pre><nowiki>{{#invoke:Example | hello_to | everyone }}</nowiki></pre> |
− | * Example counting fruits: {{#invoke:Example | count_fruit | bananas=5 |apples=6 }} | + | * Example counting fruits: {{#invoke:Example | count_fruit | bananas=5 |apples=6 }} <pre><nowiki>{{#invoke:Example | count_fruit | bananas=5 |apples=6 }}</nowiki></pre> |
Revision as of 23:02, 13 October 2021
This is example documentation for the module, used for demonstrations and the like.
- Example hello: Hello, everyone !
{{#invoke:Example | hello_to | everyone }}
- Example counting fruits: I have 5 bananas and 6 apples
{{#invoke:Example | count_fruit | bananas=5 |apples=6 }}