Fallback
Description
Allows easy translation or internalization of pages in Lua.
Updated
November 17, 2025
This Module is used as a part of the larger mechanism to show a template content in the user's interface language or the most appropriate fallback language.
It is used in
and it will be used in
It will replace commons:Template:GetFallback and commons:Template:GetFallback2 templates.
Installation [ ]
return require ( 'Dev:Fallback' )
Template:
Create Template:Fallback on your wiki with the following code:
{{#invoke:Fallback |main }}
Template usage:
The template can be used with the following syntax:
{{Fallback |<...> }}
The Devmodule template can be used to invoke modules from the Dev Wiki repository without installation . There is a brief introduction to Lua templating here .
See also [ ]