Module:TAFI article/doc
MyWikiBiz, Author Your Legacy — Tuesday November 26, 2024
Jump to navigationJump to searchThis 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 ( 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.]]