Template:Str endswith: Difference between revisions
Content added Content deleted
m (Protected Template:Str endswith: Highly-visible template (over 1000 transclusions) ([edit=autoconfirmed] (indefinite) [move=sysop] (indefinite))) |
Reception123 (talk | contribs) m (12 revisions imported: needed for policy template) |
||
(7 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{#ifeq:{{{1|a}}}{{{2|a}}}|{{{1|b}}}{{{2|b}}}|{{#invoke:String|endswith|source={{{1}}}|pattern={{{2}}} }}|yes<!--backward compatibility -->}}<noinclude> |
|||
{{#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|}}}}} |
|||
| yes |
|||
}}<noinclude> |
|||
{{documentation}} |
{{documentation}} |
||
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
|||
</noinclude> |
</noinclude> |