Template:Warning: Difference between revisions
(Used subst: so that the huge #switch: function is not saved to pages; only the result of the function should be saved.) |
m (substitution is required for these examples to render correctly) |
||
Line 57: | Line 57: | ||
<code><nowiki>{{subst:warning}}</nowiki></code> produces: | <code><nowiki>{{subst:warning}}</nowiki></code> produces: | ||
{ | {| class="warningbox" | ||
| [[File:Warning Icon.png|40px|link=]] <span style="font-size: large;">'''Warning'''</span> | |||
This is a warning to stop your inappropriate behavior. '''Please follow the rules or you will be blocked.''' Thank you. <nowiki>~~~~</nowiki> | |||
|} | |||
'''Using reason numbers or reason keywords''' | '''Using reason numbers or reason keywords''' | ||
<code><nowiki>{{subst:warning|1}}</nowiki></code> or <code><nowiki>{{subst:warning|vandal}}</nowiki></code> produces: | <code><nowiki>{{subst:warning|1}}</nowiki></code> or <code><nowiki>{{subst:warning|vandal}}</nowiki></code> produces: | ||
{ | {| class="warningbox" | ||
[[ | | [[File:Warning Icon.png|40px|link=]] <span style="font-size: large;">'''Warning'''</span> | ||
This is a warning to stop your inappropriate behavior ([[Inkipedia:Policy/Vandalism|vandalizing or negatively changing articles]]). '''Please follow the rules or you will be blocked.''' Thank you. <nowiki>~~~~</nowiki> | |||
|} | |||
'''Using a custom reason''' | '''Using a custom reason''' | ||
<code><nowiki>{{subst:warning|impersonating someone}}</nowiki></code> produces: | <code><nowiki>{{subst:warning|impersonating someone}}</nowiki></code> produces: | ||
{ | {| class="warningbox" | ||
| [[File:Warning Icon.png|40px|link=]] <span style="font-size: large;">'''Warning'''</span> | |||
This is a warning to stop your inappropriate behavior (impersonating someone). '''Please follow the rules or you will be blocked.''' Thank you. <nowiki>~~~~</nowiki> | |||
|} | |||
[[Category:Templates]] | [[Category:Templates]] |
Revision as of 23:10, 13 February 2021
Place this template on editors' talk pages to warn them of violating Inkipedia's policy. Keep in mind that one should avoid templating the regulars.
This template must be substituted. The template will also automatically place your signature, so do not sign this warning as you normally would a message.
Syntax
Type {{subst:warning}}
in a new section on an editor's talk page.
The template also accepts an optional parameter for the reason for the warning: {{subst:warning|reason}}
. This should be used whenever possible.
Numbers or keywords can be used to quickly include a reason. Most reason numbers are from the 7 NOs of Inkipedia. The following reason codes are available:
1
orvandal
: vandalizing or negatively changing articles2
orcontent
: inappropriate language, content, links, or discussions3
orbully
: harassment, intimidation, or bullying other users4
orpower
: abusing your available powers5
oraccount
: abusing multiple accounts6
orad
: advertising external services, websites, entities, etc.7
orpersonal
: revealing personal information8
oredit war
: reverting someone's edit more than three times (edit warring)
Example
Using without a reason
{{subst:warning}}
produces:
Warning
This is a warning to stop your inappropriate behavior. Please follow the rules or you will be blocked. Thank you. ~~~~ |
Using reason numbers or reason keywords
{{subst:warning|1}}
or {{subst:warning|vandal}}
produces:
Warning
This is a warning to stop your inappropriate behavior (vandalizing or negatively changing articles). Please follow the rules or you will be blocked. Thank you. ~~~~ |
Using a custom reason
{{subst:warning|impersonating someone}}
produces:
Warning
This is a warning to stop your inappropriate behavior (impersonating someone). Please follow the rules or you will be blocked. Thank you. ~~~~ |