Список стилей

Материал из SS220 Paradise Wiki (SS13)
Перейти к навигации Перейти к поиску
MakeshiftGarrote.PNGЭтой странице требуется переводMakeshiftGarrote.PNG
Эта статья содержит непереведенную информацию.


Newscaster.pngЭта страница должна быть пересмотрена/обновленаNewscaster.png
Эта статья содержит устаревшие данные, необходимо сверить и обновить информацию.
Причина: Много нерабочей и не нужной информации, не отформатировано


Это страница со стилями которые вы можете использовать в тэгах нашей вики, сейчас она на английском, содержит огромное количество ненужной и не работающей информации и просто плохо выглядит. Но свою цель она выполняет уже сейчас, тут действительно есть некоторые рабочие стили которые нигде в другом месте не указаны, рекомендую зайти в режим редактирования кода и читать от туда. Начинать изменения стоит с добавления тэга <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 2

level 3

level 4

level 5
level 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


  1. start each line
  2. with a number sign (#).
    1. more number signs give deeper
      1. and deeper
      2. levels.
  3. line breaks don't break levels.
      1. but jumping levels creates empty space.
  4. blank lines


  1. end the list and start another.

Any other start also ends the list.


  1. use "nowiki" tags to display a literal (#) at the beginning of a line without interpreting it as a numbered list.



  1. start each line
  2. with a number sign (#).
    1. more number signs give deeper
      1. and deeper
      2. levels.
  3. line breaks don't break levels.
      1. but jumping levels creates empty space.
  4. blank lines


  1. end the list and start another.

Any other start also ends the list.


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


  1. one
  2. two
    • two point one
    • two point two
  3. three
    three item one
    three def one
  4. four
    four def one
    this looks like a continuation
    and is often used
    instead of
  5. five
    1. five sub 1
      1. five sub 1 sub 1
    2. five sub 2



Шаблон:Note


  1. one
  2. two
    • two point one
    • two point two
  3. three
    three item one
    three def one
  4. four
    four def one
    this looks like a continuation
    and is often used
    instead of
  5. five
    1. five sub 1
      1. five sub 1 sub 1
    2. 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



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 .


Шаблон:Note

html symbol entities
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:





you can find more references at Шаблон:Ll.

references

[[category:help{{#translation:}}|formatting]]