টেমপ্লেট:Trim brackets/নথি
অবয়ব
![]() | এটি টেমপ্লেট:Trim brackets-এর জন্য একটি নথির উপপাতা। এখানে ব্যবহার সংক্রান্ত তথ্য, বিষয়শ্রেণী এবং অন্যান্য সামগ্রী রয়েছে যা মূল টেমপ্লেট পাতার অংশ নয়। |
ব্যবহার
[সম্পাদনা]{{trim brackets|text}}
= text with any leading or trailing square brackets removed (as long as text doesn't contain any =
signs).
{{trim brackets|1=text}}
= text with any leading or trailing square brackets removed.
উদাহরণ
[সম্পাদনা]- "
{{trim brackets|1= [[abc]] }}
" produces "abc".
- "
{{trim brackets|1= [[abc]], [[def]], and [[ghi]] }}
" produces "abc]], def, and [[ghi"
("{{delink|1= [[abc]], [[def]], and [[ghi]] }}
" produces "abc, def, and ghi").
- "
{{trim brackets|1= [[abc|xyz]] }}
" produces "abc|xyz".
টেমপ্লেটডাটা
[সম্পাদনা]নতুন দৃশ্যমান সম্পাদনা দ্বারা ব্যবহৃত টেমপ্লেটের জন্য টেমপ্লেটডাটা নথি।
Trim brackets শীর্ষ
The template trims leading and trailing square brackets from a string.
প্যারামিটার | বিবরণ | ধরন | অবস্থা | |
---|---|---|---|---|
String | 1 | The string to be trimmed | স্ট্রিং | প্রয়োজনীয় |
আরও দেখুন
[সম্পাদনা]- {{delink}}, which does nearly the exact same thing, but also removes balanced pairs of square brackets that aren't leading and trailing and has additional options.
- {{trim}}
টেমপ্লেট:String-handling templates