Difference between revisions of "Module:Example/doc"

(Example usage)
m (Added link to doc)
 
Line 1: Line 1:
This is example documentation for the module, used for demonstrations and the like.
+
This is example [[Module:Example/doc | documentation]] for the module, used for demonstrations and the like.
  
 
* Example hello: {{#invoke:Example | hello_to | everyone }} <pre><nowiki>{{#invoke:Example | hello_to | everyone }}</nowiki></pre>
 
* 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 }} <pre><nowiki>{{#invoke:Example | count_fruit | bananas=5 |apples=6 }}</nowiki></pre>
 
* Example counting fruits: {{#invoke:Example | count_fruit | bananas=5 |apples=6 }} <pre><nowiki>{{#invoke:Example | count_fruit | bananas=5 |apples=6 }}</nowiki></pre>

Latest revision as of 23:06, 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 }}