Help:Wiki format brief overview

From Mod Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 09:27, 9 June 2007 (edit)
Smile (Talk | contribs)

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

Next diff →
Line 50: Line 50:
Block}} Block}}
===Contents=== ===Contents===
-*Появляется автоматически при наличии в тексте более четырех заголовков, однако можно принудительно отобразить содержание.+*Appears automatically when the text has more than three headings, however the contents box can be displayed forcibly with the tags below.
{{sample|<nowiki>__TOC__</nowiki>|__TOC__}} {{sample|<nowiki>__TOC__</nowiki>|__TOC__}}
-==Шаблоны==+==Templates==
-===Пример===+===Example===
*На этой странице я не раз воспользовался шаблоном примера. Условие зачастую заключается в тег НЕформатирования '''<nowiki><nowiki>...</nowiki ></nowiki>'''. *На этой странице я не раз воспользовался шаблоном примера. Условие зачастую заключается в тег НЕформатирования '''<nowiki><nowiki>...</nowiki ></nowiki>'''.
<pre>{{sample|<nowiki><nowiki>Условие</nowiki></nowiki>|Отображение}}</pre> <pre>{{sample|<nowiki><nowiki>Условие</nowiki></nowiki>|Отображение}}</pre>
-==Дополнительно==+==Extras==
[[Help:Editing note|Editing note]] [[Help:Editing note|Editing note]]
[[Category:Web-site directory|{{PAGENAME}}]] [[Category:Web-site directory|{{PAGENAME}}]]
[[ru:Справка:Краткий курс формата MediaWiki]] [[ru:Справка:Краткий курс формата MediaWiki]]

Revision as of 09:30, 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

  • Tags can be used in combinations, it's important to keep the correct sequence.

Example:

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


Block

  • Use the pair <pre>...</pre> to create a block. Bear in mind that the enclosed text will not be combined with the other tags, however the text will be displayed in the place where you put it, retaining all spaces and tabulations.

Example:

how to write how it looks
<pre>Block</pre>
Block


Headings

  • The heading tags are very important because they separate the logical sections. You can see how the headings function below.
==Общие принципы==
...
==Surrounding tags==
...
==Single markers==
...
===Alternative block===

Single markers

Alternative block

  • The drawback of creating block with <pre>...</pre> tags is its inability to format text enclosed within it. There's no such problems with alternative blocks; you can create it, having put space in the beginning of each phrase of the block.

Example:

how to write how it looks

Alternative
Block

Alternative
Block

Contents

  • Appears automatically when the text has more than three headings, however the contents box can be displayed forcibly with the tags below.

Example:

how to write how it looks
__TOC__

Contents

Templates

Example

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

Extras

Editing note

Personal tools
In other languages