Module:TNT/doc

From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history

This is the documentation page for Module:TNT

Module:TNT is a complex template called directly by other modules or templates to provide language translations from .tab files in the Data: namespace, or if no such name space exists the (main) namespace will be used with a Data:Templatedata prefix.

Creating examples[edit source]

Bypassing TNT[edit source]

If no .tab file of translations for a particular template exist then TNT displays a visible error message on the page of the calling module or template.

To bypass TNT, comment out the invoke TNT line:

Updating templates or modules from Wikipedia[edit source]

Wikipedia and MediaWiki templates may call TNT and fail when no local translation file excuses. This includes Module:Citation/CS1, so if updating existing templates or modules make sure you including any MEpedia customisations from any existing version.

Alternatives[edit source]

Translations for many languages are also stored in the MediaWiki namespace, see Special:AllMessages. Translations can be imported from files extracted from https://translatewiki.net.