Template:User-warning set

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Part of the {{{series}}} user warning series
Level 1 Level 2 Level 3 Level 4 Level 4im
N/A N/A N/A N/A N/A
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:User-warning set/doc.

Usage[edit]

This template assists documentation of a user warning template by listing all of the templates in that series. For example, a series might be named "Uw-vandalism" (containing {{Uw-vandalism1}}, {{Uw-vandalism2}}, {{Uw-vandalism3}}, {{Uw-vandalism4}}, and {{Uw-vandalism4im}}. To use the template for a normal series like uw-vandalism, use the syntax:

{{user warning set|series=uw-vandalism|1|2|3|4|4im}}

This will produce

Part of the uw-vandalism user warning series
Level 1 Level 2 Level 3 Level 4 Level 4im
{{Uw-vandalism1}} {{Uw-vandalism2}} {{Uw-vandalism3}} {{Uw-vandalism4}} {{Uw-vandalism4im}}

For the uw-test series, there is no {{Uw-test4}} (one should use {{Uw-vandalism4}} instead), and there is no 4im level for testing edits. To indicate a template out of the series, write that name of that template in the place of "1", "2", "3", "4", or "4im". To indicate that there is no template that describes a particular edit (at all), leave that parameter blank. So

{{user warning set|series=uw-test|1|2|3|uw-vandalism4| }}

will yield

Part of the uw-test user warning series
Level 1 Level 2 Level 3 Level 4 Level 4im
{{Uw-test1}} {{Uw-test2}} {{Uw-test3}} Use {{Uw-vandalism4}} N/A

The colors used in this template are lightened versions of ForestGreen, RoyalBlue, DarkOrange, OrangeRed, and FireBrick, which can be viewed at w:Wikipedia:Template messages/User talk namespace.