Template:User-warning set
Level 1 | Level 2 | Level 3 | Level 4 | Level 4im |
---|---|---|---|---|
n/a | n/a | n/a | n/a | n/a |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Usage
This template assists documentation of a user warning template by listing all of the templates in that series. For example, for the series "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
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
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 consistent with the colors in the table at Wikipedia:Template messages/User talk namespace § Multi-level templates.