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

Материал из MoodleDocs
Перейти к:навигация, поиск

Каждая страница wiki содержит закладку "править". Она позволяет сделать именно то, что написано, т.е. изменять страницу, которую вы сейчас просматриваете. Пожалуйста, тренируйтесь в песочнице!

Предварительный просмотр

Предварительный просмотр позволяет вам увидеть, как страница будет выглядеть после редактирования, не сохраняя внесенных изменений. Мы все делаем ошибки, и эта возможность позволит вам обнаружить их сразу же. Использование предварительного просмотра до сохранения имеет ряд преимуществ, в том числе позволяет вам проверить изменения форматирования и другие правки без засорения истории изменений. Но не забудьте сохранить все внесенные изменения после предварительного просмотра!

Краткое описание изменений

Перед сохранением внесенных изменений хорошей практикой является заполнение поля "Краткое описание изменений", расположенного сразу под полем редактирования.

Форматирование

Most formatting is usually done with Wiki markup - you don't have to learn HTML!

Полужирный и курсив

Для того чтобы выделить слово или фразу полужирным и/или курсивом, необходимо обрамить их несколькими апострофами ('):

''курсив'' отобразится как курсив. (по 2 апострофа с каждой стороны)
'''полужирный''' отобразится как полужирный. (по 3 апострофа с каждой стороны)
'''''полужирный курсив''''' отобразится как полужирный курсив. (по 5 апострофов с каждой стороны)

Заголовки и подзаголовки

Заголовки и подзаголовки - это простой путь улучшения структуры статьи.

Заголовки могут быть созданы следующим образом:

==Заголовок верхнего уровня== (2 знака равенства)
===Подзаголовок=== (3 знака равенства)
====Заголовок еще на один уровень ниже==== (4 знака равенства)

Если статья имеет, по крайней мере, четыре заголовка, в ее начале автоматически будет добавлено оглавление.

Отступы

Отступ проще всего можно сделать, разместив доветочие (:) в начале строки. Чем больше символов двоеточие вы добавите, тем больший отступ получится. Новая строка обозначает конец абзаца с отступом. Например,

Эта строка выровнена по левому краю.
:Эта строка имеет небольшой отступ.
::Эта строка имеет больший отступ.

будет отображено как

Эта строка выровнена по левому краю.
Эта строка имеет небольшой отступ.
Эта строка имеет больший отступ.

Списки

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.

Сохранение форматирования

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.

Ссылки

Wiki ссылки

To make a wiki link, simply put the word in double square brackets, like this: [[Sandbox]]

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.

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.

Внешние ссылки

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].

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] .

Категории

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.

Связывание с другими языками

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.

Ссылки на страницу пользователя

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.

Смотрите также