Content deleted Content added
I noticed uw-coi had a bit of logic added at the end that wasn't adequately explained in the documentation. After some difficulties locating the documentation page (the documentation was of no help), I finally found it |
adding the crucial bit of missing information, for non-expert editors looking to improve the documentation of uw-coi and all those other templates |
||
Line 4: | Line 4: | ||
{{{banners|}}} |
{{{banners|}}} |
||
}} |
}} |
||
This is the documentation for the {{tl|Single notice}} standardized template, as used by several single-level user warnings or notice templates. It is located at {{lts|Single notice/inner}} |
|||
'''Usage:''' |
'''Usage:''' |
||
{{#ifeq:{{{param1 required|no}}}|yes|| |
{{#ifeq:{{{param1 required|no}}}|yes|| |
Revision as of 09:08, 25 July 2019
This is the documentation for the {{Single notice}} standardized template, as used by several single-level user warnings or notice templates. It is located at Template:Single notice/inner( talk links history)
Usage:
{{subst:uw-preview}}
{{subst:uw-preview|{{{param1}}}}}
references a specific {{{param1}}}{{subst:uw-preview|{{{param1}}}|Additional text}}
adds text onto the end of the message instead of "Thank you"{{subst:uw-preview||Additional text}}
or{{subst:uw-preview|2=Additional text}}
also adds text onto the end of the message instead of "Thank you", but doesn't link a page as specified by the {{{param1}}}
- 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.
- Please remember to substitute the template using
{{subst:uw-preview}}
rather than{{uw-preview}}
. - To give greater detail to your message, you may add the article and some additional text to the end of the template. If such article or additional text includes a URL or anything which includes an equal sign ("="), it may break the parser's function unless you prefix the article or the text with a named template parameter. Use "
1=
" if the article contains an equals sign and use "2=
" if the additional text contains an equals sign (such as a URL). - This template automatically populates the relevant category with the user page. If and when the user account gets blocked, or approximately eight weeks pass with no further action, that categorization is automatically removed.
Template documentation[] [purge]