Difference between revisions of "Template:Basic scribbling example/doc"
Jump to navigation
Jump to search
imported>Szqecs |
imported>Pppery (Module being deleted) |
||
| (4 intermediate revisions by one other user not shown) | |||
| Line 2: | Line 2: | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
==Usage== | ==Usage== | ||
| − | {{Lua|Module: | + | {{Lua|Module:Example}} |
| − | This template is used to demonstrate basic | + | This template is used to demonstrate basic [[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| | + | <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}} | ||
| − | <nowiki>{{Basic scribbling example| | + | <nowiki>{{Basic scribbling example|4|1|lucky=yeah}}</nowiki> produces {{Template:Basic scribbling example|4|1|lucky=yeah}} |
See module page for details. | See module page for details. | ||
Latest revision as of 23:29, 29 July 2020
| 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 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.