• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.213
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Preview warning

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:If preview

Template:Preview warning emits a warning in preview. Modules should instead use the module interface _warning() in Module:If preview.

Usage

{{preview warning|Warning text in preview}}

The warning will appear at the top of the page in preview, no matter where it is placed. It will be prefaced by "Preview warning:" in bold. The template will emit an always-visible warning if no warning text is supplied.

Parameters

|1=
The warning text you want to provide.

See also

  • {{If preview}}
The above documentation is transcluded from Template:Preview warning/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Preview_warning&oldid=27332"
Categories:
  • Lua-based templates
  • If-then-else templates
Last edited on 5 May 2021, at 17:19

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 5 May 2021, at 17:19.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop