Template:Warning/doc: Difference between revisions

no edit summary
sims>K6ka
mNo edit summary
sims>LostInRiverview
No edit summary
Line 15:
|custom =
|other =
|ip =
|sig = ~~~~
}}</pre></code>
Line 22 ⟶ 23:
:'''<nowiki>{{Subst:Warning|sig=~~~~}}</nowiki>'''
 
There isare one trulytwo optional parameters. The parameter, <other>. Adding this to the template will allow you to add additional custom text under the body of the warning, but above the standardized text that appears at the bottom of the warning itself. To use this parameter, enter:
 
:'''<nowiki>{{Subst:Warning|other=<your typed text>|sig=~~~~}}</nowiki>'''
 
The second optional parameter, <ip>, should be filled in if the warning is being placed on an unregistered user's talk page. Filling <ip> with any non-blank text will trigger an additional message in the template's boilerplate.
 
Depending on the message and severity intended, different entries can be made to the <type> parameter. Note that all entries are case-sensitive and must be entered exactly as shown, into the type parameter in the template, such that the template will look like:
Anonymous user