Module:Namespace detect/doc: Difference between revisions

From RTGame Wiki
m (1 revision imported)
No edit summary
Tag: 2017 source edit
 
Line 2: Line 2:
{{Wikipedia template}}
{{Wikipedia template}}


'''Module:Namespace detect''' allows you to output different text depending on the [[SC:NS|namespace]] that a given page is in. It is a [[SC:Lua|Lua]] implementation of the {{tl|namespace detect}} template, with a few improvements: all namespaces and all namespace aliases are supported, and namespace names are detected automatically for the local wiki.
'''Module:Namespace detect''' allows you to output different text depending on the [[RT:NS|namespace]] that a given page is in. It is a [[RT:Lua|Lua]] implementation of the {{tl|namespace detect}} template, with a few improvements: all namespaces and all namespace aliases are supported, and namespace names are detected automatically for the local wiki.

Latest revision as of 14:31, 7 May 2021

Module:Namespace detect requires Module:Arguments.
Module:Namespace detect requires Module:TableTools.
Module:Namespace detect requires Module:Yesno.
Module:Namespace detect loads data from Module:Namespace detect/data.
Module:Namespace detect is required by Module:Pagetype.

Module:Namespace detect allows you to output different text depending on the namespace that a given page is in. It is a Lua implementation of the {{namespace detect}} template, with a few improvements: all namespaces and all namespace aliases are supported, and namespace names are detected automatically for the local wiki.