Справка:Редактирование: различия между версиями

[досмотренная версия][досмотренная версия]
Содержимое удалено Содержимое добавлено
мНет описания правки
м →‎Вики-разметка: Если Вы хотите {{larger|увеличить размер шрифта}} или {{smaller|уменьшить его}}, Это легко сделать.
Метка: редактор вики-текста 2017
Строка 64:
|'''Тексты с отступом''' (Indented texts), такие как в стихах или в разных по стилю нумерованных списках, также могут быть созданы на любом уровне.
: Просто начните с двоеточий.
:: Чем большебольшее выколичество Вы их используете, тем больше отступы.
|{{crlf2}}
'''Тексты с отступом''' (Indented texts), такие как в стихах или в разных по стилю нумерованных списках, также могут быть созданы на любом уровне.
: Просто начните с двоеточий.
:: Чем большебольшее выколичество Вы их используете, тем больше отступы.
}}
=== Шаблоны ===
Для более сложных элементов текста в Викитеке используются специальные шаблоны (templates). Они обозначаются двойными фигурными скобками <nowiki> {{}} </ nowiki>, с названием шаблона и долнительной информацией, следующей за вертикальной чёрточкой внутри: |.
 
<!--
 
 
== Wiki markup ==
Wikisource uses a special syntax called to format and link text. Wiki markup is especially designed to be easy to use.
 
In the boxes below, you can read the finished version on the right, and what you type is on the left.
{{markup
|t1='''то, что Вы набираете в Вики-разметке'''
|t1='''what you type in Wikitext'''
|t2='''как это воспроизводится в Викитеке'''
|t2='''how Wikisource renders it'''
| <nowiki>Если Вы хотите {{larger|увеличить размер шрифта}} или {{smaller|уменьшить его}}, Это легко сделать.</nowiki>
| Paragraphs are produced simply by leaving a blank line between them.
| Если Вы хотите {{larger|увеличить размер шрифта}} или {{smaller|уменьшить его}}, Это легко сделать.
 
| <nowiki>We don't use absolutes, like "large" so as to make reading text easier whatever the size of the device, but there are {{x-larger|even bigger}} and {{xx-larger|huge}} size available, as well as {{x-smaller|even smaller}} and {{xx-smaller|tiny}}.</nowiki>
There is no need for any additional markup but all text
| We don't use absolutes, like "large" so as to make reading text easier whatever the size of the device, but there are {{x-larger|even bigger}} and {{xx-larger|huge}} size available, as well as {{x-smaller|even smaller}} and {{xx-smaller|tiny}}.
within a paragraph wraps as normal depending on the size
|<nowiki>{{center|'''A centred title'''}}</nowiki>
of the window. Vary the width to see what happens.
Note that you can use any normal formatting within the template. In this case "center" is often abbreviated to "c".
| Paragraphs are produced simply by leaving a blank line between them.
|{{center|'''A centred title'''}}
 
Note that you can use any normal formatting within the template. In this case "center" is often abbreviated to "c".
There is no need for any additional markup but all text
|<nowiki>You can also do
within a paragraph wraps as normal depending on the size
{{right|'''right aligned''' text}} and the normal is {{left|'''left aligned'''.}}
of the window. Vary the width to see what happens.
{{justify|But if you want to use '''justified text''', this is also available in a similar way. Note in these examples that the template may introduce a new paragraph implicitly.}}
| {{crlf2}}
</nowiki>
spaces at the start of the line produce an emphasis box
|You can also do
so be very careful about them
{{right|'''right aligned''' text}} and the normal is {{left|'''left aligned'''.}}
| {{crlf2}}
{{justify|But if you want to use '''justified text''', this is available in a similar way. Note in these examples that the template may introduce a new paragraph implicitly.}}
spaces at the start of the line produce an emphasis box
| <nowiki>The '''rule''' template {{rule|5em}} uses its argument to govern the length of the rule: "em" is the width of a single wide character whereas "px" stands for pixels.</nowiki>
so be very careful about them
| The '''rule''' template {{rule|5em}} uses its argument to govern the length of the rule: "em" is the width of a single wide character whereas "px" stands for pixels.
| For font emphasis, use ''double apostrophes'' for italic
| For font emphasis, use ''double apostrophes'' for italic
| and '''three apostrophes''' for '''bold'''
| and '''three apostrophes''' for '''bold'''
| You can even do '''''bold''' within italic'' or '''bold with ''italic''''' but they only apply within the text line
| You can even do '''''bold''' within italic'' or '''bold with ''italic''''' but they only apply within the text line
| * '''Lists''' are easy to do:
* start every line
* with a star
** more stars mean
*** deeper levels
| {{crlf2}}
* '''Lists''' are easy to do:
* start every line
* with a star
** more stars mean
*** deeper levels
|# '''Нумерованные списки''' так же просто создавать.
# Начните с хэша (#)
## и увеличивайте их количество для встроенных списков
# или возвращайтесь к прежнему их количеству, чтобы продолжить.
|{{crlf2}}
# '''Нумерованные списки''' так же просто создавать.
# Начните с хэша (#)
## и увеличивайте их количество для встроенных списков
# или возвращайтесь к прежнему их количеству, чтобы продолжить.
|'''Тексты с отступом''', такие как в стихах или в разных по стилю нумерованных списках, также могут быть созданы на любом уровне.
: Просто начните с двоеточий
:: Чем больше вы их используете, тем больше отступы.
|{{crlf2}}
'''Тексты с отступом''', такие как в стихах или в разных по стилю нумерованных списках, также могут быть созданы на любом уровне.
: Просто начните с двоеточий
:: Чем больше вы их используете, тем больше отступы.
}}
<!--
 
===Templates for other effects===