Toggle menu
485
988
1
11.6K
DemocracyCraft Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:If preview/doc: Difference between revisions

From DemocracyCraft Wiki
m 1 revision imported
m removed category
 
Line 15: Line 15:
<!-- Please, categories below this line and interwikis at Wikidata -->
<!-- Please, categories below this line and interwikis at Wikidata -->


}}</includeonly><noinclude>
}}</includeonly>
[[Category:Module documentation pages]]
</noinclude>

Latest revision as of 00:04, 25 June 2026

Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.

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().