Pomoc:Quiz: Różnice pomiędzy wersjami

Usunięta treść Dodana treść
Viatoro (dyskusja | edycje)
Viatoro (dyskusja | edycje)
Linia 742:
Jest to podobne do używania grafik. Działają tutaj standardowe komendy wikikodu.
 
=== ConfiguringPodział pointspunktów ===
 
{| class="prettytable"
!wikitextwikitekst<br />(whatto youco writepiszesz)!!rendering<br />(whatto youco seewidzisz)!!commentsuwagi
 
|-
Linia 751:
<pre>
&lt;quiz points="3/1!"&gt;
{Wypróbuj teraz.}
{Try this question now.}
+ Plus 3 pointspunkty forza this one.odpowiedź
- Minus 1 pointpunkt forza this one.
&lt;/quiz&gt;
</pre>
Linia 760:
|<quiz points="3/1!">
 
{Wypróbuj teraz.}
{Try this question now.}
+ Plus 3 pointspunkty forza this one. odpowiedź
- Minus 1 pointpunkt forza this one.
 
</quiz>
|}
| valign=top|
* Domyślnie jest 1 punkt za odpowiedź poprawną i 0 za błędną.
* By default, there is 1 point for a correct answer and 0 for a wrong answer.
* YouMożna canto changezmienić thispoprzez forużycie the whole quiz by using aatrybutu ''points'' attributedla for thetagu ''quiz'' tag.
* Format atrybutu wygląda tak "X/Y!", gdzie X oznacza punkty za poprawną odpowiedź i Y za złą. Punkty Y zapisuje się jako liczby naturalne, ale są one odejmowane od ogólnego wyniku.
* The format is "X/Y!", where X gives the points for a correct answer and Y the points for a wrong answer. The Y points are expressed as a positive integer but are ''subtracted'' from the score.
* Jeżeli w konstrukcji quizu występuje atrybut ''display=simple'' to powstaje bug, który niweluje efekt podziału punktów (wersja 0.9.2).
* Due to a '''bug''', the ''points'' attribute has no effect if ''display=simple'' is used (version 0.9.2).
* ValuesWartości liketakie jak 1.25 or 2.5 are alloweddopuszczalne.
 
|-
Linia 777:
<pre>
&lt;quiz display=simple&gt;
{Wypróbuj to pytanie
{Try this question now.
|type="()" }
+ 1 punkt
+ 1 points for this one.
- 0 punktów
- 0 points for this one.
 
{Wypróbuj to pytanie
{Try this question now.
|type="()" coef="2"}
+ 2 punkty
+ 2 points for this one.
- 0 punktów
- 0 points for this one.
 
{Wypróbuj to pytanie
{Try this question now.
|type="()" coef="4"}
+ 4 punkty
+ 4 points for this one.
- 0 punktów
- 0 points for this one.
 
{Wypróbuj to pytanie
{Try this question now.
|type="()" coef="0.5"}
+ 1/2 point for this one.punktu
- 0 punktów
- 0 points for this one.
&lt;/quiz&gt;
</pre>
Linia 802:
|<quiz display=simple>
 
{Wypróbuj to pytanie
{Try this question now.
|type="()" }
+ 1 punkt
+ 1 point for this one.
- 0 punktów
- 0 points for this one.
 
{Wypróbuj to pytanie
{Try this question now.
|type="()" coef="2"}
+ 2 punkty
+ 2 points for this one.
- 0 punktów
- 0 points for this one.
 
{Wypróbuj to pytanie
{Try this question now.
|type="()" coef="4"}
+ 4 punkty
+ 4 points for this one.
- 0 punktów
- 0 points for this one.
 
{Wypróbuj to pytanie
{Try this question now.
|type="()" coef="0.5"}
+ 1/2 point for this one.punktu
- 0 punktów
- 0 points for this one.
 
</quiz>
|}
| valign=top|
*Oznaczenie ''coef'' określa wagę pytania. Normalnie wszystkie pytania mają tyle samo punktów za poprawne odpowiedzi, domyślnie jest to 1 punkt. Używając ''coef'' możesz zmieniać wartości punktów dla każego pytania z osobna.
* A ''coefficient'' is a way of giving a weighting to a specific question. Normally all the questions have the same number of points. By default, they all have one point. By specifying a coefficient for each or any question, you can multiply the number of points for that question by the coefficient.
* Wartości punktów należy otoczyć podwójnymi apostrofami.
* Coefficients can be both numbers above one and numbers between 0 and 1. If the coefficient is above 1, the question will receive greater weighting. If the coefficient is less than 1, the question will receive less weighting.
* You '''must''' put inverted commas around the argument of the ''coef'' attribute.
 
|}