Difference between revisions of "Template:Basic scribbling example/doc"

From blackwiki
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 invokes [[Module:Basic example]]. The template takes one or two numerical parameters 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 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.
  
 
<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:20, 10 January 2018

Usage

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}} produces 2 is my lucky number.

See module page for details.