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

מ בוט: מעביר קישורי בינויקי לויקינתונים - d:q11016343
אין תקציר עריכה
 
(8 גרסאות ביניים של 5 משתמשים אינן מוצגות)
שורה 1: שורה 1:
{{{{{|safesubst:}}}#ifexpr: {{{{{|safesubst:}}}#invoke:String|len|s={{{1|}}}}} <= {{{2|0}}}  <noinclude><!-- str >= len --></noinclude>
<includeonly>{{#invoke:ParamValidator|validateparams|module_options=יחידה:PV-options}}</includeonly>{{{{{|safesubst:}}}#ifexpr: {{{{{|safesubst:}}}#invoke:String|len|s={{{1|}}}}} <= {{{2|0}}}  <noinclude><!-- str >= len --></noinclude>
| {{{3|}}}
| {{{3|}}}
| {{{4|}}}
| {{{4|}}}
}}<noinclude>
}}<noinclude>
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
התבנית משמשת לבדיקת אורך של מחרוזת.
פרמטרים:
* פרמטר 1: המחרוזת הנבדקת
* פרמטר 2: האורך הנבדק
* פרמטר 3: הפעולה שיש לעשות כאשר המחרוזת הנבדקת קצרה מהאורך הנבדק או שווה לו
* פרמטר 4: אופציונלי - הפעולה שיש לעשות כאשר המחרוזת הנבדקת ארוכה מהאורך הנבדק.
[[קטגוריה:תבניות לעיבוד מחרוזות]]
[[קטגוריה:תבניות לעיבוד מחרוזות]]
</noinclude>
<templatedata>
{
"params": {
"1": {},
"2": {},
"3": {},
"4": {}
},
"format": "inline"
}
</templatedata></noinclude>