Subversion Repositories wimsdev

Rev

Rev 13477 | Rev 15179 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13477 Rev 13705
Line 1... Line 1...
1
type=imaudio
1
type=imaudio
2
textarea="data"
2
textarea="data instruction"
-
 
3
iEdit="instruction"
3
 
4
 
4
:Choisir parmi des étiquettes ce qui correspond à l'image (ou au texte présenté)
5
:Write the word corresponding to the picture (or text presented)
5
Attention, ce modèle ne fonctionnera bien que si vous chargez les images sur wims.
6
Be careful, this model will only work well if you upload images on WIMS.
6
<p>
7
<p>
7
Pour construire un exercice avec ce modèle, il suffit de taper la liste des images et
8
To build an exercise with this model,
8
des étiquettes correspondantes
9
 simply type the list of images and corresponding labels.
9
</p>
10
</p>
10
$image_help
11
$image_help
11
<p class="wims_credits">
12
<p class="wims_credits">
12
Author of the model: Bernadette Perrin-Riou <bpr@math.u-psud.fr>
13
Author of the model: Bernadette Perrin-Riou <bpr@math.u-psud.fr>
13
</p>
14
</p>
Line 16... Line 17...
16
Remove the above header if you destroy the model tags! (The lines starting
17
Remove the above header if you destroy the model tags! (The lines starting
17
with a ':'.) Otherwise the exercise might not be taken back by Createxo.
18
with a ':'.) Otherwise the exercise might not be taken back by Createxo.
18
 
19
 
19
:%%%%%%%% Sample parameters to be redefined %%%%%%%%%%%%%%%%%
20
:%%%%%%%% Sample parameters to be redefined %%%%%%%%%%%%%%%%%
20
 
21
 
21
 
-
 
22
:\title{Reconnaître une image}
22
:\title{Recognize a picture}
23
:\author{Bernadette, Perrin-Riou}
23
:\author{Bernadette, Perrin-Riou}
24
:\email{bpr@math.u-psud.fr}
24
:\email{bpr@math.u-psud.fr}
25
:\credits{}
25
:\credits{}
26
 
26
 
27
:Instructions
27
:Instructions
28
\text{instruction=Ecris le mot correspondant à l'image (l'exercice ne fonctionnera que quand les images seront chargées
28
\text{instruction=Write the word corresponding to the picture<br/>
29
dans l'exercice)}
29
<em>(the exercise will only work when you have uploaded images into the exercise)</em>}
30
 
30
 
31
:Data
31
:Data
32
\text{data=amphitheatre.png,l'amphithéâtre
32
\text{data=amphitheater.png, amphitheater
33
aqueduc.png, l'aqueduc
33
aqueduct.png, aqueduct
34
arcdetriomphe.png,l'arc de triomphe
34
triumphal_arch.png, the triumphal arch
35
cirque.png, le cirque
35
circus.png, circus
36
domus.png, la domus
36
domus.png, domus
37
temple.png, le temple
37
temple.png, temple
38
theatre.png, le théâtre
38
theater.png, theater
39
thermes.png, les termes
39
thermes.png, baths
40
}
40
}
41
 
41
 
42
:La taille des cases en pixels.
42
:Boxes size (in pixels)
43
\text{sizeh=40}
43
\text{sizeh=40}
44
:%%%%%%%%%%%%% Now the statement in HTML. %%%%%%%%%%%%%%%%%%%%
44
:%%%%%%%%%%%%% Now the statement in HTML. %%%%%%%%%%%%%%%%%%%%
45
 
45
 
46
\text{mot = randrow(\data)}
46
\text{mot = randrow(\data)}
47
\text{mot=wims(embraced randitem \mot)}
47
\text{mot=wims(embraced randitem \mot)}
48
\text{image=\mot[1]}
48
\text{image=\mot[1]}
49
\text{ext=item(2,wims(replace internal . by , in wims(lowercase \image)))}
49
\text{ext=item(2,wims(replace internal . by , in wims(lowercase \image)))}
50
\text{mot =\mot[2]}
50
\text{mot =\mot[2]}
51
 
51
 
52
\statement{
52
\statement{
53
\instruction
53
  <div class="instructions">\instruction</div>
54
<p class="wimscenter">
54
  <div class="wimscenter">
55
\if{\ext isitemof png,gif,jpg,jpeg}{
55
    \if{\ext isitemof png,gif,jpg,jpeg}{
56
  \img{\imagedir/\image}
56
        \img{\imagedir/\image}
57
  }
57
      }
58
  {\image}</p>
58
      {\image}
-
 
59
  </p>
59
 
60
 
60
<div class="wimscenter">
61
  <div class="wimscenter">
61
\embed{r1,\sizeh
62
    \embed{r1,\sizeh
62
default
63
default
63
autocomplete="off"}
64
autocomplete="off"}
64
</div>
65
  </div>
65
}
66
}
-
 
67
 
66
\answer{}{\mot}{type=case}
68
\answer{}{\mot}{type=case}