Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Display on articles  



2.1  Inline  





2.2  Tiny  





2.3  Sidebar  





2.4  Disabled  







3 See also  














Template:Tfm/doc







Add links
 









Template
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

< Template:Tfm

This template is used to nominate other templates for merging.

Usage

[edit]

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

{{subst:tfm|OtherTemplate}}


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

{{subst:tfm|OtherTemplate|heading=NameOfHeading}}

where NameOfHeading is the name of the section heading under which you will list the templates for merging at TfD. You can also spell this |header=.

Display on articles

[edit]

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

[edit]

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

[edit]

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 TfM›

[edit]

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=infoboxor|type=box to produce the same result.

Disabled

[edit]

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 all transclusions of the template.

See also

[edit]



Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Tfm/doc&oldid=1211398754"

Hidden category: 
Template documentation pages
 



This page was last edited on 2 March 2024, at 09:50 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki