Difference between revisions of "Template:Note/en"
en>FuzzyBot (Updating to match new version of source page) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 19:09, 6 June 2022
<languages/>
{{#if: {{#if:||{{#if:demo|demo|}} }} | <templatestyles src="Note/styles.css" />
| File:OOjs UI icon lightbulb-20 fc3.svg Note: }}
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}{{#if:== Usage ==
{{Note|Foo}} {{Note|Foo|info}} {{Note|Foo|reminder}} {{Note|Foo|warn}} {{Note|Foo|error}} {{Note}} Loose test * Text {{Note|Foo|inline=1}}
{{#if: {{#if:Foo|Foo|{{#if:|demo|}} }} | <templatestyles src="Note/styles.css" />
| File:OOjs UI icon lightbulb-20 fc3.svg <translate> Note:</translate> }}
{{#if: {{#if:Foo|Foo|{{#if:|demo|}} }} | <templatestyles src="Note/styles.css" />
| File:OOjs UI icon lightbulb-20 fc3.svg <translate> Note:</translate> }}
{{#if: {{#if:Foo|Foo|{{#if:|demo|}} }} | <templatestyles src="Note/styles.css" />
| File:OOjs UI icon lightbulb-20 fc3.svg <translate> Note:</translate> }}
{{#if: {{#if:Foo|Foo|{{#if:|demo|}} }} | <templatestyles src="Note/styles.css" />
| File:OOjs UI icon lightbulb-20 fc3.svg <translate> Note:</translate> }}
{{#if: {{#if:Foo|Foo|{{#if:|demo|}} }} | <templatestyles src="Note/styles.css" />
| File:OOjs UI icon lightbulb-20 fc3.svg <translate> Note:</translate> }}
{{#if: {{#if:||{{#if:|demo|}} }} | <templatestyles src="Note/styles.css" />
| File:OOjs UI icon lightbulb-20 fc3.svg <translate> Note:</translate> }} Loose test
- Text {{#if: {{#if:Foo|Foo|{{#if:|demo|}} }} | <templatestyles src="Note/styles.css" />Foo
| File:OOjs UI icon lightbulb-20 fc3.svg <translate> Note:</translate> }}
Parameters
{{#switch:<translate></translate> | = {{#if:{{#ifexpr: ( {{#ifeq:en|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:note/en|-1|-2}}|doc|1|0}} and {{#if:{{#invoke:Template translation|getLanguageSubpage}}|1|0}} ) )|1|}}
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Note | [[Category:{{#switch:Template | Template | Project = Template | Module = Module | User = User | #default = MediaWiki }} documentation pages{{#translation:}}]] | [[Category:Documentation subpages without corresponding pages{{#translation:}}]] }} }} | }}
| #default=
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Documentation subpage|noshift=1|uselang=⧼lang⧽}}
}} Template:TemplateData header <templatedata> { "format": "inline", "description": { "en": "Show a note in a box (e.g. a top-of-the-page warning).", "tr": "Bir kutuda bir not gösterin (ör. sayfanın üstü uyarısı)." }, "params": { "inline": { "label": { "en": "Inline formatting", "tr": "Satır içi biçimlendirme" }, "description": { "en": "Show the template without line breaks before and after it.", "tr": "Şablonu, öncesinde ve sonrasında satır kesmeleri olmadan gösterin." }, "default": "0", "autovalue": "1", "type": "boolean" }, "type": { "aliases": [ "2" ], "label": { "en": "Type", "tr": "Tür" }, "description": { "en": "One of “info”, “reminder”, “warn”, or “error”. This setting affects the color and icon.", "tr": "“info”, “reminder”, “warn” veya “error” değerlerden biri. Bu ayar, rengi ve simgeyi etkiler." }, "suggestedvalues": [ "info", "reminder", "warn", "error" ], "default": "info", "type": "string" }, "1": { "aliases": [ "text" ], "label": { "en": "Text", "tr": "Metin" }, "description": { "en": "Informative note.", "tr": "Bilgilendirecek not." }, "required": true, "type": "content" } }, "paramOrder": [ "inline", "type", "1" ] } </templatedata> Template:Sandbox other| [[Category:Template documentation pages{{#translation:}}]] }} [[Category:Templates{{#translation:}}|Note/en]]