Difference between revisions of "Template:Basic scribbling example/doc"
Jump to navigation
Jump to search
imported>Szqecs |
imported>Szqecs |
||
| Line 3: | Line 3: | ||
==Usage== | ==Usage== | ||
{{Lua|Module:Basic example}} | {{Lua|Module:Basic example}} | ||
| − | This template is used to demonstrate basic usage of [[Wikipedia:Guide to Scribbling|scribbling]]. It | + | 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|3}}</nowiki> produces {{Template:Basic scribbling example|3}}. | <nowiki>{{Basic scribbling example|3}}</nowiki> produces {{Template:Basic scribbling example|3}}. | ||
Revision as of 09:49, 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|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.