Template:Warning/doc

This is the Warning template, used to distribute site-policy-violation-warnings to problem users. If used correctly, this template will provide the offender's profile -- what offenses they have committed, how many warnings they have received, and how many warnings they have to go before they are blocked. All you need to do is fill in the following parameters:


 * type -- What kind of user is the offender? A registered user, an IP address , or a user or IP vandal ( or  )? This parameter is used to determine the maximum amount of warnings the offender can receive before being blocked.
 * reason -- Of course, you need to input what offense the offender has committed. This is a minor parameter, in terms of template usage.
 * #warning -- What number warning is this? First? Second? Third? (Etc.) This parameter is used to judge how many warnings the offender is away from a block.

These parameters will fill themselves in with a default value if you forget to do it yourself.

Here is an example of template coding:

This becomes:

It's as simple as that.