Module:TAFI article/doc

MyWikiBiz, Author Your Legacy — Sunday December 01, 2024
< Module:TAFI article
Revision as of 07:31, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This is the documentation page for Module:TAFI article

Template:Lua This module retrieves the page name from the (year)/(week)/1 subpages of WP:TAFI. If the page is a redirect, the redirect target is retrieved instead.

Usage

To retrieve the current article, use

{{#invoke:TAFI article|main}}

To retrieve the article for a specific year and week, use

{{#invoke:TAFI article|main|YYYY=|WW=}}

Examples

Current article (
This box: [[Template:{{{1}}}|view]]  [[Template talk:{{{1}}}|talk]]  [{{fullurl:Template:{{{1}}}|action=edit}} edit]
to update)
{{#invoke:TAFI article|main}}Lua error: expandTemplate: template "Wikipedia:Today's articles for improvement/2024/48/1" does not exist.
Article from 2015 week 32
{{#invoke:TAFI article|main|YYYY=2015|WW=32}}Lua error: expandTemplate: template "Wikipedia:Today's articles for improvement/2015/32/1" does not exist.
Resolving a redirect
{{Wikipedia:Today's articles for improvement/9999/2/1}}Template:Wikipedia:Today's articles for improvement/9999/2/1
[[{{#invoke:TAFI article|main|YYYY=9999|WW=2}}]] → [[Lua error: expandTemplate: template "Wikipedia:Today's articles for improvement/9999/2/1" does not exist.]]