Difference between revisions of "Template:Str crop"

From Timelines
Jump to: navigation, search
m (Protected Template:Str crop: Highly visible template ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
(add safesubst:)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{str_left|{{{1}}}|{{#expr:{{str_len|{{{1}}}}}-{{{2}}}}}}}<noinclude>
+
<includeonly>{{safesubst:#invoke:String | sub | s={{{1|}}} | 1 | {{safesubst:#expr: -{{{2|1}}} - 1}} | ignore_errors=true }}</includeonly><noinclude>
{{template doc}}</noinclude>
+
{{documentation}}</noinclude>

Latest revision as of 06:37, 16 April 2015

Template documentation[create]