টেমপ্লেট:Random portal component/নথি

উইকিসংকলন থেকে


This template generates a box for a portal home page. The content is drawn randomly from a pre-defined list.

বিন্যাস

{{Random portal component
 |max      =
 |header   =
 |footer   =
 |subpage  = 
 |rootpage =
}}

ব্যবহার

  • header: (Optional) The header text of the box. If no header is passed to the template, the default is the subpage name.
  • footer: (Optional) The footer text in the box. E.g. Nominations for selected picture.
  • rootpage: (Optional) The root of the transcluded page, e.g. Portal:Foo.
  • subpage: The subpage of the transcluded page, e.g. Selected picture.
  • max: The maximum number of sub-subpages. Must be a positive integer.

ফরম্যাটিং উপপাতাসমূহ

  • Create a sub-page first. If your portal is Portal:Foo, then a sub-page could be Portal:Foo/Selected bar.
  • On the Portal:Foo/Selected bar sub-page, place the template {{numbered subpages}} on the page and save it. The template will default to 50 subject sub-pages, however you can also use {{25 Numbered subpages}} or {{75 Numbered subpages}} for more or less sub-pages.
  • Once the list of subject links have been created, use one of the Selected subject templates from further to format each of the subject sub-pages.
  • This template calls /box-header and /box-footer for its color styles and closing, these must be present in your portal design for it to work correctly.

উদাহরণ

To see a real time example, see what links here (the list of pages that currently transclude the {{Random portal component}} template).

Here is a stale example of the output generated by this template.

{{Box-header | title=Header
|editpage   = Template:Lorem ipsum
|border     = Black
|titleforeground = #ffe247
|titlebackground = #A9A9A9
|background = #FFFFFF
|foreground = black
}}
{{Lorem ipsum}}
{{Box-footer | Footer }}

will produce:

বিষণ্ণ ঔদাসীন্যে ঊষাবৌদি বাংলাভাষায় প্রচলিত ঈশপের নিখুঁত গল্পটির ডালপালা অর্ধেক ছড়াতেই ঋতু ভুঁইঞা আর ঐন্দ্রিলা ধড়ফড়িয়ে দারুণ হৈ-হৈ করে উঠল-- ওঃ, ব্যাস্ এবার থামো তো, বুঝেছি বড্ডো পুরানো ঢঙের কেমন এক গল্প যার নীতিবাক্য হল,“মূঢ় আড়ম্বর ও আত্মশ্লাঘার ফল জীবনে বিঘ্ন ও বৃহৎ ক্ষতি”-- তাই না, এ্যাঁ? ০১২৩৪৫৬৭৮৯ ৳৫৬/- ৉৫৬/-

Footer

আরও দেখুন

প্রধান প্রবেশদ্বার সৃষ্টিকারি টেমপ্লেট

  • {{Box portal skeleton}}—প্রবেশদ্বার প্রধান পাতাগুলি তৈরি করতে ব্যবহৃত হয়।
  • {{Random portal component}}—প্রবেশদ্বার উপ-পাতাগুলি থেকে অজানা বা এলোমেলো নিবন্ধগুলি প্রদর্শন করতে প্রবেশদ্বার প্রধান পাতায় ব্যবহৃত হয়।
  • {{Random portal component with nominate}}—প্রবেশদ্বার প্রধান পাতায় এলোমেলোভাবে প্রবেশদ্বার উপ-পাতাগুলি থেকে নিবন্ধগুলি প্রদর্শন করতে ব্যবহৃত হয়, অন্যান্য Featured foo 'নিবন্ধগুলি মনোনয়নের বিকল্প যুক্ত করে।
  • {{Random subpage}}—প্রবেশদ্বার উপ-পাতাগুলি থেকে এলোমেলোভাবে নিবন্ধগুলি প্রদর্শন করতে প্রবেশদ্বার প্রধান পাতায় ব্যবহৃত হয়। এই টেমপ্লেটটি এলোমেলোভাবে জনবহুল আপনি কি জানেন ... বিভাগগুলি প্রবেশদ্বার প্রধান পাতায় তৈরি করার জন্য সবচেয়ে বেশি ব্যবহৃত হয় যা একাধিক আপনি কি জানেন ... ঘটনাগুলি অন্তর্ভুক্ত করার উদ্দেশ্যে তৈরি হয়েছিল।
  • {{উপপাতা}}—উপপাতার লিঙ্কযুক্ত একটি বাক্স প্রদর্শন করতে ব্যবহৃত হয়।
  • {{Numbered subpages}}—৫০টি লিঙ্ক সহ প্রবেশদ্বার উপ-পাতাগুলিতে নিবন্ধ লিঙ্ক তৈরি করতে ব্যবহৃত হয়।
    • {{Numbered subpages|max=25}}—পূর্ববর্তী টেমপ্লেট অনুসারে, তবে ২৫টি লিঙ্কের সাথে।
    • {{Numbered subpages|max=75}}—পূর্ববর্তী টেমপ্লেট অনুসারে, তবে ৭৫টি লিঙ্কের সাথে।
    • {{Numbered subpages|max=100}}—পূর্ববর্তী টেমপ্লেট অনুসারে, তবে ১০০টি লিঙ্কের সাথে।
  • {{Random box-header subpage}}—একটি নম্বরযুক্ত উপপাতা প্রতিলিপি করতে ব্যবহৃত হয়।

প্রধান প্রবেশদ্বার পাতা ফর্ম্যাটিং টেমপ্লেট

টেমপ্লেট যা সংযোগসমূহ কনফিগার করে

এই টেমপ্লেট উপ-পাতায় নিবন্ধ ফরম্যাট করার জন্য ব্যবহৃত হয়

{{Selected X}}—Generic template for situations not listed hereafter.

সম্পর্কিত টেমপ্লেট