Difference between revisions of "Template:SignYear"

From Wiki
Jump to navigationJump to search
 
Line 3: Line 3:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
  
{{SignAll|Подпись к статье с датой|'''{{#if: {{{1}}} |[[User:{{{1}}}|{{#if: {{{2|}}} |{{{2}}}|{{Section|User:{{{1}}}|sign}}}}]]|{{#if: {{{2|}}} |{{{2}}}|{{Section|User:{{{1}}}|sign}}}}}}''';  <br /><br />'''{{{3}}}'''}}
+
{{SignAll|Подпись к статье с датой|'''{{#if: {{{1}}} |[[User:{{{1}}}|{{#if: {{{2|}}} |{{{2}}}|{{Section|User:{{{1}}}|sign}}}}]]|{{#if: {{{2|}}} |{{{2}}}|{{Section|User:{{{1}}}|sign}}}}}}''';  '''{{{3}}}'''}}
 
<br>
 
<br>
 
[[Category:{{{3}}}]]
 
[[Category:{{{3}}}]]
 
</includeonly>
 
</includeonly>

Latest revision as of 11:38, 28 November 2019

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


РУС ENG
'

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

Шаблон для вставки в статью подписи создателя с датой. Template to insert in the article signature creator with date.


'

Параметры    —    Parameters

Три параметра (первый или второй параметр должен быть всегда; третий параметр должен быть всегда):
  1. Логин создателя статьи;
  2. И. О. Фамилия создателя статьи;
  3. Год написания статьи - обязательный параметр.

В профиле пользователя должна быть секция sign, в которой указывается И. О. Фамилия, подставляемые в подпись.

The three parameters (first or second option should always be. The third parameter should always be):
  1. Login creator;
  2. Full name of the creator;
  3. Year of writing - required parameter.

In the profile section must be sign, which states Full name, substituted in the signature.


'

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

Вставить шаблон после текста статьи.

Если указан логин (первый параметр) и в профиле пользователя есть настроенная секция sign, то подпись будет взята их этой секции и оформлена в виде гиперссылки на профиль пользователя.

Если явно указан второй параметр, то в качестве подписи будет использован он.


Если в качестве подписи указывается имя не зарегистрированного в системе, то первый параметр явно опускается и явно указывается второй. В этом случае будет создана подпись из второго параметра без создания гиперссылки.


Третий параметр должен быть всегда.

Use template after the text of the article.

If you specify a username (first parameter) and the user profile is configured sectionsign, the signature will be taken to that section and is framed as a hyperlink to the user profile.

If the second parameter is explicitly specified, then the signature will be used it.


If the signature is the name is not registered in the system, the first option is obviously down and clearly stated the second. In this case, will create a signature from the second option without creating a hyperlink.


The third parameter should always be.


'

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

{{SignAll}} {{SignAll}}


'

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

Нет. No.


'

Пример    —    Example

Шаблон    —    template Результат    —    result
{{SignYear|Sancho||2010}}


{{SignYear||Иванов И. И.|2010}}


Иванов И. И.; 2010