Difference between revisions of "Template:Str endswith"
From Timelines
m (Protected Template:Str endswith: Highly-visible template (over 1000 transclusions) ([edit=autoconfirmed] (indefinite) [move=sysop] (indefinite))) |
(changed from Template:Str_left to use {padleft:| len(1) - len(2) |{1} }, to reduce expansion depth to 14 levels from 16.) |
||
Line 1: | Line 1: | ||
− | {{#ifeq: {{ | + | {{#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> |
Revision as of 20:10, 7 September 2012
yes
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |