Difference between revisions of "Scribunto/Test"
Jump to navigation
Jump to search
(14 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}} | ||
=Reverse string function= | =Reverse string function= | ||
{{#invoke:Test| | {{#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|lambda}}-Calculus | #{{#invoke:Test|greek_letter|lambda}}-Calculus | ||
{{#invoke:Test|greek_letter|pi}}-Calculus | #{{#invoke:Test|greek_letter|pi}}-Calculus | ||
{{#invoke:Test|greek_letter|nu}}-Calculus | #{{#invoke:Test|greek_letter|nu}}-Calculus | ||
=Raw String= | =Raw String= | ||
Line 15: | Line 14: | ||
=Selector= | =Selector= | ||
{{#invoke:Test|selector| | {{#invoke:Test|selector|2|<math>\pi</math>|<math>\beta</math>}} | ||
{{#invoke:Test|selector|2|{{CURRENTDAY}}|{{CURRENTMONTH}}}} | |||
=Multi-Argument= | =Multi-Argument= | ||
Line 32: | Line 33: | ||
=Statistics= | =Statistics= | ||
{{#invoke:Test|pagesInCategory|Resource|subcats|3}} | {{#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
- -Calculus
- -Calculus
- -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