Template:Warning Box

From 7 Days to Die Wiki
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.}}

Produces:

Quest icon.png   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
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.