Difference between revisions of "Template:Sign/doc"
(Основной текст) |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 11: | Line 11: | ||
{{Doc/doc/code/tbl/titleParameters}} | {{Doc/doc/code/tbl/titleParameters}} | ||
{{Doc/doc/code/tbl/strL10n | {{Doc/doc/code/tbl/strL10n | ||
| − | |l1=Два | + | |l1=Два параметра (один из параметров должен быть всегда): |
# Логин создателя статьи; | # Логин создателя статьи; | ||
# И. О. Фамилия автора. | # И. О. Фамилия автора. | ||
| − | |l2= | + | В профиле пользователя должна быть секция '''sign''', в которой указывается '''И. О. Фамилия''', подставляемые в подпись. |
| − | # Login creator; | + | |l2=Two parameters (one of the options should always be): |
| − | # Full name of the author | + | # Login creator article; |
| − | + | # Full name of the author. | |
| + | In the profile section must be '''sign''', which states '''Full name''', substituted in the signature. | ||
}} | }} | ||
{{Doc/doc/code/tbl/titleOperationManual}} | {{Doc/doc/code/tbl/titleOperationManual}} | ||
{{Doc/doc/code/tbl/strL10n | {{Doc/doc/code/tbl/strL10n | ||
|l1=Вставить шаблон после текста статьи. | |l1=Вставить шаблон после текста статьи. | ||
| + | |||
| + | Если указан логин (первый параметр) и в профиле пользователя есть настроенная секция '''sign''', то подпись будет взята их этой секции и оформлена в виде гиперссылки на профиль пользователя. | ||
| + | |||
| + | Если явно указан второй параметр, то в качестве подписи будет использован он. | ||
| + | |||
| + | |||
| + | Если в качестве подписи указывается имя не зарегистрированного в системе, то первый параметр явно опускается и явно указывается второй. В этом случае будет создана подпись из второго параметра без создания гиперссылки. | ||
|l2=Use template after the text of the article. | |l2=Use template after the text of the article. | ||
| + | |||
| + | If you specify a username (first parameter) and the user profile is configured section'''sign''', 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. | ||
}} | }} | ||
{{Doc/doc/code/tbl/titleParentTemplate}} | {{Doc/doc/code/tbl/titleParentTemplate}} | ||
| Line 37: | Line 52: | ||
{{Doc/doc/code/tbl/exampleBegin}} | {{Doc/doc/code/tbl/exampleBegin}} | ||
{{Doc/doc/code/tbl/exampleStrL10n | {{Doc/doc/code/tbl/exampleStrL10n | ||
| − | |examp1={{Tlp|Sign|Sancho| | + | |examp1={{Tlp|Sign|Sancho}} |
| − | |examp2={{Sign| | + | |examp2={{Sign|Sancho}} |
| + | }} | ||
| + | {{Doc/doc/code/tbl/exampleStrL10n | ||
| + | |examp1={{Tlp|Sign|Sancho|Харламенков}} | ||
| + | |examp2={{Sign|Sancho|Харламенков}} | ||
| + | }} | ||
| + | {{Doc/doc/code/tbl/exampleStrL10n | ||
| + | |examp1={{Tlp|Sign||Иванов И. И.}} | ||
| + | |examp2={{Sign||Иванов И. И.}} | ||
}} | }} | ||
{{Doc/doc/code/tbl/exampleEnd}} | {{Doc/doc/code/tbl/exampleEnd}} | ||
Latest revision as of 12:59, 23 September 2011
| № | РУС | ENG | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ' |
Предназначение — Mission | |||||||||
| Шаблон для вставки в статью подписи её создателя. | Template to insert in the article signature creator.
| |||||||||
| ' |
Параметры — Parameters | |||||||||
Два параметра (один из параметров должен быть всегда):
В профиле пользователя должна быть секция sign, в которой указывается И. О. Фамилия, подставляемые в подпись. |
Two parameters (one of the options should always be):
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.
| |||||||||
| ' |
Шаблон основан на следующих шаблонах — Parent templates | |||||||||
| {{SignAll}} | {{SignAll}}
| |||||||||
| ' |
Дочерние шаблоны — Subsidiaries templates | |||||||||
| Нет. | No.
| |||||||||
| ' |
Пример — Example | |||||||||
| ||||||||||