الگو:Str number/trim/توضیحات: تفاوت میان نسخهها
ظاهر
صفحهای تازه حاوی «{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|Str number/trim}} template. It takes a string as parameter, and returns the string trimmed to the beginning numbers. It is limited to 21 numbers. === Examples === *<code><nowiki>{{Str number/trim}}</nowiki></code> → {{Str number/trim}} *<code><nowiki>{{Str number/trim|abcde}}</nowiki></code>...» ایجاد کرد |
(بدون تفاوت)
|
نسخهٔ کنونی تا ۲۴ ژانویهٔ ۲۰۲۵، ساعت ۱۸:۳۹
![]() | این زیرصفحهٔ مستندات الگو:Str number/trim است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
This is the {{Str number/trim}} template.
It takes a string as parameter, and returns the string trimmed to the beginning numbers. It is limited to 21 numbers.
Examples
{{Str number/trim}}
→{{Str number/trim|abcde}}
→{{Str number/trim|abcde123}}
→{{Str number/trim|123456}}
→ 123456{{Str number/trim|123 456}}
→ 123{{Str number/trim|1976–2006}}
→ 1976{{Str number/trim|1234abc}}
→ 1234{{Str number/trim|1234abc56}}
→ 1234{{Str number/trim|12345678901234567890}}
→ 12345678901234567890{{Str number/trim|1234567890123456789012345}}
→ 1234567890123456789012345{{Str number/trim| 1234567890123456789012345}}
→ 1234567890123456789012345{{Str number/trim|13<ref>a reference</ref>}}
→ 13
See also
Description of all string templates
References
- ↑ a reference