Шаблон:Str index: различия между версиями

Материал из in.wiki
Перейти к навигации Перейти к поиску
м (последуем же написанному в комментарии и перенесём категории)
(оформление)
Строка 1: Строка 1:
<includeonly>{{{{{|safesubst:}}}#Invoke:String | pos | target={{{1|}}} | pos={{{2|0}}} | no_category={{{nocategory|}}} }}</includeonly><noinclude>
+
<includeonly>{{str ≥ len
 +
| 1 = {{{1|}}}
 +
| 2 = {{{2|0}}}
 +
| 3 = {{str index/logic|*{{str left|{{{1|}}}|{{{2|0}}}}}*|{{str left|{{{1|}}}|{{#expr:{{{2|0}}}-1}}}}}}
 +
| 4 = {{FormattingError|((str index)): String is not long enough.}}
 +
}}</includeonly><noinclude>
 +
 
 +
 
 
{{doc}}
 
{{doc}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 +
[[Категория:Традиция:Заимствованные шаблоны|{{PAGENAME}}]]
 +
[[Категория:Шаблоны:Работа со строками|find]]
 +
 
</noinclude>
 
</noinclude>

Версия от 01:33, 21 ноября 2020


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