Template:Remove first word: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>AGK
m Changed protection level of Template:Remove first word/any: Highly-visible template (between 700 and 1200 transclusions) (‎[edit=autoconfirmed] (indefinite) ‎[move=sysop] (indefinite))
meta>Wikid77
removed unneeded pre-condition of {# if {strfind short...} } because always extracts string, runs 35% faster now, and one less if-structure reduced the expansion level by 1.
Line 1: Line 1:
{{#if:{{strfind short|{{{1|}}}| |1}}|{{substr any|{{{1|}}}|{{strfind short|{{{1|}}}| |1}}|{{#expr:{{strlen_quick|{{{1|}}}}}-{{strfind short|{{{1|}}}| |1}} }}}}}}<noinclude>
{{substr any|{{{1}}}|{{strfind short|{{{1}}}| |1}}|{{#expr:{{strlen_quick|{{{1}}}}}-{{strfind short|{{{1}}}| |1}} }}}}<noinclude>


{{Documentation}}
{{Documentation}}


</noinclude>
</noinclude>

Revision as of 00:37, 31 August 2012

Template:Substr any