Справка:Редактирование: различия между версиями
[досмотренная версия] | [досмотренная версия] |
Содержимое удалено Содержимое добавлено
Ratte (обсуждение | вклад) мНет описания правки |
м →Вики-разметка: Если Вы хотите {{larger|увеличить размер шрифта}} или {{smaller|уменьшить его}}, Это легко сделать. Метка: редактор вики-текста 2017 |
||
Строка 64:
|'''Тексты с отступом''' (Indented texts), такие как в стихах или в разных по стилю нумерованных списках, также могут быть созданы на любом уровне.
: Просто начните с двоеточий.
:: Чем
|{{crlf2}}
'''Тексты с отступом''' (Indented texts), такие как в стихах или в разных по стилю нумерованных списках, также могут быть созданы на любом уровне.
: Просто начните с двоеточий.
:: Чем
}}
=== Шаблоны ===
Для более сложных элементов текста в Викитеке используются специальные шаблоны (templates). Они обозначаются двойными фигурными скобками <nowiki> {{}} </ nowiki>, с названием шаблона и долнительной информацией, следующей за вертикальной чёрточкой внутри: |.
<!--▼
{{markup
|t1='''то, что Вы набираете в Вики-разметке'''
|t2='''как это воспроизводится в Викитеке'''
| <nowiki>Если Вы хотите {{larger|увеличить размер шрифта}} или {{smaller|уменьшить его}}, Это легко сделать.</nowiki>
| Если Вы хотите {{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>
| 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>{{center|'''A centred title'''}}</nowiki>
Note that you can use any normal formatting within the template. In this case "center" is often abbreviated to "c".
|{{center|'''A centred title'''}}
Note that you can use any normal formatting within the template. In this case "center" is often abbreviated to "c".
|<nowiki>You can also do
{{right|'''right aligned''' text}} and the normal is {{left|'''left aligned'''.}}
{{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.}}
</nowiki>
|You can also do
{{right|'''right aligned''' text}} and the normal is {{left|'''left aligned'''.}}
{{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.}}
| <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>
| 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.
}}
▲<!--
===Templates for other effects===
|