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

שחזור לגרסה 21299395 מ־23:18, 2 באוגוסט 2017 מאת Matanyabot - בדיקה
אין תקציר עריכה
 
(5 גרסאות ביניים של 3 משתמשים אינן מוצגות)
שורה 1: שורה 1:
{{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}}}}
שורה 30: שורה 30:
|}
|}
[[קטגוריה:תבניות לעיבוד מחרוזות]]
[[קטגוריה:תבניות לעיבוד מחרוזות]]
</noinclude>
<templatedata>
{
"params": {
"1": {},
"2": {},
"3": {},
"4": {},
"ignore errors": {},
"error category": {},
"no category": {}
},
"format": "inline"
}
</templatedata></noinclude>