Difference between revisions of "Scribunto/Test"

From PKC
Jump to navigation Jump to search
 
(50 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#invoke:Test|hello_world|The FIRST ARGUMENT |THE 2nd ARG|The 3rd Arg}}
{{#invoke:Test|hello_world|The FIRST ARGUMENT |THE 2nd ARG|The 3rd Arg}}


<math>\pi</math>-Calculus
 
=Reverse string function=
{{#invoke:Test|reverseResult|"123ABC"}}


=Math type setting instruction must be produced by the function=
=Math type setting instruction must be produced by the function=
{{#invoke:Test|greek_letter|pi}}-Calculus
#{{#invoke:Test|greek_letter|lambda}}-Calculus
#{{#invoke:Test|greek_letter|pi}}-Calculus
#{{#invoke:Test|greek_letter|nu}}-Calculus


=Raw String=
=Raw String=
{{#invoke:Test|rawstring|<math>\pi-{{PAGENAME}} </math>}}-Calculus
{{#invoke:Test|rawstring|<math>\int x dx</math> }}
 
=Selector=
{{#invoke:Test|selector|2|<math>\pi</math>|<math>\beta</math>}}
 
{{#invoke:Test|selector|2|{{CURRENTDAY}}|{{CURRENTMONTH}}}}
 
=Multi-Argument=
{{#invoke:Test|multiArgument|1|<math>\pi</math>|<math>\beta</math>}}-Calculus
 
=Arithmetic=
<nowiki>{{#invoke:Test|arithmetic|5|4|3}}</nowiki>
{{#invoke:Test|arithmetic|5|4|3}} is the identity sum
 
=Trig Function=
{{#invoke:Test|trig|1.570796327|4|3}} is the cos of pi
 
=Repetition=
{{#invoke:Test|repetition|3|4|3}}
 
=Statistics=
{{#invoke:Test|pagesInCategory|Resource|subcats|3}}
 






{{PAGENAME}}
{{PAGENAME}}

Latest revision as of 15:10, 9 January 2022

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


Reverse string function

"CBA321"

Math type setting instruction must be produced by the function

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

Raw String

Selector

11

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