Список стилей
Перейти к навигации
Перейти к поиску
Эта статья содержит устаревшие данные, необходимо сверить и обновить информацию.
Причина: Много нерабочей и не нужной информации, не отформатировано
Причина: Много нерабочей и не нужной информации, не отформатировано
Это страница со стилями которые вы можете использовать в функциях нашей вики, сейчас она на английском, содержит огромное количество ненужной и не работающей информации и просто плохо выглядит. Но свою цель она выполняет уже сейчас, тут действительно есть некоторые рабочие стили которые нигде в другом месте не указаны, рекомендую зайти в режим редактирования кода и читать от туда.
Начинать изменения стоит с добавления тэга
в столб выдаёт, а после удаление всех не рабочих шаблонов.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Шаблон:Note |
level 2 level 3 level 4 level 5 level 6 |
horizontal rule | text before
text after |
text before
text after |
bullet list | * start each line * with an asterisk (*). ** more asterisks give deeper *** and deeper levels. * line breaks don't break levels. *** but jumping levels creates empty space. Any other start ends the list. * combine bullet list ** with definition ::- definition ** creates empty space * combine bullet list ** with definition *:- definition ** without empty spaces *bullet list :- definition :* sublist that doesn't create empty :* spaces after definition | * start each line * with an asterisk (*). ** more asterisks give deeper *** and deeper levels. * line breaks don't break levels. *** but jumping levels creates empty space. Any other start ends the list. * combine bullet list ** with definition ::- definition ** creates empty space * combine bullet list ** with definition *:- definition ** without empty spaces *bullet list :- definition :* sublist that doesn't create empty :* spaces after definition |
numbered list | # start each line # with a number sign (#). ## more number signs give deeper ### and deeper ### levels. # line breaks don't break levels. ### but jumping levels creates empty space. # blank lines # end the list and start another. Any other start also ends the list. # use "nowiki" tags to display a literal (#) at the beginning of a line without interpreting it as a numbered list. | # start each line # with a number sign (#). ## more number signs give deeper ### and deeper ### levels. # line breaks don't break levels. ### but jumping levels creates empty space. # blank lines # end the list and start another. Any other start also ends the list. # use "nowiki" tags to display a literal (#) at the beginning of a line without interpreting it as a numbered list. Шаблон:Table-anchorrow |
definition list | ;item 1 : definition 1 ;item 2 : definition 2-1 : definition 2-2 Шаблон:Note | ;item 1 : definition 1 ;item 2 : definition 2-1 : definition 2-2 |
indent text |
: single indent
:: double indent
::::: multiple indent
Шаблон:Note |
: single indent :: double indent ::::: multiple indent |
mixture of different types of list |
# one
# two
#* two point one
#* two point two
# three
#; three item one
#: three def one
# four
#: four def one
#: this looks like a continuation
#: and is often used
#: instead of
# five
## five sub 1
### five sub 1 sub 1
## five sub 2
Шаблон:Note |
# one # two #* two point one #* two point two # three #; three item one #: three def one # four #: four def one #: this looks like a continuation #: and is often used #: instead of # five ## five sub 1 ### five sub 1 sub 1 ## five sub 2 |
preformatted text | start each line with a space.
Text is preformatted and
markups can be done.
Шаблон:Note |
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 ). 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 | 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 Шаблон:Table-anchorrow |
---|---|---|
inserted (displays as underline in most browsers) | inserted or underline | inserted or underline Шаблон:Table-anchorrow |
deleted (displays as strike-through in most browsers) | strike-through or deleted | strike-through or deleted Шаблон:Table-anchorrow |
fixed width text | source code | source code Шаблон:Table-anchorrow |
blockquotes | text before blockquote text after Шаблон:Note | text before blockquote text after Шаблон:Table-anchorrow |
quotes | this is a quotation Шаблон:Note | this is a quotation |
comment | comments are visible only in the edit zone. | comments are visible only in the edit zone. Шаблон:Table-anchorrow |
completely preformatted text |
text is preformatted and
markups cannot be done
Шаблон:Note |
text is preformatted and markups cannot be done |
customized preformatted text |
text is preformatted
with a style and
markups cannot be done
Шаблон:Note |
text is preformatted with a style and markups cannot be done |
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 .Шаблон:Note
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 | :::' |