Difference between revisions of "Template:BeingEdited"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Added documentation and the condition of the parameter)
(+cat)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>{{doc}}
 
<noinclude>{{doc}}
[[ru:Template:RUbeingedited]]
+
[[Category:Multilingual templates RU]]
[[Category:Wiki Templates]]
+
[[Category:Multilingual templates UA]]
 +
[[Category:Multilingual templates EN]]
 +
[[Category:Multilingual templates PT]]
 +
</noinclude>
 
<includeonly>
 
<includeonly>
 
<div>
 
<div>
 +
<!--
 +
ВНИМАНИЕ! При добавлении новой локали - добавить соответствующую категорию с локалью в строках выше!
 +
 +
ATTENTION! When adding a new locale-add the appropriate category with the locale in the lines above!
 +
-->
 
<span style="border:1px solid #CCAA77; background-color: #FFFFAA; padding: 4px; text-align: left; margin-bottom: 20px; white-space: nowrap;">
 
<span style="border:1px solid #CCAA77; background-color: #FFFFAA; padding: 4px; text-align: left; margin-bottom: 20px; white-space: nowrap;">
[[image:Documentation_beingedited.png|40px]] This page is currently being edited {{{1|}}}
+
[[image:Documentation_beingedited.png|70px]] {{#switch:{{{1}}}
 +
| RU        = Страница сейчас редактируется
 +
| UA        = Сторінка зараз редагується
 +
| EN        = This page is currently being edited
 +
| PT        = Esta página está atualmente sendo editada
 +
| #default  = Страница сейчас редактируется
 +
}} {{{2|}}}
 
</span>
 
</span>
 
</div>
 
</div>
 
<!--
 
<!--
Eng: This pattern involved second parameter (any non-empty). This parameter is used to make paper, in which the template is applied, was not classified as "drafts".
+
Eng: This template uses the third parameter (any non-empty one). The parameter is used to ensure that the article in which the template is applied is not classified as "In the process of creating".
This parameter is introduced for use in the documentation page "Documentation/Dashboard/Wiki_Editing_Policy", which describes the use of this template.
+
This parameter was entered for use on the documentation page RU / rules ..., which describes the application of this template.
Application of the parameter on other pages is STRICTLY PROHIBITED!
+
Applying the second parameter to other pages is STRICIALLY PROHIBITED!
For this reason, this comment is not imposed in the instruction.
+
For this reason, this comment is not included in the manual.
  
Rus: В данном шаблоне задействован второй параметр (любой непустой). Параметр применяется для того, чтобы статья, в которой применён шаблон, не была отнесена к категории "черновиков".
+
Rus: В данном шаблоне задействован третий параметр (любой непустой). Параметр применяется для того, чтобы статья, в которой применён шаблон, не была отнесена к категории "В процессе создания".
Данный параметр введён для использования на странице документации RU/wiki_editing_policy, где описывается применение данного шаблона.
+
Данный параметр введён для использования на странице документации RU/rules..., где описывается применение данного шаблона.
 
Применение второго параметра на других страницах СТРОГО ЗАПРЕЩЕНО!
 
Применение второго параметра на других страницах СТРОГО ЗАПРЕЩЕНО!
 
По этой причине настоящий комментарий не вынесен в инструкцию.
 
По этой причине настоящий комментарий не вынесен в инструкцию.
 
-->
 
-->
{{#if: {{{2|}}} |&nbsp;|[[Category: Documentation/BeingEdited]]}}
+
{{#if: {{{3|}}} |&nbsp;|[[Category:BeingEdited {{{1}}}]]}}
 
</includeonly>
 
</includeonly>

Latest revision as of 15:25, 2 January 2019

Документация Документация    —    Documentation


РУС ENG
'

Предназначение    —    Mission

Мультиязычный шаблон. Multilingual templates
Данный шаблон предназначен для отметки статей, находящихся на стадии создания (написания).

Помеченные данным шаблоном статьи автоматически помещаются в категорию Category:BeingEdited.

This template is intended to mark the articles that are in the process of creation (writing).

Labeled the template article are automatically placed in the category Category:BeingEdited.

Имеющиеся локализации:
  • RU - русская;
  • UA - украинская;
  • EN - английская.
  • PT - Португальский.
Available localizations:
  • RU - Russian;
  • UA - Ukrainian;
  • EN - the English.
  • PT - Português.


'

Параметры    —    Parameters

Два обязательных параметра
  1. - с кодом локали:
    • RU
    • UA
    • EN
    • PT
  2. - параметр - подпись редактора, вставляемая специальным тегом --~~~~
Two required parameters
  1. - Locale code:
    • RU
    • UA
    • EN
    • PT
  2. - The - signature editor inserts a special tag --~~~~


'

Инструкция по использованию    —    Operation manual

Вставляется в начале статьи перед секцией TOC. Inserted at the beginning of the article. Inserted before the section of the "TOC".
Первый параметр шаблона соответствует коду национальной языковой страницы, к которой относится статья, помечаемая данным шаблоном. The first template parameter corresponds to the national language code page to which the article is marked with the template.


'

Шаблон основан на следующих шаблонах    —    Parent templates

Нет. No.


'

Дочерние шаблоны    —    Subsidiaries templates

Нет. No.


'

Пример    —    Example

Шаблон    —    template Результат    —    result
{{BeingEdited|RU|--~~~~}}

Documentation beingedited.png Страница сейчас редактируется --Санчо 07:48, 5 September 2011 (UTC)

 

{{BeingEdited|UA|--~~~~}}

Documentation beingedited.png Сторінка зараз редагується --Санчо 07:48, 5 September 2011 (UTC)

 

Personal tools