Extension:InputBox/bn

ইনপুটবক্স এক্সটেনশনটি উইকি পৃষ্ঠাগুলিতে ইতিমধ্যে তৈরি করা এইচটিএমএল ফর্মগুলি যোগ করে। ব্যবহারকারীরা বাক্সে প্রবেশ করে একটি ফর্ম (পাঠ্য প্রবেশ করা, মেনু আইটেম নির্বাচন করা ইত্যাদি) "সম্পূর্ণ" করতে পারেন।

InputBox was originally created by Erik Möller for the purpose of adding a  box to Wikinews.

উদাহরণ:
একটি নতুন নিবন্ধ শুরু করার জন্য বাক্স।



ফলাফল




সাধারণ বাক্যবিন্যাস
ইনপুট বাক্সগুলি এইভাবে নির্মিত হয়:

The type parameter is mandatory. All other parameters are optional. preloadparams[] can appear more than once.

Box types
The default location of the “” button(s) is below the input box.

The “” button can be moved to the right by using the line break parameter to eliminate the line break between the box and the button:.

Having the “” button to the right is useful for search boxes when search suggestions would otherwise cover up a search button below the search box.

For, the default location for the search button is inline to the right. Currently, it does not seem to be possible to add other parameters to this type of input box. This search box searches the entire wiki that it is placed on.

Parameters
Applying create to an existing page simply gives the edit page. In that case  is ignored. Applying comment for a new page works.

The texts taken from the  namespace are of course only examples, any existing page can be used for   or. Unfortunately  does not yet work for the Upload summary.

Alignment
If you want to create an inputbox on the right side of the page, do something like:

Gives: 

Parser function
Using InputBox in a template

In order to create many similar input boxes, InputBox can be used in a template. However, passing template parameters to InputBox parameters only works if the  tag is written as  inside the template.

The following example is a template to create a new wiki page from a named template:

When instantiating the template, the first parameter gives the item that is created (default: ) as spelled out in the button, the second parameter gives the name of the template used to create the item (default:  ).

E.g., the code for an input box to create a new project from a project template might look like this: