This wiki has been automatically closed because there have been no edits or log actions made within the last 60 days. If you are a user (who is not the bureaucrat) that wishes for this wiki to be reopened, please request that at Requests for reopening wikis. If this wiki is not reopened within 6 months it may be deleted. Note: If you are a bureaucrat on this wiki, you can go to Special:ManageWiki and uncheck the "Closed" box to reopen it.

টেমপ্লেট:Random item

বরিশাল পিডিয়া, উন্মুক্ত তথ্যকোষ থেকে
টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

N টি উপাদান থেকে দৈবভাবে একটি উপাদান প্রকাশ করে।

ব্যবহার

  • {{random item|item1|item2|...|itemN}}
  • All calls to the function using |same=y with the same number of items will return the same item.

পরামিতি

  • |1=..|2=..|N= --> The items to return.
  • |same=y Set to a truthy value for all calls with this parameter set and the same number of items to return the same item.
  • There use to be a |range= parameter, but this is no longer needed.

উদাহরণ

শোধন

  • {{Random item|অ|আ|ই|ঈ|ক|খ|গ|ঘ|১|২|৩|৪}} --> আ
  • {{Random item|অ|আ|ই|ঈ|ক|খ|গ|ঘ|১|২|৩|৪}} --> ক
  • {{Random item|অ|আ|ই|ঈ|ক|খ|গ|ঘ|১|২|৩|৪}} --> অ
  • {{Random item|অ|আ|ই|ঈ|ক|খ|গ|ঘ|১|২|৩|৪|same=y}} --> ৩
  • {{Random item|অ|আ|ই|ঈ|ক|খ|গ|ঘ|১|২|৩|৪|same=y}} --> ৩
  • {{Random item|অ|আ|ই|ঈ|ক|খ|গ|ঘ|১|২|৩|৪|same=y}} --> ৩

আরো দেখুন