الگو:الگو برای ادغام/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد

این الگو برای نامزد کردن الگوهای دیگر برای ادغام به کار می‌رود.

استفاده[ویرایش]

To nominate a single template, copy and paste the following code at the top of the template:

{{جا:الگو برای ادغام|OtherTemplate}}
  • Note: OtherTemplate should be replaced by the name of the other template to be merged, excluding the prefix Template:.


To nominate multiple templates for merging under the same header, type the following at the top of each individual template:

{{جا:الگو برای ادغام|OtherTemplate|heading=NameHeader}}

where NameHeader is the name of the header under which you will list the templates for merging.

نمایش در مقالات[ویرایش]

Unless you do something unusual such as enclosing in noinclude tags, articles that use the nominated template will provide a notification and link to the discussion. By default the article will show the following just above the display of the nominated template:

There are various other options, specified by the |type= parameter.

درون خطی[ویرایش]

To nominate inline templates, set |type=inline. This will help with formatting issues that occur when the large notification is displayed. Type the following:

{{جا:الگو برای ادغام|OtherTemplate|type=inline}}

The notification on articles looks like this:

کوچک[ویرایش]

To use even smaller notifications, for inline template nominations, set |type=tiny. Type the following

{{جا:الگو برای ادغام|OtherTemplate|type=tiny}}

which will produce the following notification:

نوار کناری[ویرایش]

To nominate templates that are used as sidebars, such as infoboxes, specify |type=sidebar, i.e.

{{جا:الگو برای ادغام|OtherTemplate|type=sidebar}}

which produces:

You can alternatively use |type=infobox or |type=box to produce the same result.

غیر فعال[ویرایش]

Finally it is possible to disable the notification completely by typing |type=disabled. You can use this when everything else fails.

{{جا:الگو برای ادغام|OtherTemplate|type=disabled}}

which outputs nothing at all on article pages.

چستارهای وابسته[ویرایش]