Ajuda:Com editar una pàgina: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
Línia 10: Línia 10:
Abans que deseu la pàgina, es considera una bona pràctica introduir un resum molt breu dels canvis en la casella de resum, sota la casella d'edició.
Abans que deseu la pàgina, es considera una bona pràctica introduir un resum molt breu dels canvis en la casella de resum, sota la casella d'edició.


== Formatting ==
== Formatació ==


Most '''formatting''' in MoodleDocs is usually done with MediaWiki markup - you don't have to learn HTML!
La majoria de la '''formatació''' en MoodleDocs es fa normalment amb l'etiquetatge de MediaWiki - no necessiteu aprendre HTML!


=== Bold and italics ===
=== Negreta i cursiva ===
'''Bolding''' and ''italicizing'' is done by surrounding a word or phrase with multiple apostrophes (<tt>'</tt>):
La '''negreta''' i la ''cursiva'' se fan envoltant una paraula o frase amb múltiples apòstrofs (<tt>'</tt>):


:<code><nowiki>''italics''</nowiki></code> appears as ''italics''. (2 apostrophes on both sides)
:<code><nowiki>''cursiva''</nowiki></code> apareix com a ''cursiva''. (2 apòstrofs als dos costats)
:<code><nowiki>'''bold'''</nowiki></code> appears as '''bold'''. (3 apostrophes on both sides)
:<code><nowiki>'''negreta'''</nowiki></code> apareix com a '''negreta'''. (3 apòstrofs als dos costats)
:<code><nowiki>'''''bolded italics'''''</nowiki></code> appears as '''''bolded italics'''''.  (5 apostrophes on both sides)
:<code><nowiki>'''''negreta i cursiva'''''</nowiki></code> apareix com a '''''negreta i cursiva'''''.  (5 apòstrofs als dos costats)


=== Headings and subheadings ===
=== Títols i subtítols ===
Headings and subheadings are an easy way to improve the organization of an article.  
Els títols i subtítols són una manera fàcil de millorar l'organització d'un article.


Headings can be created like this:
Els títols poden crear-se així:
:<code><nowiki>==Top level heading==</nowiki></code> (2 equals signs)
:<code><nowiki>==Nivell d'encapçalament més alt==</nowiki></code> (2 signes d'igual)
:<code><nowiki>===Subheading===</nowiki></code> (3 equals signs)
:<code><nowiki>===Subtítol===</nowiki></code> (3 signes d'igual)
:<code><nowiki>====Another level down====</nowiki></code> (4 equals signs)
:<code><nowiki>====Un altre nivell baix====</nowiki></code> (4 signes d'igual)


If an article has at least four headings, a table of contents will automatically be generated.
Si un article té al menys quatre títols, es generarà automàticament una taula de continguts.


=== Indentations ===
=== Sagnats ===
The simplest way of indenting is to place a colon (<code>:</code>) at the beginning of a line. The more colons you put, the further indented the text will be. A newline marks the end of the indented paragraph e.g.
La manera més senzilla de sagnar és posar dos punts (<code>:</code>) al començament de la línia. Com més signes de dos punts poseu, el sagnat del text serà més profund. Una nova línia marca el final del paràgraf sagnat p.ex.  
:<code>This is aligned all the way to the left.</code>
:<code>Aquest està alineat fins al final a l'esquerra.</code>
:<code><nowiki>:</nowiki>This is indented slightly.</code>
:<code><nowiki>:</nowiki>Aquest està sagnat lleugerament.</code>
:<code><nowiki>::</nowiki>This is indented more.</code>
:<code><nowiki>::</nowiki>Aquest està més sagnat.</code>
is shown as
es mostra com
:This is aligned all the way to the left.
:Aquest està alineat fins al final a l'esquerra.
::This is indented slightly.
::Aquest està sagnat lleugerament.
:::This is indented more.
:::Aquest està més sagnat.


=== Lists ===
=== Lists ===

Revisió del 12:28, 8 març 2007

Aquesta pàgina serveix per a editar la documentació de Moodle (MoodleDocs). Aquest és un tipus de programa similar però més robust que el mòdul wiki estàndard.

Pestanya d'edició

Cada pàgina de MoodleDocs té una pestanya d'edició a la part superior. Aquest enllaç us permetrà editar la pàgina que esteu veient. Intenteu editar una pàgina en aquesta zona de proves. Cobrirem més característiques de format i MoodleDocs especial baix.

Mostra previsualització

En el mode d'edició, el botó de mostra previsualització a la part inferior de la pàgina us permet veure quin aspecte tindrà la pàgina que esteu editant, abans que la deseu realment. Tots comentem errors, aquesta característica us permet veure'ls immediatament. Utilitzar Mostra previsualització abans de desar els canvis també us permet provar els canvis de format i altres edicions sense abarrotar la pàgina d'història, i té més avantatges. No oblideu desar allò que heu editat després de la previsualització!

Edició del resum

Abans que deseu la pàgina, es considera una bona pràctica introduir un resum molt breu dels canvis en la casella de resum, sota la casella d'edició.

Formatació

La majoria de la formatació en MoodleDocs es fa normalment amb l'etiquetatge de MediaWiki - no necessiteu aprendre HTML!

Negreta i cursiva

La negreta i la cursiva se fan envoltant una paraula o frase amb múltiples apòstrofs ('):

''cursiva'' apareix com a cursiva. (2 apòstrofs als dos costats)
'''negreta''' apareix com a negreta. (3 apòstrofs als dos costats)
'''''negreta i cursiva''''' apareix com a negreta i cursiva. (5 apòstrofs als dos costats)

Títols i subtítols

Els títols i subtítols són una manera fàcil de millorar l'organització d'un article.

Els títols poden crear-se així:

==Nivell d'encapçalament més alt== (2 signes d'igual)
===Subtítol=== (3 signes d'igual)
====Un altre nivell baix==== (4 signes d'igual)

Si un article té al menys quatre títols, es generarà automàticament una taula de continguts.

Sagnats

La manera més senzilla de sagnar és posar dos punts (:) al començament de la línia. Com més signes de dos punts poseu, el sagnat del text serà més profund. Una nova línia marca el final del paràgraf sagnat p.ex.

Aquest està alineat fins al final a l'esquerra.
:Aquest està sagnat lleugerament.
::Aquest està més sagnat.

es mostra com

Aquest està alineat fins al final a l'esquerra.
Aquest està sagnat lleugerament.
Aquest està més sagnat.

Lists

What it looks like What you type
  • Unordered lists are easy to do:
    • start every line with a star
      • more stars means deeper levels
  • A newline
  • in a list

marks the end of the list.

* Unordered Lists are easy to do:
** start every line with a star
*** more stars means deeper levels
*A newline
*in a list  
marks the end of the list.
  1. Numbered lists are also good
    1. very organized
    2. easy to follow
  2. A newline
  3. in a list

marks the end of the list.

# Numbered lists are also good
## very organized
## easy to follow
#A newline
#in a list  
marks the end of the list.

Preserving formatting

What it looks like What you type

Leading spaces are another way to preserve formatting.

Putting a space at the beginning of each line
stops the text from being reformatted. 
Leading spaces are another way to preserve formatting.

 Putting a space at the beginning of each line
 stops the text from being reformatted.

You can also use

<pre>

tags around code and other preformatted text.

 or use block the text and use the nowiki tool

Links

Links to other pages are the heart of a wiki and MoodleDocs.

Wiki links

To make a wiki link, simply put the word in double square brackets, like this: [[Sandbox]] . Highlight text and using the "internal link" tool will do this as well.

If you want to use words other than the article title as the text of the link, you can do so by adding the pipe "|" divider followed by the alternative name or text.

For example, if you wanted to make a link to the Sandbox, but wanted it to say "my text" you would write it as: [[Sandbox|my text]]... It would appear as: my text... but would link to the sandbox.

External links

The easiest way to make an external link is to simply type in the full URL for the page you want to link to e.g. http://moodle.com.

To make the link display something other than the URL, use one square bracket at each end. If you want to make a link to moodle.com, type [http://moodle.com/] This will display the link as a number in brackets, like this: [1]. There is also the external link tool which can also assist you.

If you want the link to appear with text that you specify, add an alternative title after the address separated by a space (not a pipe). So if you want the link to appear as Moodle, just type [http://moodle.com Moodle] .

Categories links

A catagory is a type of index page, a page of links listed in alphabetical order. In page view mode, a list of catagories that a page is linked to, appears at the bottom. To put a page in a category, just type [[Category:]], and put the name of the category between the colon and the brackets.

To link directly to a category use [[:Category:Teacher | teacher]], this will show as teacher, note the preceding ":", which is different to [[Category:Teacher | teacher]]. The second will put the current page in the teacher category as mentioned above.

This page is linked to the single catagory "MoodleDocs".

Inter-language links

Simply type [[es:Corresponding page title in Spanish]] in the English Moodle Docs, or [[en:Corresponding page title in English]] in the Spanish Moodle Docs, at the bottom of the page, below the category link. Inter-language links will appear automatically in the "In other languages" block.

User-page links

User names can be linked to a user page. For example [[User:Helen Foster|Helen Foster]] will appear Helen Foster and link to the user's page. Comments by other users are generally left on the Users page comment tab.

Page comments

The page comment tab is used for discussion about the page. Sometimes before making an edit on the page for the first time, it is a good idea to check the page comments. It can be formatted the same as a main page, thus can be used to show a draft of a proposed change.

Talk page contributions may be signed and dated by typing four tildes ~~~~. This will appear as Helen Foster 06:35, 19 February 2006 (WST), for example.

Page history

The page history tab allows a way to look at changes between different edits. It is also possible to revert (roll back) an edit to a previous version. Usually this is left to the administrator, but you certainly can rollback your recent edits.


Watch and unwatch page

A watched page will appear on "my watchlist" when ever someone edits the page. There is a tab next to history which acts as a toggle between watch and unwatch. There is also at the bottom of the page in edit mode a "Watch this page" check off box.

See also

nl:Meehelpen ru:Справка:Редактирование