Module:Science redirect/doc

MyWikiBiz, Author Your Legacy — Friday December 27, 2024
Jump to navigationJump to search

This is the documentation page for Module:Science redirect

Template:Module rating Template:Lua This module is designed to serve as a back end for Template:Tlx, Template:Tlx, Template:Tlx, Template:Tlx and Template:Tlx.

The template parameters and recognized categories are set in Module:Science redirect/conf.

Usage

{{#invoke:Science redirect|R|template name excluding Template:'RTemplate:'}}

For example, for {{R to scientific name}}, you would use {{#invoke:Science redirect|R|to scientific name}} to produce: Lua error: expandTemplate: template "Redirect template" does not exist.

Adding or modifying supported templates

The template parameters and recognized categories are set in Module:Science redirect/conf. Instructions on how to add data are in the comments of that file.

For debugging, add parameter Template:Para, e.g. {{#invoke:Science redirect|R|to scientific name|debug=true}} produces:

{{Redirect template
| name = To scientific name of an organism
| from = a vernacular ("common") name
| id = R_to_scientific_name
| printworthy = yes
| main category = Redirects to scientific names
| to = the scientific name of an organism (or group of organisms)
}}

Tracking categories

Template:Cl

Lua error: expandTemplate: template "cl" does not exist.

Invalid parameters