Difference between revisions of "Template:Basic scribbling example/doc"
Jump to navigation
Jump to search
imported>Szqecs |
imported>Szqecs |
||
| Line 11: | Line 11: | ||
<nowiki>{{Basic scribbling example|1|3}}</nowiki> produces {{Template:Basic scribbling example|1|3}} | <nowiki>{{Basic scribbling example|1|3}}</nowiki> produces {{Template:Basic scribbling example|1|3}} | ||
| − | <nowiki>{{Basic scribbling example|3|1}}</nowiki> produces {{Template:Basic scribbling example|3|1|lucky=yeah}} | + | <nowiki>{{Basic scribbling example|3|1|lucky=yeah}}</nowiki> produces {{Template:Basic scribbling example|3|1|lucky=yeah}} |
See module page for details. | See module page for details. | ||
Revision as of 09:22, 10 January 2018
| This is a documentation subpage for Template:Basic scribbling example. It contains usage information, categories and other content that is not part of the original template page. |
Usage
| This template uses Lua: |
This template is used to demonstrate basic usage of scribbling. It invokes Module:Basic example. The template 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.
{{Basic scribbling example|3}} produces Lonely.
{{Basic scribbling example|3|1}} produces 2.
{{Basic scribbling example|1|3}} produces Be positive!
{{Basic scribbling example|3|1|lucky=yeah}} produces 2 is my lucky number.
See module page for details.