Шаблон:Note/en: различия между версиями

Материал из SmartPlayer
Нет описания правки
Метка: ручная отмена
Нет описания правки
 
Строка 5: Строка 5:
     |#default={{{2|{{{type|}}}}}}
     |#default={{{2|{{{type|}}}}}}
     }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div>
     }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div>
   | [[File:OOjs UI icon lightbulb-yellow.svg|18px|alt=Note|link=]]&nbsp;'''Note:''' }}<!--
   | [[File:OOjs UI icon lightbulb-yellow.svg|18px|alt=<translate><!--T:1--> Note</translate>|link=]]&nbsp;'''<translate><!--T:2--> Note:</translate>''' }}<!--
--></onlyinclude>
--></onlyinclude>
{{documentation|content=
{{documentation|content=
== Usage ==
<translate>
== Usage == <!--T:3-->
</translate>
<pre>
<pre>
{{Note|Foo}}
{{Note|Foo}}
Строка 15: Строка 17:
{{Note|Foo|warn}}
{{Note|Foo|warn}}
{{Note|Foo|error}}
{{Note|Foo|error}}
{{Note}} Loose test
{{Note}} <translate nowrap><!--T:6--> Loose test</translate>


* Text {{Note|Foo|inline=1}}
* Text {{Note|Foo|inline=1}}
Строка 24: Строка 26:
{{Note|Foo|warn}}
{{Note|Foo|warn}}
{{Note|Foo|error}}
{{Note|Foo|error}}
{{Note}} Loose test
{{Note}} <translate><!--T:4--> Loose test</translate>


* Text {{Note|Foo|inline=1}}
* Text {{Note|Foo|inline=1}}

Текущая версия от 14:08, 26 июля 2023

{{{text}}}
Документация шаблона

Usage

{{Note|Foo}}
{{Note|Foo|info}}
{{Note|Foo|reminder}}
{{Note|Foo|warn}}
{{Note|Foo|error}}
{{Note}} Loose test

* Text {{Note|Foo|inline=1}}
Foo
Foo
Foo
Foo
Foo

<translate> Note</translate> <translate> Note:</translate> Loose test

  • Text
    Foo

Parameters

[<span style="" title="<translate nowrap> View this template</translate>"><translate> view</translate> · <span style="" title="<translate nowrap> Discuss this template</translate>"><translate> talk</translate> · <span style="" title="<translate nowrap> Edit this template</translate>"><translate> edit</translate>]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Note

Show a note in a box (e.g. a top-of-the-page warning).

[Править данные шаблона]

Параметры шаблона

Шаблон использует строчное форматирование параметров.

ПараметрОписаниеТипСтатус
Inline formattinginline

Show the template without line breaks before and after it.

По умолчанию
0
Автозначение
1
Логическое значениенеобязательный
Typetype 2

One of “info”, “reminder”, “warn”, or “error”. This setting affects the color and icon.

Предлагаемые значения
info reminder warn error
По умолчанию
info
Строковый (без форматирования)необязательный
Text1 text

Informative note.

Содержимое (контент)обязательный