Difference between revisions of "Template:Catfd2/doc"

From blackwiki
Jump to navigation Jump to search
imported>Debresser
(Undid revision 348508387 by JokerXtreme (talk))
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(6 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
  
This [[Wikipedia:Template|template]] is used to add other templates with corresponding categories (same name) to the [[Wikipdia:Templates for discussion|templates for discussion]] pages. This template is a [[Wikipedia:Avoid self-references|self-reference]] and so is part of the Wikipedia project rather than the encyclopedic content.
+
This [[Wikipedia:Template|template]] is used to add template-populated categories to the [[Wikipedia:Templates for discussion|templates for discussion]] pages.  
  
 
== Usage ==
 
== Usage ==
  
  {{tlsp|Catfd2|''TemplateName''|text{{=}}Your rationale for nominating the template. <nowiki>~~~~</nowiki>}}
+
  {{Tlsp|Catfd2|''{{Gray|category name}}''|subst=yes}}
  
 
produces:
 
produces:
{{Catfd2|TemplateName|text=Rationale. <small>Your signature</small>}}
+
{{Catfd2|category name}}
  
 
+
{{substituted}}
* Note: ''TemplateName'' should be replaced by the template's name '''excluding''' the prefix <code>Template:</code>.
 
  
 
== See also ==
 
== See also ==
* {{tl|Tfd}} - basic template
+
* {{Tl|Tfd}} - basic template
* {{tlx|Tfd|type{{=}}inline}} - inline usage
+
* {{Tl|Tfd2}} - second step in a Tfd process
* {{tl|Tfd2}} - second step in a TFD process
+
* {{Tl|Tfdnotice}} - Tfd info on related pages
* {{tl|Tfdnotice}} - TFD info on related pages
+
* {{Tl|Catfd}} - Tfd with corresponding category
* {{tl|Tfdnotice2}} - TFD info on related pages with a level two header
+
* {{Tl|Catfd2}} - second step in a Tfd process with corresponding category
* {{tl|Catfd}} - TFD with corresponding category
 
* {{tl|Catfd2}} - second step in a TFD process with corresponding category (same name)
 
* {{tl|Catfd3}} - second step in a TFD process with corresponding category (complex cases)
 
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Internal link templates|{{PAGENAME}}]]
+
[[Category:Pagelinks templates|{{PAGENAME}}]]
 
[[Category:Categories for discussion templates|{{PAGENAME}}]]
 
[[Category:Categories for discussion templates|{{PAGENAME}}]]
 
[[Category:Templates for discussion templates|{{PAGENAME}}]]
 
[[Category:Templates for discussion templates|{{PAGENAME}}]]
  
</includeonly>
+
}}</includeonly>

Latest revision as of 01:09, 24 April 2020

This template is used to add template-populated categories to the templates for discussion pages.

Usage

{{subst:Catfd2|category name|subst=yes}}

produces:


Template:Substituted

See also

  • {{Tfd}} - basic template
  • {{Tfd2}} - second step in a Tfd process
  • {{Tfdnotice}} - Tfd info on related pages
  • {{Catfd}} - Tfd with corresponding category
  • {{Catfd2}} - second step in a Tfd process with corresponding category