Difference between revisions of "Template:Basic scribbling example/doc"
Jump to navigation
Jump to search
imported>Szqecs |
imported>Szqecs |
||
| Line 5: | Line 5: | ||
This template is used to demonstrate basic usage of [[Wikipedia:Guide to Scribbling|scribbling]]. It uses [[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. | This template is used to demonstrate basic usage of [[Wikipedia:Guide to Scribbling|scribbling]]. It uses [[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. | ||
| − | <nowiki>{{Basic scribbling example|2}}</nowiki> produces {{Template:Basic scribbling example|2}} | + | <nowiki>{{Basic scribbling example|2}}</nowiki> produces {{Template:Basic scribbling example|2}} |
| − | <nowiki>{{Basic scribbling example|3|1}}</nowiki> produces {{Template:Basic scribbling example|3|1}} | + | <nowiki>{{Basic scribbling example|3|1}}</nowiki> produces {{Template:Basic scribbling example|3|1}} |
<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}} | ||
Revision as of 09:53, 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 uses 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|2}} produces Lonely
{{Basic scribbling example|3|1}} produces 2
{{Basic scribbling example|1|3}} produces Be positive!
{{Basic scribbling example|4|1|lucky=yeah}} produces 3 is my lucky number.
See module page for details.