This is the documentation page for Module:Basic example

This module is used to demonstrate basic scribbling. It is used by Template:Basic scribbling example. The module takes one or two numerical inputs and outputs a string, with or without numbers, based on their relationship. An optional named parameter adds an extra string.

{{#invoke:Basic example|Name2|2}} produces Lonely

{{#invoke:Basic example|Name2|3|1}} produces 2

{{#invoke:Basic example|Name2|1|3}} produces Be positive!

{{#invoke:Basic example|Name2|4|1|lucky=yeah}} produces 3 is my lucky number.

Use the template for general input, as it is simpler.

Refer to the notes in the code for details, using edit for a better view.

{{#invoke:Basic example|function_name}}