Difference between revisions of "Scribunto/Test"

From PKC
Jump to navigation Jump to search
Line 17: Line 17:
{{#invoke:Test|selector|2|<math>\pi</math>|<math>\beta</math>}}
{{#invoke:Test|selector|2|<math>\pi</math>|<math>\beta</math>}}


{{#invoke:Test|selector|2|{{CURRENTDAY}}|{{CURRENTYEAR}}}}
{{#invoke:Test|selector|1|{{CURRENTDAY}}|{{CURRENTYEAR}}}}


=Multi-Argument=
=Multi-Argument=

Revision as of 13:35, 8 January 2022

Hello, world! from The 3rd Arg-The FIRST ARGUMENT -THE 2nd ARG

-Calculus

Reverse string function

"gfedcba"

Math type setting instruction must be produced by the function

  1. -Calculus
  2. -Calculus
  3. -Calculus

Raw String

Selector

28

Multi-Argument

1 , ,-Calculus

Arithmetic

{{#invoke:Test|arithmetic|5|4|3}}

12 is the identity sum

Trig Function

-2.0510342851533e-10 is the cos of pi

Repetition

4, 3, 1, 2, 

Statistics

12


Scribunto/Test