|
|
Line 1: |
Line 1: |
| {{Documentation subpage}} | | <languages/> |
| <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
| | <onlyinclude>{{#if: {{#if:{{{1|{{{text|}}}}}}|{{{1|{{{text|}}}}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <templatestyles src="Note/styles.css" /><div role="note" class="note note-{{#switch: {{{2|{{{type|}}}}}} |
| {{TemplateData header|editlinks=1|docpage=Note/doc}} | | |gotcha=error |
| <templatedata> | | |=info |
| { | | |#default={{{2|{{{type|}}}}}} |
| "format": "inline",
| | }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div> |
| "description": {
| | | [[File:OOjs UI icon lightbulb-yellow.svg|18px|alt=<translate><!--T:1--> Note</translate>|link=]] '''<translate><!--T:2--> Note:</translate>''' }}<!-- |
| "en": "Show a note in a box (e.g. a top-of-the-page warning).",
| | --></onlyinclude> |
| "cs": "Zobrazí poznámku v poli (např. upozornění v horní části stránky)",
| | {{documentation|content= |
| "tr": "Bir kutuda bir not gösterin (ör. sayfanın üstü uyarısı)."
| | <translate> |
| },
| | == Usage == <!--T:3--> |
| "params": {
| | </translate> |
| "1": {
| | <pre> |
| "aliases": [
| | {{Note|Foo}} |
| "text"
| | {{Note|Foo|info}} |
| ],
| | {{Note|Foo|reminder}} |
| "label": {
| | {{Note|Foo|warn}} |
| "en": "Text",
| | {{Note|Foo|error}} |
| "cs": "Text",
| | {{Note}} <translate nowrap><!--T:6--> Loose test</translate> |
| "tr": "Metin"
| | |
| },
| | * Text {{Note|Foo|inline=1}} |
| "description": {
| | </pre> |
| "en": "Informative note.",
| | {{Note|Foo}} |
| "cs": "Informativní poznámka.",
| | {{Note|Foo|info}} |
| "tr": "Bilgilendirecek not."
| | {{Note|Foo|reminder}} |
| },
| | {{Note|Foo|warn}} |
| "required": true,
| | {{Note|Foo|error}} |
| "type": "content"
| | {{Note}} <translate><!--T:4--> Loose test</translate> |
| },
| | |
| "inline": {
| | * Text {{Note|Foo|inline=1}} |
| "label": {
| | |
| "en": "Inline formatting",
| | == Parameters == |
| "cs": "Inline formátování",
| | |
| "tr": "Satır içi biçimlendirme"
| | {{Note/doc}} |
| },
| | |
| "description": {
| | }} |
| "en": "Show the template without line breaks before and after it.",
| | [[Category:Templates{{#translation:}}|{{PAGENAME}}]] |
| "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."
| |
| },
| |
| "default": "info",
| |
| "type": "string"
| |
| }
| |
| },
| |
| "paramOrder": [
| |
| "inline",
| |
| "type",
| |
| "1"
| |
| ]
| |
| } | |
| </templatedata>
| |
| <includeonly>{{Sandbox other||
| |
| <!-- Categories below this line; interwikis at Wikidata --> | |
| [[Category:Notice templates{{#translation:}}]] | |
| }}</includeonly>
| |
Revision as of 09:20, 27 July 2023
<languages/>
<templatestyles src="Note/styles.css" />
{{{text}}}
Template:Documentation
[[Category:Templates{{#translation:}}|Note]]