ਫਰਮਾ:Quiz/doc
ਦਿੱਖ
This is a documentation subpage for ਫਰਮਾ:Quiz (see that page for the ਫਰਮਾ itself). It contains usage information, categories, and other content that are not part of the original ਫਰਮਾ page. |
Usage
[ਸੋਧੋ]A collapsible quiz question box based on the question-answer and riddle templates helps editors create exercises for readers. This template includes a few things, however, not included on those templates, including bolded titles and defined answer parameters.
Parameters
[ਸੋਧੋ]- width
- Width of the "box". Defaults to 100%.
- question
- The question you want to ask. This will be in bold.
- a
- Answer choice "A:"
- b
- Answer choice "B:"
- c
- Answer choice "C:"
- d
- Answer choice "D:"
Examples
[ਸੋਧੋ]A simple example:
{{Quiz|question=What time is it? |a=Game time. |b=Party time. |c=Time to get a watch. |d=Who cares? |answer='''D''' is clearly the correct answer, because...}}
renders as:
What time is it?
- ੳ: Game time.
- ਅ: Party time.
- ੲ: Time to get a watch.
- ਸ: Who cares?
ਉੱਤਰ: D is clearly the correct answer, because...