Template:Warning Box/doc

From 7 Days to Die Wiki
< Template:Warning Box
Revision as of 05:54, 26 February 2016 by GrayBeard Actual (talk | contribs) (Updated documentation to reflect new keyword functionality and for readability.)
Jump to: navigation, search
Template-info.png Documentation

This template places a simple warning box at the top of a page.

Usage[edit source]

Pretty simple:

{{Warning_Box|message=Your Message}}

If the message is blank, the box won't be visible.

Example[edit source]

{{Warning_Box|message=7DTD can be extremely addictive. Play at your own risk.}}


  7DTD can be extremely addictive. Play at your own risk.

Pre-formatted Messages[edit source]

Below are pre-formatted messages that allow for additional standardization in the way the warning box is worded as well as a quick way to add the template to pages:

Simply use the keyword (case sensitive) as your message and the warning box will use the pre-formatted response below:

Keyword Pre-formatted response
template Changes to this template will affect several other pages.
Please be careful when modifying this template.
Remember that you can conduct experiments, and should test all improvements,
in either the this template's sandbox (if it has one) or your user space before changing anything here.
testcases-template This is the template test cases page for the sandbox of {{PAGENAME}}.

You can also use [[Special:ExpandTemplates]] to examine the results of template uses.

Use the purge link to update the examples.

deprecated-template This template has been deprecated and should no longer be placed on new pages.

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.