User:Merlin11188/Templates/Draft
From Legacy Roblox Wiki
Jump to navigationJump to search
Do not edit! The creator of this subpage does not want it to be edited without permission. |
Template
Quiz
{{{1}}}
Note: This is a quiz. The answers are not explained. If you don't understand, review this page, then ask in the forums {{{2}}}
Example
Here is an example:
{{Quiz|title=ExampleQuiz| #What will the following code result in?<code lua> -- THESE MUST BE ON THE SAME LINE IF YOU WANT TO KEEP THE QUESTION NUMBERS print("HI") </code> #What is 3 + 2? | -- This separates the questions from the answers #HI #5 }}
which would result in:
ExampleQuiz
- What will the following code result in?
print("HI")
- What is 3 + 2?
Note: This is a quiz. The answers are not explained. If you don't understand, review this page, then ask in the forums
- HI
- 5
Here's another:
{{Quiz|title=ExampleQuiz|note=See the '''Explanation''' tab for reasons.| #How do I print "Ninja" to the output? | #print('"Ninja"') | #print is a function that prints a string to the output. }}
which is:
ExampleQuiz
- How do I print "Ninja" to the output?
Note: This is a quiz. The answers are not explained. If you don't understand, review this page, then ask in the forums
- print('"Ninja"')
- print is a function that prints a string to the output.
{{ifeq|
|nil