Pomoc:Quiz: Różnice pomiędzy wersjami
dalsze tłumaczenie |
|||
Linia 355: | Linia 355: | ||
Wikipedii:[[w:Arystoteles|Arystoteles]]. |
Wikipedii:[[w:Arystoteles|Arystoteles]]. |
||
|type="{}"} |
|type="{}"} |
||
Arystoteles urodził się w roku { 384 _3 } p.n.e. w greckiej kolonii { Stagira _7 } |
Arystoteles urodził się w roku { 384 _3 } p.n.e. w greckiej kolonii { Stagira _7 } |
||
(τα Στάγειρα) (dlatego mówi się o nim także Stagiryta), u wybrzeży Tracji. Jego |
|||
ojciec { Nikomachos _10 } był nadwornym lekarzem macedońskiego króla Amyntasa. |
|||
Matka Arystotelesa miała na imię { Phaestis _8 } (Fajstiada). |
|||
</pre> |
</pre> |
||
|- |
|- |
Wersja z 20:30, 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? { Stagira } { |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="{}"} Gdzie umarł Arystoteles? { Chalkis (i) } |
|
|
Uzupełnianki
wikitekst |
{Uzupełnij tekst na podstawie artykułu z Wikipedii:[[w:Arystoteles|Arystoteles]]. |type="{}"} Arystoteles urodził się w roku { 384 _3 } p.n.e. w greckiej kolonii { Stagira _7 } (τα Στάγειρα) (dlatego mówi się o nim także Stagiryta), u wybrzeży Tracji. Jego ojciec { Nikomachos _10 } był nadwornym lekarzem macedońskiego króla Amyntasa. Matka Arystotelesa miała na imię { Phaestis _8 } (Fajstiada). | |
rendering |
| |
uwagi |
|
Odpowiedź liczbowa
wikitekst | rendering | uwagi | |
---|---|---|---|
{W którym roku urodził się Platon? |type="{}"} Urodził się w { 427-428 _5 } p.n.e. |
|
| |
{Ile kilometrów od Słońca znajduje się Ziemia? |type="{}"} { 148-151 _3 } milionów kilometrów. |
|
| |
{Ile to jest 10 razy 10? |type="{}"} { 100 5% _3 } |
|
| |
|
|
Tabular response type with radio buttons
wikitekst | rendering | uwagi | |
---|---|---|---|
{Pytanie |type="()"} | A | B | C +-- A jest poprawne. -+- B jest poprawne. --+ C jest poprawne. |
|
|
Tabular response type with checkboxes
wikitekst | rendering | uwagi | |
---|---|---|---|
{Pytanie |type="[]"} | Opcja A | Opcja B | Opcja C ++- Pytanie 1 (Podpowiedź: A i B są poprawne). -++ Pytanie 2 ( Podpowiedź: B i C są poprawne). --+ Pytanie 3 (Podpowiedź: C jest poprawne). |
|
|
Zaawansowane możliwości
Inserting feedback
wikitekst | rendering | uwagi | |
---|---|---|---|
{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.