Difference between revisions of "Template:Foo/doc"

From blackwiki
Jump to navigation Jump to search
imported>GKFX
(Created page with 'This is a template, linked from several pages as an example of one. If you want a space to experiment with the process of editing Wikipedia pag...')
 
imported>Param munde
Line 1: Line 1:
This is a [[help:template|template]], linked from several pages as an example of one. If you want a space to experiment with the process of editing Wikipedia pages, go to [[WP:FOO]], the main sandbox, instead.
+
{{Documentation subpage}}
 +
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
 +
{{Template shortcut|tfdlinks}}
 +
This template is used for marking templates for deletion at [[Wikipedia:Templates for discussion]].  It displays useful links to the history, usage, talkpage etc., and a link for closing admins to delete the template.
 +
 
 +
== Usage ==
 +
{| class="wikitable"
 +
!Code!!Result
 +
|-
 +
| {{tlf|tfd links|Foo}} || {{tfd links|Foo}}
 +
|-
 +
| {{tlf|tfd links|Foo|{{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}}} || {{tfd links|Foo|{{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}}}
 +
|}
 +
 
 +
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
 +
| <!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
 +
[[Category:Templates for discussion templates]]
 +
[[Category:Internal template-link templates]]
 +
[[Category:Pagelinks templates]]
 +
}}</includeonly>

Revision as of 01:18, 7 February 2016

This template is used for marking templates for deletion at Wikipedia:Templates for discussion. It displays useful links to the history, usage, talkpage etc., and a link for closing admins to delete the template.

Usage

Code Result
{{tfd links|Foo}} Template:Foo (edit · talk · history · links · transclusions · logs · subpages · delete)
{{tfd links|Foo|2026 March 26}} Template:Foo (2026 March 26) (edit · talk · history · links · transclusions · logs · subpages · delete)