টেমপ্লেট:অজানাক্রমে অংশবিশেষ অন্তর্ভুক্তি
![]() | ব্যবহৃত লুয়া: |
অজানা উদ্ধৃত প্রতিলিপি একটি নিবন্ধের মূলকে একটি অংশ হিসাবে স্থানান্তরিত করেছে। প্রবেশদ্বার ব্যবহারের জন্য এটি নকশা করা হয়েছে। এটি নিবন্ধের পাঠ্য অপসারণের পরে প্রথম শিরোনাম ব্যতীত প্রদান করে:
- প্রাথমিক টেমপ্লেট যেমন ইনফোবক্স, হ্যাটনোটস এবং নিবন্ধের উন্নতি ট্যাগসমূহ
- noinclude অন্তর্ভুক্ত
- তথ্যসূত্র এবং পাদটীকা
- চিত্র, নির্দিষ্টভাবে ধরে রাখা না হলে
ব্যবহার
[সম্পাদনা]{{Transclude random excerpt | 1= | 2= | paragraphs= | files= | fileargs= | errors= }}
এই টেমপ্লেটটি নামবিহীন স্থিতিমাপ হিসাবে পৃষ্ঠার যেকোনও সংখ্যার নাম গ্রহণ করে। এর মধ্যে একটি অজানাভাবে নির্বাচিত হয়েছে এবং সেই শিরোনামযুক্ত পৃষ্ঠাটি প্রতিলিপি করা হয়েছে। (নির্বাচিত পৃষ্ঠাটি অবৈধ হলে টেমপ্লেটটি আবার চয়ন করবে।) যেখানে প্রয়োজন সেখানে একটি নামাঙ্ক অন্তর্ভুক্ত করুন। অন্য কোনও অবস্থানগত পরামিতি নেই তবে কয়েকটি ঐচ্ছিক নামযুক্ত স্থিতিমাপ রয়েছে:
- A list of paragraphs such as
paragraphs=1,3-5
; the default is all paragraphs. - A list of file (image) numbers such as
files=1
; the default is no images. Non-free images are removed. - Arguments to pass to File: such as
fileargs=left
to move images to the left; the default is none. errors=
to allow Lua error messages to appear in the outputshowall=
to show all articles simultaneouslylist=
to show a list of articlesCoding not compatible with mobile versions of Wikipedia causing display and accessibility problems
paragraphs=
and files=
each accept a comma-separated list containing numbers and/or number ranges in the format min-max. Alternatively, files=
can accept the name of a single image, e.g. files=My image file.jpg
.
showall=
shows all articles simultaneously. This option is intended for a subpage aimed at editors as well as readers. Using this template on a subpage with <noinclude>|showall=</noinclude>
and transcluding the subpage on a main page will show all excerpts on the subpage but only one on the main page, without repeating the template and its arguments.
টেমপ্লেট:Transclude lead excerpt/doc
পাতা পছন্দসমূহ
[সম্পাদনা]আরো দেখুন
[সম্পাদনা]- {{Transclude lead excerpt}}: specifies the article explicitly
- {{Transclude list item excerpt}}: chooses the article randomly from those listed on a page
- {{Transclude linked excerpt}}: chooses the article randomly from those linked from a page
- {{Transclude selected excerpt}}: chooses the article from a list using an index such as the week number
The templates were discussed at Use of direct transclusion in portals and the newer portal transclusion templates. টেমপ্লেট:Portal templates navbox
টেমপ্লেট তথ্য
[সম্পাদনা]অজানাক্রমে অংশবিশেষ অন্তর্ভুক্তি শীর্ষ
Transclude random excerpt transcludes the lead of a randomly chosen article as an excerpt
প্যারামিটার | বিবরণ | ধরন | অবস্থা | |
---|---|---|---|---|
1 | 1 | The name of a page which may be transcluded
| স্ট্রিং | প্রয়োজনীয় |
2 | 2 | The name of another page which may be transcluded. Similarly for optional parameters 3, 4, ...
| স্ট্রিং | ঐচ্ছিক |
Paragraphs | paragraphs | Numbers of the paragraphs to be transcluded, as a comma-separated list containing numbers and/or number ranges in the format min-max
| স্ট্রিং | ঐচ্ছিক |
Files | files | Numbers of the images to be transcluded, as a comma-separated list containing numbers and/or number ranges in the format min-max
| স্ট্রিং | ঐচ্ছিক |
FileArgs | fileargs | Arguments to pass to File:
| স্ট্রিং | ঐচ্ছিক |
More | more | Text for trailing link to the entire article. Note: more= with no value produces the standard text: Read more...
| স্ট্রিং | ঐচ্ছিক |
Errors | errors | Allow Lua error messages to appear in the output?
| বুলিয়ান | ঐচ্ছিক |
ShowAll | showall | Show all excerpts simultaneously?
| স্ট্রিং | ঐচ্ছিক |
List | list | Show a list of excerpts?
| স্ট্রিং | ঐচ্ছিক |