साँचा:Tfm
यह साँचा [[साँचा:]] में विलय के लिए विचाराधीन है कृपया इस साँचे की प्रविष्टि पर चर्चा में भागीदारी करके आम सहमति स्थापित करने में मदद करें।
मात्र रखरखाव में प्रयोग हेतु: 1. Edit the Tfd log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfmnotice|Tfm}} ~~~~ on their talk page(s). |
यह साँचा हमेशा प्रतिस्थापन – {{subst:tfm}} के रूप में प्रयुक्त होना चाहिए। |
This template is used by the standard installation of Twinkle. If you are planning to make major changes to this template or nominate it for deletion, please notify Twinkle's user base and maintainers at विकिपीडिया वार्ता:Twinkle as a courtesy. |
This template is used to nominate other templates for merging.
Usage
संपादित करेंTo nominate a single template, copy and paste the following code at the top of the template:
{{subst:tfm|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:
{{subst:tfm|OtherTemplate|heading=NameHeader}}
where NameHeader is the name of the header under which you will list the templates for merging.
Display on articles
संपादित करें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.
Inline
संपादित करेंTo nominate inline templates, set |type=inline
. This will help with formatting issues that occur when the large notification is displayed. Type the following:
{{subst:Tfm|OtherTemplate|type=inline}}
The notification on articles looks like this: ‹The template Tfm is being considered for merging.›
Tiny
संपादित करेंTo use even smaller notifications, for inline template nominations, set |type=tiny
. Type the following
{{subst:Tfm|OtherTemplate|type=tiny}}
which will produce the following notification: ‹See Tfd›
Sidebar
संपादित करेंTo nominate templates that are used as sidebars, such as infoboxes, specify |type=sidebar
, i.e.
{{subst:Tfm|OtherTemplate|type=sidebar}}
which produces:
You can alternatively use |type=infobox
or |type=box
to produce the same result.
Disabled
संपादित करेंFinally it is possible to disable the notification completely by typing |type=disabled
. You can use this when everything else fails.
{{subst:Tfm|OtherTemplate|type=disabled}}
which outputs nothing at all on article pages.
See also
संपादित करें ऊपर दिए गए निर्देश साँचा:Tfm/doc से लिए गए है।(संपादन | इतिहास) संपादक इस साँचे के प्रयोगस्थल व प्रयोग पन्नों में प्रयोग कर सकते है। sandbox (create) and testcases (create) pages. कृपया /doc उपपृष्ठ पर श्रेणियाँ व विकियों के बिच की कड़ियाँ जोड़े। इस साँचे के उपपृष्ठ। |