Modèle:Note/en

De La Confrérie des Traducteurs
Révision datée du 5 octobre 2023 à 00:47 par mediawikiwiki>FuzzyBot (Updating to match new version of source page)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

<languages/>

{{{text}}}
Documentation du modèle

Usage

{{Note|text=Foo}}
{{Note|type=info|text=Foo}}
{{Note|type=reminder|text=Foo}}
{{Note|type=reminder|text=Multiple<br>lines<br>of<br>text}}
{{Note|type=warn|text=Foo}}
{{Note|type=error|text=Foo}}
{{Note}} Loose test

* Text {{Note|inline=1|text=Foo}}
Foo
Foo
Foo
Multiple
lines
of
text
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

[[Category:Templates using TemplateData{{#translation:}}]]

<templatedata> { "format": "block", "description": { "en": "Show a note in a box (e.g. a top-of-the-page warning).", "cs": "Zobrazí poznámku v poli (např. upozornění v horní části stránky)", "tr": "Bir kutuda bir not gösterin (ör. sayfanın üstü uyarısı)." }, "params": { "inline": { "label": { "en": "Inline formatting", "cs": "Inline formátování", "tr": "Satır içi biçimlendirme" }, "description": { "en": "Show the template without line breaks before and after it.", "cs": "Zobrazí šablonu bez zalomení řádků před a za ní.", "tr": "Şablonu, öncesinde ve sonrasında satır kesmeleri olmadan gösterin." }, "default": "0", "autovalue": "1", "type": "boolean" }, "type": { "aliases": [ "2" ], "label": { "en": "Type", "cs": "Typ", "tr": "Tür" }, "description": { "en": "One of “info”, “reminder”, “warn”, or “error”. This setting affects the color and icon.", "cs": "Jedna z možností “info”, “reminder”, “warn”, or “error” (informace, připomenutí, upozornění nebo chyba). Toto nastavení má vliv na barvu a ikonu.", "tr": "“info”, “reminder”, “warn” veya “error” değerlerden biri. Bu ayar, rengi ve simgeyi etkiler." }, "suggestedvalues": [ "info", "reminder", "warn", "error" ], "default": "info", "type": "string" }, "text": { "aliases": [ "1", "content" ], "label": { "en": "Text", "cs": "Text", "tr": "Metin" }, "description": { "en": "Informative note.", "cs": "Informativní poznámka.", "tr": "Bilgilendirecek not." }, "type": "content", "required": true } }, "paramOrder": [ "inline", "type", "text" ] } </templatedata> [[Category:Notice templates{{#translation:}}]]

See also

  • {{warn}}, shortcut for this template with type=warning.
  • {{mbox}}, and in particular the namespace-agnostic {{ombox}}, which by default resembles a typical "info" template.

[[Category:Template documentation pages{{#translation:}}]]

[[Category:Templates{{#translation:}}|Note/en]]