Jump to content

Module:Tfd links/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Galobtter moved page Module:TfdLinks/doc to Module:Tfd links/doc without leaving a redirect: per RM
Give the module a separate doc page, mostly copied
Tag: Removed redirect
Line 1: Line 1:
{{Documentation subpage}}
#REDIRECT[[Template:Tfd links/doc]]
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->

This module 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
|-
| {{mlx|tfd links|main|Foo}} || {{#invoke:tfd links|main|Foo}}
|-
| {{mlx|tfd links|Foo|{{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}}} || {{#invoke:tfd links|main|Foo|{{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}}}
|-
| {{mlx|tfd links|main|Foo|{{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}|4=module=Module:}} || {{#invoke:tfd links|main|Foo|{{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}|module=Module:}}
|}

<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
| <!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
[[Category:Templates for discussion templates]]
[[Category:Internal template-link templates]]
}}</includeonly>

Revision as of 15:09, 16 March 2019

This module 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
{{#invoke:tfd links|main|Foo}} Lua error: bad argument #1 to 'ucfirst' (string expected, got nil).
{{#invoke:tfd links|Foo|2025 June 4}} Lua error: bad argument #1 to 'ucfirst' (string expected, got nil).
{{#invoke:tfd links|main|Foo|module=Module:}} Lua error: bad argument #1 to 'ucfirst' (string expected, got nil).