Подсказки по редактированию

Формат текста

BBCode

  • Разрешённые HTML-теги: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>

    Этот сайт поддерживает HTML. В то время как полное изучение HTML может быть весьма непростым, изучение небольшого числа основных тегов HTML не составит сложности. Эта таблица иллюстрирует примеры использования каждого тега на этом сайте.

    Для более подробной информации обратитесь к спецификациям HTML W3C или найдете в любимом поисковике другие сайты, обучающие HTML.

    Описание тегаВы пишетеВы получаете
    Якоря используются для создания ссылок на другие страницы.<a href="http://staraqua.ru">Московские Аквариумные Растения</a>Московские Аквариумные Растения
    Курсив<em>Курсив</em>Курсив
    Жирный<strong>Жирный</strong>Жирный
    Цитата<cite>Цитата</cite>Цитата
    Цитата блоком<blockquote>Цитата блоком</blockquote>
    Цитата блоком
    Для отображения исходных текстов программ<code>Исходный код</code>Исходный код
    Ненумерованный список – используйте <li> для начала каждого элемента списка<ul> <li>Первый элемент</li> <li>Второй элемент</li> </ul>
    • Первый элемент
    • Второй элемент
    Нумерованный список – используйте <li> для начала каждого элемента списка<ol> <li>Первый элемент</li> <li>Второй элемент</li> </ol>
    1. Первый элемент
    2. Второй элемент
    Справки для тега li нет.
    Списки определений похожи на другие списки HTML. <dl> начинает список определений, <dt> начинает определяемый термин и <dd> начинает описание определения.<dl> <dt>Первый термин</dt> <dd>Первое определение</dd> <dt>Второй термин</dt> <dd>Второе определение</dd> </dl>
    Первый термин
    Первое определение
    Второй термин
    Второе определение
    Справки для тега dt нет.
    Справки для тега dd нет.

    Большинство малоиспользуемых символов могут быть введены безо всяких проблем.

    Если проблемы всё же возникают, попробуйте использовать сущности HTML. Типичный пример выглядит так: &amp; для символа амперсанда &. Полный список сущностей HTML смотрите на соответствующей странице спецификации HTML. Некоторые из доступных символов:

    Описание знакаВы пишетеВы получаете
    Амперсанд&amp;&
    Больше чем&gt;>
    Меньше чем&lt;<
    Кавычка&quot;"
  • Allowed BBCode tags:

    Tag descriptionВы пишетеВы получаете
    [abbr]
    Identifies the content as an abbreviation and displays the full meaning in a tooltip.
    [abbr=et cetera]etc.[/abbr]etc.
    [acronym]
    Puts a tooltip over the contained text, which displays the full meaning of the acronym.
    [acronym=PHP: Hypertext Preprocessor]PHP[/acronym]PHP
    [b]
    Bold text
    [b]bold[/b]bold
    [center]
    Aligns text in the center.
    [center]Centered text[/center]

    Centered text

    [code]
    Formats the content text as code, in Monospace and with a grey box around it. BBCode tags within this tag will not be parsed.
    [code]def fib (n):
    a, b = 0, 1
    for i in xrange(n):
    a, b = b, a + 1
    return a[/code]
    def fib (n): a, b = 0, 1 for i in xrange(n): a, b = b, a + 1 return a
    [color]
    Changes the color. You may enter a color word (red) or a hex code with hash sign (#ff0)
    [color=#f80]Orange text[/color]Orange text
    [define]
    Formats a definition list.
    [define]
    --verbose:This will start the program with full debug messages.
    --in=IN:This will set the input file to IN.
    --out=OUT:This will write output to OUT.
    [/define]
    --verbose
    This will start the program with full debug messages.
    --in=IN
    This will set the input file to IN.
    --out=OUT
    This will write output to OUT.
    [font]
    Changes the font of the text.
    [font=arial]Text[/font]Text
    [h1]
    Level 1 heading. You may want to restrict access to the level 1 and level 2 headings for ordinary users.
    [h1]Title[/h1]

    Title

    [h2]
    Level 2 heading. Use this as the top level on non-node content, as level 1 is used by the site header.
    [h2]Volume[/h2]

    Volume

    [h3]
    Level 3 heading. Use this as the top level within nodes as levels 1 and 2 are used by the site and node title.
    [h3]Chapter[/h3]

    Chapter

    [h4]
    Level 4 heading.
    [h4]Section[/h4]

    Section

    [h5]
    Level 5 heading.
    [h5]Sub-section[/h5]
    Sub-section
    [h6]
    Level 6 heading.
    [h6]Sub-sub-section[/h6]
    Sub-sub-section
    [hr]
    Horizontal divider.
    [hr]
    [i]
    Italic text
    [i]italic[/i]italic
    [img]
    Displays a picture. The size may be set by entering widthxheight as the only option.
    [img=65x73]
    /themes/bartik/logo.png
    [/img]
    IMAGE(
/themes/bartik/logo.png
)
    [justify]
    Aligns text as a justified block.
    [justify]Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[/justify]

    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

    [left]
    Aligns text on the left side.
    [left]Left-aligned text[/left]

    Left-aligned text

    [list]
    Formats a list. ol and ul may be entered as an option, making the list items numbered or non-numbered.
    [list=ol]
    [*]Apples
    [*]Oranges
    [*]Bananas
    [/list]
    1. Apples
    2. Oranges
    3. Bananas
    [node]
    Links to a certain node. Unlike a [url] tag, this is passed through the linking function and returns the alias of the node.
    [node=1]Node #1[/node]Node #1
    [php]
    This colors the syntax of PHP code using the in-built PHP highlighting library.
    [php]<?php
    echo 'Hello World' . 5 . $variable;
    ?>[/php]
    <?php
     
    echo 'Hello World' $variable;
    ?>
    [quote]
    Formats a quote.
    [quote]This text is quoted.[/quote]
    This text is quoted.
    [right]
    Aligns text on the right side.
    [right]Right-aligned text[/right]

    Right-aligned text

    [s]
    Stricken-through text
    [s]this sentence is false[/s]this sentence is false
    [size]
    Changes the text size. This requires the unit (pt, px, em) of the size.
    [size=16pt]Text[/size]Text
    [sub]
    Sets text to be smaller and below the line.
    a[sub]i,j[/sub]ai,j
    [sup]
    Sets text to be set smaller and above the line.
    x[sup]2[/sup]x2
    [u]
    Underlined text
    [u]underlined[/u]underlined
    [url]
    Formats a Hyperlink.
    [url=http://drupal.org]Drupal.org[/url]Drupal.org
    [wikipedia]
    Formats a link to Wikipedia, the free encyclopedia.
    [wikipedia]Drupal[/wikipedia]Drupal
    [youtube]
    Embed a Youtube video.
    [youtube=224x126]rF1X12PE6PY[/youtube]
    [ol]
    Formats a numbered list of items.
    [ol][*] fruit
    [**] apples
    [**] bananas
    [*] animals
    [**] cat
    [**] dog[/ol]
    1. fruit
      1. apples
      2. bananas
    2. animals
      1. cat
      2. dog
    [ul]
    Formats a non-numbered list of items.
    [ul][*] fruit
    [**] apples
    [**] bananas
    [*] animals
    [**] cat
    [**] dog[/ul]
    • fruit
      • apples
      • bananas
    • animals
      • cat
      • dog
    [table]
    Create a table from comma-separated data. The tag option contains an optional caption and column headers; a prefix of ! or # aligns the column to the center or the right, respectively.
    [table=Caption;!Item,Color,#Amount]
    Fish,Red,1
    Fish,Blue,2
    [/table]
    Caption
    ItemColorAmount
    FishRed1
    FishBlue2
  • Video Filter

    You may insert videos from popular video sites by using a simple tag [video:URL].

    Examples:

    • Single video:
      [video:http://www.youtube.com/watch?v=uN1qUeId]
    • Random video out of multiple:
      [video:http://www.youtube.com/watch?v=uN1qUeId1,http://www.youtube.com/watch?v=uN1qUeId2]
    • Override default autoplay setting: [video:http://www.youtube.com/watch?v=uN1qUeId autoplay:1]
    • Override default width and height:
      [video:http://www.youtube.com/watch?v=uN1qUeId width:X height:Y]
    • Override default aspect ratio:
      [video:http://www.youtube.com/watch?v=uN1qUeId ratio:4/3]
    • Align the video:
      [video:http://www.youtube.com/watch?v=uN1qUeId align:right]

    Supported sites: YouTube, Google Video, Tangle, DailyMotion, Vimeo, Flickr Slideshows, Flickr Video, Game Videos, Meta Cafe, Streamhoster, Game Trailers, College Humor, MySpace, Capped, Blip.tv, Slideshare, Picasa Slideshows, Teachertube.

    Special instructions:

    Some codecs need special input. You'll find those instructions here.
    • Slideshare:
      You need to construct your own URL, using the "Wordpress Embed" code from Slideshare, extract the "id" and "doc" parts, and form the URL like this: slideshare.net/?id=1759622&doc=usingdrupal-090723103440-phpapp01.
    • Picasa Slideshows:
      You must use the URL of the RSS feed for the Picasa album:
      1. View the album in Picasa (you should see thumbnails, not a slideshow).
      2. Find the "RSS" link and click it.
      3. Copy the resulting URL from the browser address bar. Example:
        [video: http://picasaweb.google.com/data/feed/base/user/USER_NAME/albumid/5568104935784209834?alt=rss&kind=photo&hl=en_US]
  • Строки и параграфы распознаются автоматически. Теги переноса строки <br />, параграфа <p> и закрытия параграфа </p> вставляются автоматически. Если параграфы не распознаны, просто добавьте пару пустых строк.

Plain text

  • HTML-теги не обрабатываются и показываются как обычный текст
  • Адреса страниц и электронной почты автоматически преобразуются в ссылки.
  • Строки и параграфы распознаются автоматически. Теги переноса строки <br />, параграфа <p> и закрытия параграфа </p> вставляются автоматически. Если параграфы не распознаны, просто добавьте пару пустых строк.