Template:Make backlinks

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
[edit] [purge] Template-info.svg Template documentation

Description

This is a potentially more efficient workaround than {{Notorphan}}. mw:Extension:RandomSelection and mw:Extension:RandomImage don't make backlinks to each possible page, making them wind up on Special:UnusedFiles.

Ideally, the extensions would have an option to do this automatically, but until they do...

This template calls a Lua module to strip away the tags, making backlinks kept in an invisible div. If the options are File:A, File:B, and File:C; links to pages File:A, File:B, and File:C are made on the page containing {{Make backlinks}}.

Usage

<noinclude>{{Make backlinks}}</noinclude>

{{Show RandomSelection options}} can be used instead to show the options too. In fact, this is just a wrapper around that template.