টেমপ্লেট:বিষয়শ্রেণীর অজানা যেকোনো পাতা/নথি
অবয়ব
এটি টেমপ্লেট:বিষয়শ্রেণীর অজানা যেকোনো পাতা-এর জন্য একটি নথির উপপাতা। এখানে ব্যবহার সংক্রান্ত তথ্য, বিষয়শ্রেণী এবং অন্যান্য সামগ্রী রয়েছে যা মূল টেমপ্লেট পাতার অংশ নয়। |
This template creates a link to random page from a category.
Usage[সম্পাদনা]
- First parameter is the category from which to get a random page. If it is not specified, it defaults to current page, which works well only on category pages.
- Second parameter is depth of subcategories to choose from. Maximum depth is 10. If not specified, only selected category is considered.
- Parameter
text
is for specifying different link text. - Parameter
ns
is for specifying namespace id.
Examples[সম্পাদনা]
{{Random page in category}}
would produce on Category:Physics: Random page in this category{{Random page in category||2}}
would produce on Category:Physics: Random page in this category{{Random page in category|Physics}}
produces: Physics বিষয়শ্রেণীর অজানা যেকোনো পাতা{{Random page in category|Physics|2}}
produces: Physics বিষয়শ্রেণীর অজানা যেকোনো পাতা{{Random page in category|Physics|text=Random page}}
produces: Random page
{{Random page in category|1990s albums|2}}
produces: 1990s albums বিষয়শ্রেণীর অজানা যেকোনো পাতা{{Random page in category|Universities and colleges|2}}
produces: Universities and colleges বিষয়শ্রেণীর অজানা যেকোনো পাতা
{{Random page in category|One Laptop per Child|2}}
produces: One Laptop per Child বিষয়শ্রেণীর অজানা যেকোনো পাতা
See also[সম্পাদনা]
- Ervin85's Random article on toolserver – the tool this template is based upon