Template:Warning: Difference between revisions

From Inkipedia, the Splatoon wiki
mNo edit summary
(Added 1-7 as reasons (The 7 NOs of Inkipedia). Added reason 8 (edit warring). Changed color from red to a less-threatening yellow. Merged documentation from Template:Warning/doc.)
Line 1: Line 1:
{| cellpadding="1px" style="background: #FFEEEE; border: 3px solid #B22222; width:{{{width|60%}}}; {{roundy}}"
<includeonly>{| class="warningbox"
|style="padding:8px 0px 0px 8px;"|<span style="font-size: 12pt;">[[File:Warning Icon.png|40px|link=]]     '''Warning'''</span><br>
| [[File:Warning Icon.png|40px|link=]] <span style="font-size: large;">'''Warning'''</span>
<span style="font-size: 10pt;">This is a warning to stop your inappropriate behavior{{#if:{{{1|}}}|&nbsp;({{{1|}}})|}}. '''Please follow the rules or you will be blocked.''' Thank you. <includeonly>~<noinclude> </noinclude>~~<noinclude> </noinclude>~</includeonly></span>
|}<noinclude>
{{documentation}}


[[Category:Templates]]</noinclude>
This is a warning to stop your inappropriate behavior{{#if:{{{1|}}}|&nbsp;({{#switch: {{{1|}}}
| vandalizing
| vandal
| 1 = [[Inkipedia:Policy/Vandalism|vandalizing or negatively changing articles]]
| language
| content
| 2 = [[Inkipedia:Policy/Inappropriate content|inappropriate language, content, links, or discussions]]
| harassment
| intimidation
| bullying
| bully
| 3 = [[Inkipedia:Policy/Bullying|harassment, intimidation, or bullying other users]]
| power abuse
| power trip
| power
| 4 = [[Inkipedia:Policy/Power abuse|abusing your available powers]]
| multiple accounts
| account
| 5 = [[Inkipedia:Policy/Multiple accounts|abusing multiple accounts]]
| advertising
| ads
| ad
| 6 = [[Inkipedia:Policy/Advertisement|advertising external services, websites, entities, etc.]]
| revealing
| personal
| 7 = [[Inkipedia:Policy/Personal information|revealing personal information]]
| edit warring
| edit war
| 8 = [[wikipedia:edit warring|reverting someone's edit more than three times (edit warring)]]
| #default = {{{1|}}}
}})|}}. '''Please follow the rules or you will be blocked.''' Thank you. ~<noinclude> </noinclude>~~<noinclude> </noinclude>~
|}</includeonly><noinclude>
Place this template on editors' talk pages to warn them of violating [[Inkipedia:Policy|Inkipedia's policy]]. Keep in mind that one should avoid [[:wikipedia:Wikipedia:Don't template the regulars|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 <code><nowiki>{{subst:warning}}</nowiki></code> in a new section on an editor's talk page.
 
The template also accepts an optional parameter for the reason for the warning: <code><nowiki>{{subst:warning|reason}}</nowiki></code>. This should be used whenever possible.
 
Numbers or keywords can be used to quickly include a reason. Most reason numbers are from [[Inkipedia:Policy|the 7 NOs of Inkipedia]]. The following reason codes are available:
* <code>1</code> or <code>vandal</code> : [[Inkipedia:Policy/Vandalism|vandalizing or negatively changing articles]]
* <code>2</code> or <code>content</code> : [[Inkipedia:Policy/Inappropriate content|inappropriate language, content, links, or discussions]]
* <code>3</code> or <code>bully</code> : [[Inkipedia:Policy/Bullying|harassment, intimidation, or bullying other users]]
* <code>4</code> or <code>power</code> : [[Inkipedia:Policy/Power abuse|abusing your available powers]]
* <code>5</code> or <code>account</code> : [[Inkipedia:Policy/Multiple accounts|abusing multiple accounts]]
* <code>6</code> or <code>ad</code> : [[Inkipedia:Policy/Advertisement|advertising external services, websites, entities, etc.]]
* <code>7</code> or <code>personal</code> : [[Inkipedia:Policy/Personal information|revealing personal information]]
* <code>8</code> or <code>edit war</code> : [[wikipedia:edit warring|reverting someone's edit more than three times (edit warring)]]
 
== Example ==
'''Using without a reason'''
 
<code><nowiki>{{subst:warning}}</nowiki></code> produces:
{{warning}}
 
'''Using reason numbers or reason keywords'''
 
<code><nowiki>{{subst:warning|1}}</nowiki></code> or <code><nowiki>{{subst:warning|vandal}}</nowiki></code> produces:
{{warning|1}}
[[Category:Templates]]
 
'''Using a custom reason'''
 
<code><nowiki>{{subst:warning|impersonating someone}}</nowiki></code> produces:
{{warning|impersonating someone}}
 
[[Category:Templates]]

Revision as of 22:24, 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:

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. ~~~~