User:Merlin11188/Templates/Draft: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Merlin11188
Updated do not edit template
>Merlin11188
NOW I'm done.
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{User:Merlin11188/Templates/NoEdit}}
{{User:Merlin11188/Templates/NoEdit}}
==Template==
==Template==
<onlyinclude>
Hi<onlyinclude>{{{1|}}}<sup>[<abbr title="This is a Lua-only feature. You cannot use it on ROBLOX.">Lua-only</abbr>]</sup></onlyinclude>
<div class="tabber">
'''{{{title|Quiz}}}'''
----


<div class="tabbertab" title="Questions">
{{User:Merlin11188/Templates/Draft|Load}} is a function.
{{{1}}}
</div>


<div class="tabbertab" title="Answers">
Load{{User:Merlin11188/Templates/Draft}} is a function.
{{ifeq|{{{note|'''Note:''' This is a quiz. The answers are not explained. If you don't understand, review this page, then ask in the [http://www.roblox.com/Forum/ShowForum.aspx?ForumID=20 forums]}}}
|nil
|{{{2}}}
|{{{note|'''Note:''' This is a quiz. The answers are not explained. If you don't understand, review this page, then ask in the [http://www.roblox.com/Forum/ShowForum.aspx?ForumID=20 forums]}}}
{{{2}}}
}}
</div>
 
{{if|{{{3|}}}|<div class<nowiki>=</nowiki>"tabbertab" title<nowiki>=</nowiki>"Explanations">
{{{3}}}
</div>
}}
</div>
</onlyinclude>
 
==Example==
Here is an example:
<pre>
{{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
}}
</pre>
 
which would result in:
 
{{Quiz|title=ExampleQuiz|
#What will the following code result in?<code lua>
print("HI")
</code>
#What is 3 + 2?
|
#HI
#5
}}
 
----
 
Here's another:
<pre>
{{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.
}}
</pre>
which is:
{{User:Merlin11188/Templates/Draft|title=ExampleQuiz|
#How do I print "Ninja" to the output?
|
#print('"Ninja"')
|
#print is a function that prints a string to the output.
}}
 
{{ifeq|
|nil
 
 
[[Category:Templates]]

Latest revision as of 20:48, 20 February 2012

Do not edit!
The creator of this subpage does not want it to be edited without permission. Please discuss any changes that you think are relevant on the talk page.

Template

Hi[Lua-only]

Load[Lua-only] is a function.

Load[Lua-only] is a function.