mirrored from git://git.moodle.org/moodle.git
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
/
wiki.html
executable file
·226 lines (194 loc) · 7.39 KB
/
wiki.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
<p align="center"><b>Come redigere pagine in formato Wiki</b></p>
<p>
Il formato Wiki fornisce un metodo per formattare un testo un
<em>tag</em> intuitivi e comprensibili. Quando il testo Wiki sarà visualizzato,
si trasformerà in formato XHTML.
Il
notevole
vantaggio
del
formato
Wiki
risiede nel fatto che non è necessario imparare l'HTML per ottenere risultati
validi e che il testo che redigete rimane <em>comprensibile</em> anche <em>prima</em> della
conversione. Il formato Wiki è di fatto un'alternativa al semplice salvataggio
di file Word in formato HTML con in più la possibilità di mantenere la modificabilità
del testo direttamente on-line.</p>
<p>Per scrivere in formato Wiki, è sufficiente inserire del testo semplice al
quale aggiungere una serie di caratteri speciali di controllo della formattazione.</p>
<h3>Formattazione di paragrafi</h3>
<p>
I paragrafi devono essere separati da almeno un'interlinea. Per aggiungere
formati ai paragrafi, aggiungete uno dei seguenti caratteri di controllo
come primo carattere della prima riga del paragrafo seguito da uno spazio
vuoto.</p>
<table>
<tr>
<th>Carattere</th>
<th>Tipo di formattazione</th>
</tr>
<tr>
<td>Nessuno</td>
<td>Paragrafo normale</td>
</tr>
<tr><td>></td>
<td>Citazione</td>
</tr>
<tr>
<td>Spazio</td>
<td>Testo pre formattato (Carattere Monospaced)</td>
</tr>
<tr><td>%</td>
<td>Esclude la pre formattazione <em>ed</em> il formato Wiki</td>
</tr>
<tr><td>!#</td>
<td>Titolo - sostituire al simbolo # i numeri da 1 a 6 per indicare la dimensione
del titolo. (1 è la più grande)</td>
</tr>
<tr><td>Q.</td>
<td>Domanda - utilizzata per migliorare la presentazione di testi contenenti
domande e risposte</td>
</tr>
<tr><td>A.</td>
<td>Risposta - vedi sopra</td>
</tr>
</table>
<h3> Formattazione di elenchi</h3>
<p>Elenchi semplici possono essere realizzati inserendo caratteri speciali
seguiti da uno spazio all'inizio di ciascuna riga. L'elenco termina con una
linea vuota. Gli elenchi possono essere nidificati a piacimento. </p>
<table>
<tr><th>Carattere</th>
<th>Tipo di elenco</th>
</tr>
<tr><td>*</td>
<td>Elenco puntato non ordinato</td>
</tr>
<tr><td>#</td>
<td>Elenco numerato ordinato</td>
</tr>
<tr><td>:</td>
<td>Elenco di definizioni, definizione</td>
</tr>
<tr><td>;</td>
<td>Elenco di definizioni, testo</td>
</tr>
</table>
<p>Il seguente esempio di elenco nidificato:</p>
<pre>
* Primo elemento
* Secondo elemento
## elemento nidificato 1
## elemento nidificato 2
* Terzo elemento</pre>
<p>produce il seguente risultato:
<ul>
<li>Primo elemento</li>
<li>Secondo elemento</li>
<ol>
<li>elemento nidificato 1</li>
<li>elemento nidificato 1</li></ol>
<li>Terzo elemento
</ul>
<h3>Formattazione del testo</h3>
<p> La formattazione del testo consente di formattare parti di linee con stili
particolari.
Questi caratteri speciali possono essere inseriti in un qualsiasi punto del
testo ma non possono essere incrociati.</p>
<table>
<tr><th>Example</th><th>Example</th><th>Formatting</th></tr>
<tr><td>*hello world*</td><td><strong>hello world</strong></td>
<td>Grassetto</td>
</tr>
<tr><td>/hello world/</td><td><em>hello world</em></td>
<td>Corsivo</td>
</tr>
<tr><td>+hello world+</td><td><ins>hello world</ins></td>
<td>Sottolineato</td>
</tr>
<tr><td>-hello world-</td><td><del>hello world</del></td>
<td>Barrato</td>
</tr>
<tr><td>hello ~world~</td><td>hello <sub>world</sub></td>
<td>Pedice</td>
</tr>
<tr><td>hello ^world^</td><td>hello <sup>world</sup></td>
<td>Apice</td>
</tr>
<tr><td>"hello world"</td><td>“hello world”</td>
<td>Virgolette</td>
</tr>
<tr><td>%hello world%</td><td><code>hello world</code></td>
<td>Carattere Monospaced</td>
</tr>
<tr><td>@hello world@</td><td><cite>hello world</cite></td>
<td>Esempio</td>
</tr>
</table>
<h3>Acronimi</h3>
<p>Per usare gli acronimi è sufficiente scrivere l'acronimo in maiuscolo seguito
dalla descrizione tra parentesi. Tra l'acronimo e la parentesi aperta non ci
devono essere spazi vuoti. Esempio:</p>
<p>HTML(Hypertext Markup Language) <br /> <acronym title="Hypertext Markup Language">HTML</acronym></p>
<h3>Hyper Link</h3>
<p>I link possono essere inseriti nel testo facendoli seguire tra parentesi con
le parole che volete compaiano. Tra il testo del link e la parentesi
aperta
non ci devono ssere spazi vuoti.</p>
<p>Esempio: </em>http://www.google.com/(Cerca)</em> sarà
convertito in <a href="http://www.google.com/">Cerca</a>.</p>
<p>Analogamente, per i link di posta elettronica:</p>
<p>nobody@example.com(Test User) sarà convertito in <a href="mailto:nobody@example.com">Test
User</a></p>
<h3>Link ai moduli di Moodle</h3>
<p>Se conoscete l'id di un modulo di Moodle (cercate
" ?id=nn" al termine dalla URL che punta al modulo)
e il nome del modulo, potete creare un link al modulo utilizzando
la seguente sintassi:</p>
<p>NomeDelModulo:nn(Descrizione)</p>
<p>per esempio, <em>risorsa:36(Una pagina)</em> <em>forum:10(Vai al forum)</em></p>
<h3>Link alle immagini di Moodle</h3>
<p> E' possibile inserire immagini in qualsiasi punto del testo Wiki.
E' necessario eseguire preventivamante l'upload delle immagini e tenere nota
del percorso all'interno dell'area di upload. <br />
Sintassi:</p>
<p>/<em>..percorso del file..</em>(testo alternativo)</p>
<p>Per esempio: /mypics/graphic.jpg(Immagine dello staff)</p>
<h3>Link ai file di Moodle</h3>
<p>Analogamante alla immagini, è possibile creare link ai file. Anche i file
devono essere preventivamante caricati nell'area di upload.<br />
Sintassi:</p>
<p><b>file:</b><em>..percorso del file</em>(testo del link)</p>
<p>Per esempio, file:/pdfs/moodle.pdf(Informazioni su Moodle)</p>
<h3>Formattazione automatica</h3>
<p> Molte espressioni di uso comune sono convertite in XHTML automaticamante.
Le principali sono:</p>
<ul>
<li>HTTP link sono convertiti in link attivi
<li> ..., (R), (TM), (C), 1/4, 1/2, 3/4 sono convertiti nell'opportuno carattere
corrispondente.
<li> numeri x numeri si converte nel giusto simbolo di moltiplicazione
<li>una linea che iniza con almeno quattro trattini è convertita in una linea
orizzontale.
</ul>
<h3>Controllo ortografico (Sperimentale)</h3>
<p>Per attivare il controllo ortografico, potete inserire le seguente linea di
testo riportata sotto. Tutto il testo che segue la linea sarà controllato.
<pre>
!SPELL:language_code:language_variant
Examples:
!SPELL:en:british
!SPELL:sp
</pre>
<p>"language_code" deve essere sostituito dal codice della lingua desiderata
(e.g., EN, FR etc), <br />" language_variant" (insieme ai due punti) è facoltativo
e può assumere i valori, nel caso di language_code= EN, "american", "british",
o "canadian".</p>
<p>Le parole non riconosciute sono evidenziate e potete valutare i suggerimenti
posizionando il mouse sopra la parola.</p>
<p><em>NOTA: il controllo ortografico utilizza le librerie <strong>pspell</strong>.
Queste librerie sono necessarie così come è necessario disporre nel proprio
server del dizionario della lingua che si intende utilizzare. In
mancanza, il controllo ortografico non potrà funzionare. Il controllo ortografico
non
è supportato in Windows.</em></p>