7 Days to Die Wiki
(Updated documentation to reflect new keyword functionality and for readability.)
(DPL function in "template" keyword breaks things.)
Line 31: Line 31:
! Keyword
! Keyword
! Pre-formatted response
! Pre-formatted response
| template
| Changes to this template will affect several other pages. <br>Please be careful when modifying this template. <BR>Remember that you can conduct experiments, and should test all improvements, <br>in either the this template's sandbox (if it has one) or your user space before changing anything here.
| testcases-template
| testcases-template

Revision as of 06:37, 26 February 2016

Template-info.png Documentation

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


Pretty simple:

{{Warning_Box|message=Your Message}}

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


{{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[]

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.

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