টেমপ্লেট:Ifor
The টেমপ্লেট:Tf template extends the #ifeq: parser function, allowing it to pass multiple case strings against the same number of comparison strings. It returns a true result if any single case string is equal to any single comparison string, returning a false result otherwise.
Usage[সম্পাদনা]
This template compares if any comparison string (up to 30 unnamed numeric parameters; test1, test2, test3, etc.) equals its matching case string (up to 30 unnamed numeric parameters; val1, val2, val3, etc.) then returns a single result string (parameter then) if any are equal or returns a single optional default result string (parameter else) if none are equal.
The test and val parameters ignore case sensitivity (treat lower- and upper-case as equal inputs) and also ignore pre-integer zeros (e.g., 02 is equal to 2, 002 is equal to 2).
Full blank syntax[সম্পাদনা]
{{ifor | test1 = | val1 = | test2 = | val2 = | test3 = | val3 = <!-- up to 30 test and var parameters can be inputted, using the same method as shown above --> | then = | else = }}
See also[সম্পাদনা]
- {{ifeqall}}
- Compares one comparison string against up to 10 case strings with optional result string and default result string outputs.
- {{ifeqany}}
- Compares up to 24 case strings against each other with result string and default result string outputs.
- {{ifequal}}
- Compares up to 16 comparison strings against an equal number of case strings.
উপরোক্ত নথিটি টেমপ্লেট:Ifor/নথি থেকে প্রতিলিপ্ত। (সম্পাদনা | ইতিহাস) ব্যবহারকারীগণ খেলাঘর (তৈরি করুন | আয়না) এবং পরীক্ষা পাতায় (তৈরি করুন) এই টেমপ্লেট সংক্রান্ত পরীক্ষা-নিরীক্ষা করতে পারেন। দয়া করে /নথি উপপাতায় বিষয়শ্রেণী যোগ করুন। এই টেমপ্লেটের উপপাতাসমূহ। |