টেমপ্লেট:টেমপ্লেট সংক্ষিপ্ত

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
(টেমপ্লেট:Template shortcut থেকে পুনর্নির্দেশিত)
সরাসরি যাও: পরিভ্রমণ, অনুসন্ধান
নথি আইকন টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

This template displays one or more of a template's shortcuts (that is, redirects, also known as aliases, as in the box appearing at the right. {{Tsh}} is a shortcut to this template, {{টেমপ্লেট সংক্ষিপ্ত}}, and can be used in its place, as it is in this documentation's source wikitext.

ব্যবহার[সম্পাদনা]

Place this template and its list of few to one, carefully selected shortcut(s) at the top of the template documentation page's wikitext, right underneath {{নথির উপপাতা}}. In the saved, rendered text, those shortcuts will appear in this template's Shortcut(s) box, whose title will reflect the number of list items by automatically being singular or plural in form.

কোনটি এখানে প্রদর্শনের জন্য[সম্পাদনা]

Although the template can show up to ten shortcuts, you are encouraged to choose well which ones to display in this template's box. Even if many redirects exist, two or three at the most is almost always enough. By keeping the number of redirects presented in the Shortcut box small, it makes it easier to remember them, and the documentation is kept well organized.

কোথায় অন্যদের তালিকাবদ্ধ করতে হবে[সম্পাদনা]

List others in the Redirects section of the template documentation. Again, not all of them need to be listed; some shortcuts are there just for historical reasons, and others differ only in minor points such as white spaces or capitalization. Such shortcut-name variations are unnecessary to list at all—just list the standard, most common version of such a variation.

ঐচ্ছিক প্যারামিটার[সম্পাদনা]

This template has several optional parameters:

  • float – if set to "left", then the box will float to the left of the page, instead of the default float "right".
  • clear – if set to "right" (when float also is set to "right"), the box will be pushed to the right margin of the page, and[স্পষ্টকরণ প্রয়োজন] Similarly, if set to "left" (when float also is set to "left"), the box will be pushed to the left margin of the page.
  • pre, pre2, pre3 ... up to pre10 – can be used to show some text before the shortcut links, but within the braces. This is mostly used to add the text "subst:". This shows the proper syntax for using the template with substitution.
As with the other shortcuts in the saved, rendered version of this template, this shortcut code can be copied from its line in the box on the documentation page, as it is, and pasted in the wikitext of another page where you wish its rendered version to appear.
  • top – to change the padding above the box (e.g. |top=0 for no padding, |top=0.2em, |top=4 / |top=4px).

মৌলিক কোডের উদাহরণ[সম্পাদনা]

To display one template shortcut named {{uw-v1}}:

{{টেমপ্লেট সংক্ষিপ্ত|uw-v1}}

To display three template shortcuts for {{uw-vandalism1}} named {{uw-v1}}, {{uw-vand1}}, and {{uw-vandal1}}:

{{টেমপ্লেট সংক্ষিপ্ত|uw-v1|uw-vand1|uw-vandal1}}

ভাসা প্যারামিটারসহ উদাহরণ[সম্পাদনা]

Using |float=left makes this template flow to the left of the page:

{{টেমপ্লেট সংক্ষিপ্ত|float=left|uw-v1}}

ধনুর্বন্ধনী মধ্যে পাঠ্য ( "subst") সাথে উদাহরণ[সম্পাদনা]

This is mostly used to add text to show how the template could be used with substitution.

Use |pre2=subst: and |pre3=subst: to show "subst:" before the shortcut links, but within the braces:

{{টেমপ্লেট সংক্ষিপ্ত|uw-v1|pre2=subst:|uw-vand1|pre3=subst:|uw-vandal1}}

আরও দেখুন[সম্পাদনা]