Wikipedia:WikiProject User warnings/Design guidelines: Difference between revisions
Content deleted Content added
→Naming convention, basic format and maintenance: add info about adding comments |
That's how they start, add what level 2 warnings often start with |
||
(14 intermediate revisions by 9 users not shown) | |||
Line 8:
* Templates will not include <nowiki>~~~~</nowiki>
* All templates made obsolete are to have the relevant redirects added.
* All templates should include a comment containing the template name in the format <code><nowiki><!-- Template:templatename --></nowiki></code>. For example, the {{t|uw-vandalism1}} template contains the comment <code><nowiki><!-- Template:uw-vandalism1 --></nowiki></code>
==Severity levels==
Line 14:
===Multi-level templates for vandalism===
There are 4 levels of template for editing actions that can be considered [[WP:VANDAL|vandalism]]. For editing actions that can include severe
* '''Level 1''' – A notice – [[Wikipedia:Assume good faith|Assumes good faith]]. Generally
* '''Level 2''' – Caution – No faith assumption; just a note. Often starts with "Please do not..." or "Please refrain from...".
* '''Level 3''' – Warning – Assumes bad faith; cease and desist.
* '''Level 4''' – Final Warning – Assumes bad faith; strong cease and desist, last warning. Starts with something like "You may be blocked from editing the next time you..." in bold.
* '''Level 4im''' – Only Warning – Assumes bad faith; very strong cease and desist, first and only warning. Generally used in the case of excessive or continuous disruption from a user or specific IP.
Line 27:
* '''Level 1''' – A notice – [[Wikipedia:Assume good faith|Assumes good faith]]. Generally includes "Welcome to Wikipedia" or some variant.
* '''Level 2''' – Caution – No faith assumption; just a note.
* '''Level 3''' – Warning – Assumes bad faith; cease and desist.
* '''Level 4''' – Final warning – Starts with "You may be blocked from editing the next time...".
===Single issue notices===
Line 38 ⟶ 39:
===Civility===
{{see also|Wikipedia:Please do not bite the newcomers|Wikipedia:Civility|Wikipedia:Etiquette}}
Regardless of the severity level of the template, any user warning should be a model of civility (even for the most destructive vandal). Remember
===Language===
Line 44 ⟶ 45:
* Keep the message of the template 'on-track', avoid [[digression]].
* Try to keep sentences as concise as possible, see [[WP:MOS|Wikipedia's manual of style]] for advice on writing style.
* Level 1 and Level 2 templates
* [[Colloquialism]]s should be avoided in all templates.
* The message should identify specific behavior. If possible, avoid "or" statements and other language that would not be used had the message been written out by a human.
====Block advisories====
Line 76 ⟶ 78:
===Parameters===
====Default values====
Nearly every parameter should have a default value, such that misuse does not break the template. You can set the default value of a parameter by using piped syntax (<code><nowiki>{{{1|default value}}}</nowiki></code>). For example, the template below takes a parameter;
<pre>{{{1|
Supplied with the
====Named syntax====
Line 99 ⟶ 101:
===Block template CSS===
Wikipedia allows registered users to maintain a [[Help:User style|personal stylesheet]] located at [[Special:Mypage/monobook.css|user:username/skin.css]], where 'username' is the username and 'skin' is the name of the skin in use (usually monobook). To help users take full advantage of this feature, block templates should be enclosed in a CSS container with the "user-block" class.
<
Should the user wish to, they can customize the appearance of all block templates by adding CSS to their user stylesheet. For example, the following code adds a dark red background with white text.
<
===Compatibility with lists===
|