Список стилей
Причина: Много нерабочей и не нужной информации, не отформатировано
Это страница со стилями которые вы можете использовать в функциях нашей вики, сейчас она на английском, содержит огромное количество ненужной и не работающей информации и просто плохо выглядит. Но свою цель она выполняет уже сейчас, тут действительно есть некоторые рабочие стили которые нигде в другом месте не указаны, рекомендую зайти в режим редактирования кода и читать от туда.
Начинать изменения стоит с добавления тэга <pre> в столб "выдаёт", а после удалить все не рабочие шаблоны.
text formatting markup
Description | пишите | выдаёт |
---|---|---|
character (inline) formatting applies anywhere | ||
italic text | italic |
italic |
bold text | bold |
bold |
bold and italic | bold & italic |
bold & italic Шаблон:Table-anchorrow |
escape wiki markup | <syntaxhighlight lang="html">
Шаблон:^(nowikiШаблон:)^ no wiki markupШаблон:^(/nowikiШаблон:)^ </syntaxhighlight> |
no wiki markup |
section formatting only at the beginning of the line | ||
section headings of different levels |
level 2level 3level 4level 5level 6 |
level 2
|
horizontal rule | text before
text after |
text before text after |
bullet list |
Any other start ends the list.
|
Any other start ends the list.
|
numbered list |
Any other start also ends the list.
|
Any other start also ends the list.
|
definition list |
|
|
indent text |
|
|
mixture of different types of list |
|
|
preformatted text | start each line with a space.
Text is preformatted and markups can be done. |
start each line with a space. Text is preformatted and markups can be done. |
preformatted text blocks |
start with a space in the first column, (before the ).
maintained.
""" documentation string""" if true: print true else: print false |
start with a space in the first column, (before the ). Then your block format will be maintained. This is good for copying in code blocks: def function(): """ documentation string""" if true: print true else: print false |
paragraphs
mediawiki ignores single line breaks. To start a new paragraph, leave an empty line. You can force a line break within a paragraph with the html tag Шаблон:Tag.
html tags
some html tags are allowed in mediawiki, for example Шаблон:Tag, [[w:div and span|Шаблон:Tag, and Шаблон:Tag]]. These apply anywhere you insert them.
Description | you type | you get |
---|---|---|
inserted (displays as underline in most browsers) |
inserted or underline |
inserted or underline |
deleted (displays as strike-through in most browsers) |
strike-through or deleted
|
strike-through or deleted |
fixed width text | source code | source code |
blockquotes |
text before blockquote text after |
text before blockquote text after |
quotes | this is a quotation | this is a quotation |
comment |
comments are visible only in the edit zone.
|
comments are visible only in the edit zone. |
completely preformatted text |
|
|
customized preformatted text |
|
|
continued:
Description | you type | you get |
---|---|---|
default preformatted text has a css attribute (white-space: pre-wrap;) to wrap the text according to available width |
this long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. This additional sentence makes the text even longer.
|
this long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. This additional sentence makes the text even longer. |
customized preformatted text with disabled text wrapping |
this long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. This additional sentence makes the text even longer.
|
this long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. This additional sentence makes the text even longer. |
inserting symbols
symbols and other special characters not available on your keyboard can be inserted in a multitude of ways. Many [ operating systems and browsers] allow you to insert special characters through a menu option or operating system panel. Additionally, you can use the wikieditor or visualeditor to insert them into the edit screen.
As a last resort, you can use a special sequence of characters. Those sequences are called html entities. For example, the following sequence (entity) ' when inserted will be shown as right arrow html symbol and ' when inserted will be shown as an em dash html symbol .
a | a | a | a | a | a | & | a | a | a | a | a | a | c | c | |||||||||||||||||
e | e | e | e | e | e | ||||||||||||||||||||||||||
e | e | 12 | 14 | 34 | > | ... | i | i | i | i | i | i | i | ||||||||||||||||||
i | i | " | ' | < | |||||||||||||||||||||||||||
= | n | n | o | o | o | o | o | o | a | o | o | o | o | ||||||||||||||||||
o | ' | " | " | " | r | ||||||||||||||||||||||||||
' | s | s | 1 | 2 | 3 | ||||||||||||||||||||||||||
tm | u | u | u | u | u | u | u | u | y | y | y | y |
Description | you type | you get |
---|---|---|
copyright symbol |
| |
greek delta letter symbol |
| |
euro currency symbol |
|
see the list of all html entities on the wikipedia article list of html entities. Additionally, mediawiki supports two non-standard entity reference sequences: &; and &; which are both considered equivalent to which is a right-to-left mark. (used when combining right to left languages with left to right languages in the same page.)
html tags and symbol entities displayed themselves (with and without interpreting them)
- '
- typo to be corrected typo to be corrected
- typo to be corrected typo to be corrected
nowiki for html
Шаблон:Tag can prohibit (html) tags:
- but not & symbol escapes:
- & &
to print & symbol escapes as text, use "&" to replace the "&" character (eg. Type " ", which results in " ").
other formatting
beyond the text formatting markup shown hereinbefore, here are some other formatting references:
- languageconverter markup see Шаблон:Ll
- references see Шаблон:Ll
- []
you can find more references at Шаблон:Ll.
references
[[category:help{{#translation:}}|formatting]]