Help:Wiki format brief overview

From Mod Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 19:18, 8 June 2007 (edit)
Smile (Talk | contribs)

← Previous diff
Revision as of 09:06, 9 June 2007 (edit) (undo)
Smile (Talk | contribs)

Next diff →
Line 9: Line 9:
==Surrounding tags== ==Surrounding tags==
-===Bold===+===Bold text===
-*Полужирный текст можно получить, заключив какой-то участок между парой трех одиночных кавычек+*You can get the bold text by enclosing the text section between three single inverted comas
-{{sample|<nowiki>'''Полужирный'''</nowiki>|'''Полужирный'''}}+{{sample|<nowiki>'''Bold'''</nowiki>|'''Bold'''}}
-===Italic===+===Italicize text===
-*Курсив получаем, заключив какой-то участок между парой двух одиночных кавычек+*Put the text between two single inverted comas to make the text Italic
-{{sample|<nowiki>''Курсив''</nowiki>|''Курсив''}}+{{sample|<nowiki>''Italic''</nowiki>|''Italic''}}
===Underlining=== ===Underlining===
-*Для подчеркивания необходимо окружить какой-то участок тегами '''<nowiki><u>...</u></nowiki>'''+*Put the text between the tags '''<nowiki><u>...</u></nowiki>''' to underline it
-{{sample|<nowiki><u>Подчеркивание</u></nowiki>|<u>Подчеркивание</u>}}+{{sample|<nowiki><u>Underlining</u></nowiki>|<u>Underlining</u>}}
===Tags combination=== ===Tags combination===

Revision as of 09:06, 9 June 2007

This page will get you familiar with the basic methods of formatting text in wiki environment, which is necessary to arrange a full-fledged article. Let's start from the principles.

Main principles

The main formatting principles are

  • Surrounding tags - with the text enclosed in them.
  • Single markers - indicate the format of the text after them.
  • Templates - complex tags, which create the portions of the text, for convenient use.

Surrounding tags

Bold text

  • You can get the bold text by enclosing the text section between three single inverted comas

Example:

how to write how it looks
'''Bold''' Bold


Italicize text

  • Put the text between two single inverted comas to make the text Italic

Example:

how to write how it looks
''Italic'' Italic


Underlining

  • Put the text between the tags <u>...</u> to underline it

Example:

how to write how it looks
<u>Underlining</u> Underlining


Tags combination

  • Теги можно использовать в комбинациях, важно только соблюдать правильную последовательсность.

Example:

how to write how it looks
'''<u>Подчеркивание</u>''' Подчеркивание


Block

  • Для того, чтобы отобразить блок воспользуйтесь парой <pre>...</pre>. Обратите внимание, что заключенный текст не будет комбинироваться с другими тегами, однако текст отобразится именно так, как вы его разместите. Сохраняя все пробелы и табуляции.

Example:

how to write how it looks
<pre>Блок</pre>
Блок


Headings

  • Очень важными тегами являются теги заголовка т.к. разделяют материал на логические разделы. Работу следующего примера Вы можете видеть в структуре заголовков данной страницы.
==Общие принципы==
...
==Surrounding tags==
...
==Single markers==
...
===Alternative block===

Маркеры-одиночки

Альтернативный блок

  • Минусом создания блока через теги <pre>...</pre> является его неспособность форматировать текст внутри себя. Этого нет в альтернативном блоке, создать который можно, установив пробел перед началом каждой его строки.

Example:

how to write how it looks

Альтернативный
Блок

Альтернативный
Блок

Содержание

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

Example:

how to write how it looks
__TOC__

Contents

Шаблоны

Пример

  • На этой странице я не раз воспользовался шаблоном примера. Условие зачастую заключается в тег НЕформатирования <nowiki>...</nowiki>.
{{sample|<nowiki>Условие</nowiki>|Отображение}}

Дополнительно

Editing note

Personal tools
In other languages