Pomoc:Quiz: Różnice pomiędzy wersjami
Na podstawie http://en.wikiversity.org/w/index.php?title=Help:Quiz&oldid=572415, autorów:MichaelFrey,Heldergeovane,HenkvD,Jtneill,Stevenfruitsmaak,Erkan Yilmaz,Elcairo,Cormaggio |
poprawki |
||
Linia 156: | Linia 156: | ||
* W wielu quizach pytanie typu Prawda/Fałsz są uważane jako osobny typ, chociaż tak naprawdę są one wariacją wielu możliwości z jedną poprawną odpowiedzią. To rozszerzenie traktuje oba rodzaje quizów identycznie i ich wywołanie wygląda identycznie, jedyna różnica to ilość możliwych odpowiedzi. |
* W wielu quizach pytanie typu Prawda/Fałsz są uważane jako osobny typ, chociaż tak naprawdę są one wariacją wielu możliwości z jedną poprawną odpowiedzią. To rozszerzenie traktuje oba rodzaje quizów identycznie i ich wywołanie wygląda identycznie, jedyna różnica to ilość możliwych odpowiedzi. |
||
* Pierwszy przykład pokazuje, że poprawną odpowiedzią jest "Prawda". |
* Pierwszy przykład pokazuje, że poprawną odpowiedzią jest "Prawda". |
||
* |
* Drugi przykład pokazuje, że poprawną odpowiedzią może być też "Fałsz". |
||
* Przykłady są aktywne i można je sprawdzić teraz. |
* Przykłady są aktywne i można je sprawdzić teraz. |
||
* If you have a large number of true/false questions, a more efficient way to lay them out would be to use the [[Help:Quiz#Tabular response type with radio buttons|tabular response type with radio buttons]] documented below. |
* If you have a large number of true/false questions, a more efficient way to lay them out would be to use the [[Help:Quiz#Tabular response type with radio buttons|tabular response type with radio buttons]] documented below. |
||
Linia 193: | Linia 193: | ||
* Wikitekst powinien być umieszczony pomiędzy tagami <nowiki><quiz> i </qiuz></nowiki>. |
* Wikitekst powinien być umieszczony pomiędzy tagami <nowiki><quiz> i </qiuz></nowiki>. |
||
* Answers appear in the same order as in the markup, so it is advisable to shuffle them before exporting into markup. |
* Answers appear in the same order as in the markup, so it is advisable to shuffle them before exporting into markup. |
||
* |
* Każdy symbol, jak np. '''|''', "+", "-" i każdy tego typu, musi znaleźć się na początku każdego nowego wiersza. |
||
* Symbol oznaczający prawdziwość odpowiedzi ("+" i "-") musi znajdować się na początku nowej linii - przed nim nie może pojawić się nawet spacja. |
|||
* The symbols must '''begin''' the newline - no spaces before them. |
|||
* The borders are a result of the border around the wiki table. They are optional. |
* The borders are a result of the border around the wiki table. They are optional. |
||
* |
* Oznaczenie [] jest atrybutem wskazującym na tworzenie testu wielokrotnego wyboru (checkbox). |
||
|} |
|} |
||
Linia 229: | Linia 228: | ||
{ |
{ |
||
|type="{}"} |
|type="{}"} |
||
Gdzie urodził się Arystoteles? { Stageira } |
|||
{ |
{ |
||
|type="{}"} |
|type="{}"} |
||
Imię nauczyciela Arystotelesa? { Platon } |
|||
Name Aristotle's famous mentor. { Plato } |
|||
{ |
{ |
||
|type="{}"} |
|type="{}"} |
||
{ Aleksander } był najsłynniejszym uczniem Arystotelesa. |
|||
{ Alexander } was Aristotle's most famous pupil. |
|||
</quiz> |
</quiz> |
||
|} |
|} |
||
Linia 254: | Linia 253: | ||
{ |
{ |
||
|type="{}"} |
|type="{}"} |
||
Imię słynnego greckiego filozofa. |
|||
Name a famous Greek philosopher. |
|||
{ |
{ Arystoteles|Platon } |
||
</pre> |
</pre> |
||
Linia 265: | Linia 264: | ||
{ |
{ |
||
|type="{}"} |
|type="{}"} |
||
Imię słynnego greckiego filozofa. { Arystoteles|Platon } |
|||
Name a famous Greek philosopher. { Aristotle|Plato } |
|||
</quiz> |
</quiz> |
||
|} |
|} |
Wersja z 16:19, 15 sie 2010
To jest strona pomocy dla rozszerzenia quiz.
To rozszerzenie składa się z kilku prostych komend, a ta strona jest tak długa tylko ze względu na możliwe kombinacje pomiędzy nimi.
Jak zrobić Quiz w podręczniku
Tag quiz
wikitekst (to co piszesz) |
rendering (to co widzisz) |
uwagi | |
---|---|---|---|
<quiz> tutaj umieść pytanie </quiz> |
|
Tagi quiz umożliwiają następujące rzeczy:
Teoretycznie możliwe jest użycie tagów quiz osobno przy każdym pytaniu, pozwalając odpowiadać na nie po kolei. Shuffling questions: if the shuffle questions button is shown, the questions can be shuffled by clicking the button. This only works so long as the quiz-taker has not started to answer the questions. Once the quiz-taker starts answering, the order is locked. | |
<quiz display=simple> tutaj umieść pytanie </quiz> |
|
| |
<quiz shuffle=none> insert questions here </quiz> |
|
|
Umieszczanie pytań
Typy pytań znajdują się poniżej. Co ważne, każde pytanie w jednym quzie musi być oddzielone pustym wierszem, inaczej zostaną one potraktowane jako jedno długie pytanie.
Jak czytać przykłady
Przykłady na tej stronie są pokazane na dwa sposoby: jako wikitekst oraz w postaci zrenderowanej. Wikitekst pokazuje kod, który można skopiować do własnego quizy, natomiast rendering pokazuje efekt użytego kodu.
Kopiowanie i wklejanie
The markup has been slightly simplified in order to help understanding. If you copy and paste, you must insert <quiz> tags before and after the markup. You may wish to use the quiz tags with the "display=simple" option as shown above.
Note that the actual example below also use tables for clarity. If a quiz is inserted into a table, this modifies the appearance of a quiz - for example, boxes appear around some elements in the quiz. If you don't use a table, these boxes disappear and your quiz will look plainer.
When pasting, ensure that all the symbols are aligned with the left of the page - i.e. if any line begins with a space, formating errors may occur.
Przykłady
Wszystkie poniższe przykłady powinny działać. Nie bój się je wypróbować. Użycie przycisków nie spowoduje uszkodzeń ani zmian w samej stronie.
Podstawowe typy pytań
Wiele możliwości i jedna odpowiedź
wikitekst | rendering | uwagi | |
---|---|---|---|
{Pytanie |type="()"} + Prawda - Fałsz - Fałsz - Fałsz |
|
|
Pytania Prawda/Fałsz
wikitekst | rendering | uwagi | |||||||
---|---|---|---|---|---|---|---|---|---|
{Bułgaria i Rumunia dołączyły do Unii Europejskie w 2007. |type="()"} + Prawda - Fałsz {Szwajcaria jest członkiem Unii Europejskiej. |type="()"} - Prawda + Fałsz |
1 Bułgaria i Rumunia dołączyły do Unii Europejskie w 2007.
2 Szwajcaria jest członkiem Unii Europejskiej.
| ||||||||
- W wielu quizach pytanie typu Prawda/Fałsz są uważane jako osobny typ, chociaż tak naprawdę są one wariacją wielu możliwości z jedną poprawną odpowiedzią. To rozszerzenie traktuje oba rodzaje quizów identycznie i ich wywołanie wygląda identycznie, jedyna różnica to ilość możliwych odpowiedzi.
- Pierwszy przykład pokazuje, że poprawną odpowiedzią jest "Prawda".
- Drugi przykład pokazuje, że poprawną odpowiedzią może być też "Fałsz".
- Przykłady są aktywne i można je sprawdzić teraz.
- If you have a large number of true/false questions, a more efficient way to lay them out would be to use the tabular response type with radio buttons documented below.
Test wielokrotnego wyboru
wikitekst | rendering | uwagi | |
---|---|---|---|
{Pytanie |type="[]"} + Poprawna odpowiedź - Błędna odpowiedź + Poprawna odpowiedź - Błędna odpowiedź |
|
|
Krótkie odpowiedzi
wikitekst | rendering | uwagi | |
---|---|---|---|
{ |type="{}"} Gdzie urodził się Arystoteles? { Stageira } { |type="{}"} Imię nauczyciela Arystotelesa? { Platon } { |type="{}"} { Aleksander } był najsłynniejszym uczniem Arystotelesa. |
|
| |
{ |type="{}"} Imię słynnego greckiego filozofa. { Arystoteles|Platon } |
|
| |
{ |type="{}"} Name Aristotle's famous mentor. { Plato _6 } |
|
| |
{ Complete each box with a synonym of the following words |type="{}"} <ol> <li>free: { gratis _6 }</li> <li>well: { good _4 }</li> </ol> |
|
| |
{ |type="{}"} Where did Aristotle die? { Chalcis (i) } |
|
|
Gapfill / cloze
wikitext |
{Complete the text from the Wikipedia article on [[w:Aristotle|Aristotle]]. |type="{}"} Aristotle was born in { Stageira _8 } in Chalcidice. His parents were { Phaestis _8 } and { Nicomachus _10 }, who became physician to King Amyntas of Macedon. Aristotle was educated as a member of the aristocracy. At about the age of { eighteen|18 _8}, he went to { Athens _6 } to continue his education at { Plato _5 }'s Academy. Aristotle remained at the Academy for nearly twenty years, not leaving until after Plato's death in { 347 _3 } BC. | |
rendering |
| |
comments |
|
Numerical response
wikitext | rendering | comments | |
---|---|---|---|
{In which year was Plato born? |type="{}"} He was born in { 427-428 _5 } BC. |
|
| |
{How far is the earth from the sun? |type="{}"} { 91-95 _3 } million miles. |
|
| |
{What is 10 times 10? |type="{}"} { 100 5% _3 } |
|
| |
|
|
Tabular response type with radio buttons
wikitext | rendering | comments | |
---|---|---|---|
{Question |type="()"} | A | B | C +-- A is correct. -+- B is correct. --+ C is correct. |
|
|
Tabular response type with checkboxes
wikitext | rendering | comments | |
---|---|---|---|
{Question |type="[]"} | Option A | Option B | Option C ++- Question 1 (Clue: A and B are correct). -++ Question 2 ( Clue: B and C are correct). --+ Question 3 (Clue: C is correct). |
|
|
Advanced stuff
Inserting feedback
wikitext | rendering | comments | |
---|---|---|---|
{Question |type="()"} + The correct answer. || Feedback for correct answer. - Distractor. || Feedback for distractor. - Distractor. || Feedback for distractor. - Distractor. || Feedback for distractor. |
|
|
Inserting blocks of text between questions
wikitext | rendering | comments | |
---|---|---|---|
{This is the first question. |type="()"} + Prawidłowa odpowiedź - Zła odpowiedź - Zła odpowiedź {This is a block of text.} {This is the second question. |type="()"} + Prawidłowa odpowiedź - Zła odpowiedź - Zła odpowiedź |
|
|
Using images as answers
wikitext | rendered | comments | |
---|---|---|---|
<quiz display=simple> { Która grafika nie przedstawia orzechów? } - [[Image:Walnut03.jpg|100px]] + [[Image:Peanuts.jpg|100px]] + [[Image:Malus-Idared on tree.jpg|100px]] - [[Image:Pistachios in a bag.jpg|100px]] - [[Image:Chestnut.jpg|100px]] + [[Image:P10802511.JPG|100px]] </quiz> |
|
|
Using images in the question
wikitext | rendered | comments | |
---|---|---|---|
<quiz display=simple> { What is this? [[Image:Butterfly tongue.jpg|100px| ]] | type="()" } - Tiger + Butterfly - Bee - Fly </quiz> |
|
In this example, the image is part of the question. You just use normal wiki-markup to insert the image(s). |
Using animations
The section adds no new technical tricks, but it looks pretty.
|
|
|
Hyperlinks and other markup
Markup that works inside quizzes
- Hyperlinks: [[....]].
- Images: [[Image:....]].
- Other media: [[....]].
- Bold and italic.
- <big> and <br />
Markup that partly works inside quizzes
- Templates: {{....}}.
- subst doesn't work.
- Tables: {|....|}.
- Headings: e.g. ===....===.
- Warning: At the moment there is a problem with the toc.
- Lists and indents: using #, * and :
Adding music and sound effects
This is similar to insertion of images. Standard wiki markup is used.
Configuring points
wikitext (what you write) |
rendering (what you see) |
comments | |
---|---|---|---|
<quiz points="3/1!"> {Try this question now.} + Plus 3 points for this one. - Minus 1 point for this one. </quiz> |
|
| |
<quiz display=simple> {Try this question now. |type="()" } + 1 points for this one. - 0 points for this one. {Try this question now. |type="()" coef="2"} + 2 points for this one. - 0 points for this one. {Try this question now. |type="()" coef="4"} + 4 points for this one. - 0 points for this one. {Try this question now. |type="()" coef="0.5"} + 1/2 point for this one. - 0 points for this one. </quiz> |
|
|
Troubleshooting
- You cannot test out the quiz while editing a page, because the submit button is grayed out. If you wish to test your new quiz, then create a sandbox page somewhere else first (e.g. as a subpage of your user page), then test the quiz there, and finally transfer the quiz to its final location (and test it again anyway).
- The quiz was developed for IE6, IE7, Firefox (and Opera?), but display quality on Opera may not be optimal, and there may be display differences between browsers.
- A reminder: each question must be separated by a blank line, otherwise the questions are merged together into one question.
Future stuff
Information about future developments is mainly available at the project space on MediaWiki. Lots of things are in planning.
Zobacz też
MediaWiki
- The quiz extension project at MediaWiki where discussion and development of the quiz extension takes place.