Шаблон:API-editnotice: различия между версиями
Template>Shirayuki (cat) |
Senik (обсуждение | вклад) м (1 версия импортирована) |
(нет различий)
|
Текущая версия на 15:42, 25 февраля 2020
<languages/> {{#switch:<translate></translate> | =
- <translate> MW version</translate>
- <translate> Since which MediaWiki version is this api (sub)module available?</translate> (Release notes)
- <translate> API-head</translate>
- <translate> What's the prefix?</translate> <translate> Does this module require any rights or is it available to all anonymous users?</translate> <translate> Does it have to be POST'ed?</translate>
- <translate> Description</translate>
- <translate> Describe the module briefly in one or two sentences.</translate>
- <translate> Parameters</translate>
- <translate> Error Codes</translate>
- <translate> Example(s)</translate>
- <translate> Categories</translate>
{{#switch:<translate></translate> | =
{{#if: {{#if:<translate> You should consider using Шаблон:Tl to transclude API documentation generated by Special:ApiHelp/module-name, instead of writing duplicate documentation for parameters, examples, etc.</translate> (phab:T89318)|<translate> You should consider using Шаблон:Tl to transclude API documentation generated by Special:ApiHelp/module-name, instead of writing duplicate documentation for parameters, examples, etc.</translate> (phab:T89318)|{{#if:|demo|}} }} |
| <translate> Note</translate> <translate> Note:</translate> }}
| #default=
{{#switch:
| =
{{#if: {{#if:<translate> You should consider using Шаблон:Tl to transclude API documentation generated by Special:ApiHelp/module-name, instead of writing duplicate documentation for parameters, examples, etc.</translate> (phab:T89318)|<translate> You should consider using Шаблон:Tl to transclude API documentation generated by Special:ApiHelp/module-name, instead of writing duplicate documentation for parameters, examples, etc.</translate> (phab:T89318)|{{#if:|demo|}} }} |
| Note Note: }}
| #default=
Ошибка Lua: expandTemplate: template loop detected.
}} }} | #default=
{{#switch:
| =
- MW version
- Since which MediaWiki version is this api (sub)module available? (Release notes)
- API-head
- What's the prefix? Does this module require any rights or is it available to all anonymous users? Does it have to be POST'ed?
- Description
- Describe the module briefly in one or two sentences.
- Parameters
- Error Codes
- Example(s)
- Categories
{{#switch:<translate></translate> | =
{{#if: {{#if:You should consider using Шаблон:Tl to transclude API documentation generated by Special:ApiHelp/module-name, instead of writing duplicate documentation for parameters, examples, etc. (phab:T89318)|You should consider using Шаблон:Tl to transclude API documentation generated by Special:ApiHelp/module-name, instead of writing duplicate documentation for parameters, examples, etc. (phab:T89318)|{{#if:|demo|}} }} |
| <translate> Note</translate> <translate> Note:</translate> }}
| #default=
{{#switch:
| =
{{#if: {{#if:You should consider using Шаблон:Tl to transclude API documentation generated by Special:ApiHelp/module-name, instead of writing duplicate documentation for parameters, examples, etc. (phab:T89318)|You should consider using Шаблон:Tl to transclude API documentation generated by Special:ApiHelp/module-name, instead of writing duplicate documentation for parameters, examples, etc. (phab:T89318)|{{#if:|demo|}} }} |
| Note Note: }}
| #default=
Ошибка Lua: expandTemplate: template loop detected.
}} }} | #default=
Ошибка Lua: expandTemplate: template loop detected.
}} }} {{#switch:<translate></translate> | =
Template:API-addnew uses this to guide a wiki editor creating a new API page.
| #default=
{{#switch:
| =
Template:API-addnew uses this to guide a wiki editor creating a new API page.
| #default=
Ошибка Lua: expandTemplate: template loop detected.
}}{{#if:Template:API-addnew uses this to guide a wiki editor creating a new API page.| [[Category:Template documentation pages{{#translation:}}]] }} }}{{#if:Template:API-addnew uses this to guide a wiki editor creating a new API page.| [[Category:Template documentation pages{{#translation:}}]] }} [[Category:API templates{{#translation:}}|API-editnotice]]