תבנית:Str mid: הבדלים בין גרסאות בדף

שחזור לגרסה 29941177 מ־20:28, 25 בנובמבר 2020 מאת בורה בורה {{א|בורה בורה}} שים לב, מה שהוספת הוסיף רווח מיותר ששבר קישורים. תיקנתי.
אין תקציר עריכה
 
(גרסת ביניים אחת של אותו משתמש אינה מוצגת)
שורה 1: שורה 1:
<noinclude>{{ניהול פרמטרים/תוכן}}</noinclude><includeonly>{{#invoke:ParamValidator|validateparams|module_options=יחידה:PV-options}}</includeonly>{{str mid/core
<includeonly>{{#invoke:ParamValidator|validateparams|module_options=יחידה:PV-options}}</includeonly>{{str mid/core
| s={{{1|}}}
| s={{{1|}}}
| i={{#if:{{{2|}}}}|{{{2|}}}|{{#ifexpr:({{#if:{{{3|}}}|1|0}} and {{#if:{{{4|}}}|1|0}})|{{#expr:{{min|{{{4|}}}|{{#invoke:String|len|{{trim|{{{1|}}}}}}}}}-{{{3|}}}+{{#ifexpr:{{{3|}}}<0|-1|1}}}}|1}}}}
| i={{#if:{{{2|}}}}|{{{2|}}}|{{#ifexpr:({{#if:{{{3|}}}|1|0}} and {{#if:{{{4|}}}|1|0}})|{{#expr:{{min|{{{4|}}}|{{#invoke:String|len|{{trim|{{{1|}}}}}}}}}-{{{3|}}}+{{#ifexpr:{{{3|}}}<0|-1|1}}}}|1}}}}