Module:If preview/doc: Difference between revisions
Content added Content deleted
(Added the page to Category:Module documentation pages) |
(No difference)
|
Revision as of 21:49, 29 August 2024
This module is subject to page protection. It is a highly visible module in use by a very large number of pages. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
This Lua module is used on many pages. To avoid large-scale disruption and unnecessary server load, any changes to this module should first be tested in its /sandbox or /testcases subpages. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on the talk page before implementing them. |
Uses Lua: |
This module uses TemplateStyles: |
This module implements {{If preview }} and {{Preview warning }}. It helps templates/modules determine if they are being previewed.
Prefer implementing the template versions in other templates.
In a module to use the main()
, you need to pass a frame table with an args table.
For the preview warning, use _warning()
.
pt:Módulo:If preview/doc