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

Материал из Колыбели Солнца
Перейти к навигации Перейти к поиску
en>AGK
м (Protected Template:Str endswith: Highly-visible template (over 1000 transclusions) (‎[edit=autoconfirmed] (indefinite) ‎[move=sysop] (indefinite)))
en>Wikid77
(changed from Template:Str_left to use {padleft:| len(1) - len(2) |{1} }, to reduce expansion depth to 14 levels from 16.)
Строка 1: Строка 1:
{{#ifeq: {{str left |nocategory={{{nocategory|}}} |{{{1|}}}|{{#expr:{{str len |nocategory={{{nocategory|}}} |{{{1|}}}}}-{{str len |nocategory={{{nocategory|}}} |{{{2|}}}}}}}}}{{str trim |nocategory={{{nocategory|}}} |{{{2|}}}}} | {{str trim |nocategory={{{nocategory|}}} |{{{1|}}}}}
{{#ifeq: {{padleft:|{{#expr:{{str len |nocategory={{{nocategory|}}} |{{{1|Abcdef}}}}}-{{str len |nocategory={{{nocategory|}}} |{{{2|ef}}}}} }}|{{{1|Abcdef}}} }}{{str trim |nocategory={{{nocategory|}}} |{{{2|ef}}}}} | {{str trim |nocategory={{{nocategory|}}} |{{{1|Abcdef}}}}}
   | yes
   | yes
}}<noinclude>
}}<noinclude>
{{documentation}}
{{documentation}}


<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Версия 20:10, 7 сентября 2012

{{#ifeq: Шаблон:Str trim | Шаблон:Str trim

 | yes

}} Ошибка Lua: Внутренняя ошибка: Интерпретатор завершил работу со статусом 1.