User:DavNvro/sandbox

This is my sandbox for Google Code-in.

Task 1


imgs

Task 2
Q1. What keyword marks the start of a function definition? A1. marks the start of a function definition. Q2. Which letter is conventionally used in Scribunto modules to hold the table of functions? A2. is the name of the variable used to hold the table containing the functions of a Scribunto module. Q3. What keyword marks the end of a function definition? A3. marks the end of a function. The result of calling my  function is "".

Default parameter value test:

Task 3
Default parameter value test:

Invalid parameter test:

Invalid parameter test:

Task 4
No parameter test: Blank parameter test: Invalid parameter test: Negative parameter test:

Task 5
Q1. What does %w+ match in a Lua pattern?

A1. It matches 1 or more characters that are numbers or letters.

Q2. What does %d+ match in a Lua pattern?

A2. It matches 1 or more characters that are digits.

The pattern  would match an American style date.

Pageinfo
No parameter test:

Misspelled parameter test:

Number parameter test:

Invalid parameter: