Fyrimynd:Templatesnotice
The following is inserted by this template; documentation for this template itself is below.
This template should always be substituted, i.e. use {{subst:Templatesnotice}}. Any accidental transclusions will be automatically substituted by a bot. |
Usage:
- Fyrimynd:Tlsc
- Fyrimynd:Tlsc references a specific article
- Fyrimynd:Tlsc adds text onto the end of the message instead of "Thanks" or "Thank you"
- This standardized template conforms to guidelines by the user warnings project. You may discuss the visual appearance of these standardized templates (e.g. the image in the top-left corner) at the user warning talk page.
- Please refer to the index of message templates before using any template on user talk pages to warn a user. Applying the best template available for your purpose may help reduce confusion from the message you are sending.
- When using multi-level templates, in some cases you need not start with a level-1 warning. See Wikipedia:WikiProject User warnings/Usage and layout#Levels.
- Please remember to substitute the template using Fyrimynd:Tlsc rather than
{{templatesnotice}}
. - This template uses a parser function. To give greater detail to your message, you may add the article and some additional text to the end of the template.
Dokumentatiónin omanfyri er tikin frá Fyrimynd:Templatesnotice/doc. (rætta | søga) Editors can experiment in this template's sandkassi (upprætta | mirror) and testcases (upprætta) pages. Undirsíður til hesa/hetta fyrimyndina. |
This template ({{templatesnotice}}) should be put on all templates that are covered by WP:UW and listed on WP:UTM.
Shortcuts
[rætta wikitekst]This template can display up to three shortcut templates. (A shortcut template is a template redirect which editors can use instead of typing out a template's full name. For example, editors can use {{uw-t1}} instead of {{uw-test1}}.) To indicate the three redirects, just write the name of the redirect template after the appropriate variable (use just the basic name; for example, "uw-v1" instead of "Template:Uw-v1" or "{{Uw-v1}}").
{{templatesnotice | s1 = shortcut template 1 | s2 = shortcut template 2 | s3 = shortcut template 3}}
Leave out the parameters that you don't need.
This feature calls {{template shortcut}}.
Template series
[rætta wikitekst]For easy navigation, it is possible to use {{user warning set}}. There are three variables you can use, one of which is required. Another is recommended, and another is only needed if escalation is required. The format for this is:
{{templatesnotice|series=series |max=max |escalate=escalate}}
- series is the name of the template series. This is the prefix of the template. Examples of series names are "uw-vandalism", "uw-test", "uw-spam", "uw-agf".
- max is the number of templates in the series. For the "uw-own" series, which contains the templates {{uw-own1}}, {{uw-own2}}, and {{uw-own3}}, B would be 3. If all four levels are used, B would be 4. Any values other than "3" or "4" would yield levels 1, 2, 3, 4, and 4im being displayed. Use "4im" for the B value if this is the case.
- escalate indicates whether the template series escalated to {{uw-vandalism4}}. The test series contains the templates {{uw-test1}}, {{uw-test2}}, and {{uw-test3}}, so its B value would be 3. If such edits continue, it would be necessary to use {{uw-vandalism4}} as a level 4 warning, so for the uw-test series, C is set to "yes". Setting it to "true", "false", "no", "oh yeah", or "1" would result in the escalation option not being used.
This feature calls {{user warning set}}, and uses complex ParserFunctions to do so.
Shortcuts and series
[rætta wikitekst]For shortcuts and series, just set the parameters together, in this order:
{{templatesnotice|series = name|max = number|s1 = shortcut|s2 = shortcut|s3 = shortcut|s4 = shortcut|escalate = yes}}
Twinkle use notification
[rætta wikitekst]This template automatically adds {{Twinkle standard installation}} to templates that transclude it. If an individual template is not used by Twinkle, it can be disabled by |notwinkle=yes
or similar.
nothankyou
[rætta wikitekst]If the template doesn't end in "Thank You", use nothankyou=yes.
See also
[rætta wikitekst]- {{Single notice}}: generates documentation for, and categorizes, single-issue user-page templates.
Dokumentatiónin omanfyri er tikin frá Fyrimynd:Templatesnotice/doc. (rætta | søga) Editors can experiment in this template's sandkassi (upprætta | mirror) and testcases (upprætta) pages. Please add categories to the /doc subpage. Undirsíður til hesa/hetta fyrimyndina. |