Template:Tempblock/doc: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>Duskey
(Created page with ';Description: Used on the talk page when you temporarily block someone. ;Syntax: Remember to use '''subst'''. Note that you do not need to use '''reason=''', just type the reason…')
 
m (6 revisions imported: Import from https://sims.wikia.com)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>__NOEDITSECTION__</noinclude>
;Description: Used on the talk page when you temporarily block someone.
;Description: Used on the talk page when you temporarily block someone.
;Syntax: Remember to use '''subst'''. Note that you do not need to use '''reason=''', just type the reason between the pipes <code>| |</code>
;Syntax: Remember to use '''subst'''.

<pre>{{subst:Tempblock|reason for being blocked|expiration date|~~~~}}</pre><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<pre>{{subst:Tempblock
|reason =
|duration =
|sig = ~~~~
|expiration =
|policy =
|link =
|additional =
}}</pre>

;Parameters
*Reason - Why a user has been blocked; '''Required parameter'''
*Duration - How long the block is set to last; '''Required parameter'''
*Sig - The non-timestamped signature of the administrator issuing the block; '''Required parameter'''
*Expiration - The time and date that the block expires; ''Optional parameter''
*Policy - A citation of a specific policy that has been violated, via a link to that policy's page; ''Optional parameter''
*Link - Cut-and-Pasted web addresses of specific historical edit 'diff's, demonstrating those edits which resulted in the block; ''Optional parameter''
*Additional - A space for any information not included elsewhere, such as special settings or details regarding the user's block; ''Optional parameter''

;Example One - template with only required parameters
<pre>{{subst:Tempblock
|reason = Vandalism after a previous warning
|duration = one month
|sig = ~~~
|expiration =
|policy =
|link =
|additional =
}}</pre>

...will produce this:

==Blocked==
{|style="background: white; border: 3px solid #991100; -moz-border-radius: 10px; -webkit-border-radius: 10px; font-size:95%; width: 95%" align="center"
|colspan="2" align="center"|<div style="padding:3px; background-color: #991100; -moz-border-radius: 7px; -webkit-border-radius: 7px; color:white;"><big>You are '''Blocked'''</big></div>
|-
|[[File:Thesimsburglar.jpg|75px|right]]
<!---MANDATORY PARAMETERS--->
|align="left"|<big>Reason for Block: Vandalism after a previous warning</big>
Block Length: one month<br />
Issuing administrator: [[User:Example|Example Admin]] ([[User_talk:Example|talk]])<br />
<!---OPTIONAL PARAMETERS--->
{{#if: |Offending edit(s): <br />|}}{{#if: |Block expires in: <span class="countdown" style="display:none;"><span class="countdowndate"> UTC</span></span><br />|}}{{#if: |Link to relevant policy: [[The Sims Wiki:Policy/{{!}}Here]]<br />|}}{{#if: |Additional info: |}}
----
You have been [[The Sims Wiki:Blocking|blocked]] from editing The Sims wiki for the reason(s) stated above. Repeating this behavior, or breaking other [[The Sims Wiki:Policy|wiki policies]] may result in additional, longer-lasting blocks or other actions against your account.

Please note that you may be allowed to request that this block be removed. Please see [[The Sims Wiki:Blocking#Unblocking|this page]] for details.

For more information about wiki blocks, please [[The Sims Wiki:Blocking|go here]].
|}<!-- Template:Tempblock -->

;Example Two - template with all available parameters
<pre>{{subst:Tempblock
|reason = Vandalism after a previous warning
|duration = one month
|sig = ~~~
|expiration = 12:00:00 April 13, 2012
|policy = General_Policies#General_Rules
|link = [http://sims.wikia.com/index.php?title=Fanon%3AAphrodite_Melon&action=historysubmit&diff=366063&oldid=350308 ] [http://sims.wikia.com/index.php?title=Weather&action=historysubmit&diff=366050&oldid=366048 ]
|additional = You may not edit your own talk page while blocked
}}</pre>
...will produce this:

==Blocked==
{|style="background: white; border: 3px solid #991100; -moz-border-radius: 10px; -webkit-border-radius: 10px; font-size:95%; width: 95%" align="center"
|colspan="2" align="center"|<div style="padding:3px; background-color: #991100; -moz-border-radius: 7px; -webkit-border-radius: 7px; color:white;"><big>You are '''Blocked'''</big></div>
|-
|[[File:Thesimsburglar.jpg|75px|right]]
<!---MANDATORY PARAMETERS--->
|align="left"|<big>Reason for Block: Vandalism after a previous warning</big>
Block Length: one month<br />
Issuing administrator: [[User:Example|Example Admin]] ([[User_talk:Example|talk]])<br />
<!---OPTIONAL PARAMETERS--->
{{#if: [http://sims.wikia.com/index.php?title=Fanon%3AAphrodite_Melon&action=historysubmit&diff=366063&oldid=350308 ] [http://sims.wikia.com/index.php?title=Weather&action=historysubmit&diff=366050&oldid=366048 ]|Offending edit(s): [http://sims.wikia.com/index.php?title=Fanon%3AAphrodite_Melon&action=historysubmit&diff=366063&oldid=350308 ] [http://sims.wikia.com/index.php?title=Weather&action=historysubmit&diff=366050&oldid=366048 ]<br />|}}{{#if: 12:00:00 April 13, 2012|Block expires in: <span class="countdown" style="display:none;"><span class="countdowndate">12:00:00 April 13, 2012 UTC</span></span><br />|}}{{#if: General_Policies#General_Rules|Link to relevant policy: [[The Sims Wiki:Policy/General_Policies#General_Rules{{!}}Here]]<br />|}}{{#if: You may not edit your own talk page while blocked|Additional info: You may not edit your own talk page while blocked|}}
----
You have been [[The Sims Wiki:Blocking|blocked]] from editing The Sims wiki for the reason(s) stated above. Repeating this behavior, or breaking other [[The Sims Wiki:Policy|wiki policies]] may result in additional, longer-lasting blocks or other actions against your account.

Please note that you may be allowed to request that this block be removed. Please see [[The Sims Wiki:Blocking#Unblocking|this page]] for details.

For more information about wiki blocks, please [[The Sims Wiki:Blocking|go here]].
|}<!-- Template:Tempblock -->
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 18:07, 9 March 2019

Description
Used on the talk page when you temporarily block someone.
Syntax
Remember to use subst.
{{subst:Tempblock
|reason     = 
|duration   = 
|sig        = ~~~~
|expiration =
|policy     =
|link       =
|additional =
}}
Parameters
  • Reason - Why a user has been blocked; Required parameter
  • Duration - How long the block is set to last; Required parameter
  • Sig - The non-timestamped signature of the administrator issuing the block; Required parameter
  • Expiration - The time and date that the block expires; Optional parameter
  • Policy - A citation of a specific policy that has been violated, via a link to that policy's page; Optional parameter
  • Link - Cut-and-Pasted web addresses of specific historical edit 'diff's, demonstrating those edits which resulted in the block; Optional parameter
  • Additional - A space for any information not included elsewhere, such as special settings or details regarding the user's block; Optional parameter
Example One - template with only required parameters
{{subst:Tempblock
|reason     = Vandalism after a previous warning
|duration   = one month
|sig        = ~~~
|expiration =
|policy     =
|link       =
|additional =
}}

...will produce this:

Blocked

You are Blocked
Reason for Block: Vandalism after a previous warning

Block Length: one month
Issuing administrator: Example Admin (talk)


You have been blocked from editing The Sims wiki for the reason(s) stated above. Repeating this behavior, or breaking other wiki policies may result in additional, longer-lasting blocks or other actions against your account.

Please note that you may be allowed to request that this block be removed. Please see this page for details.

For more information about wiki blocks, please go here.

Example Two - template with all available parameters
{{subst:Tempblock
|reason     = Vandalism after a previous warning
|duration   = one month
|sig        = ~~~
|expiration = 12:00:00 April 13, 2012
|policy     = General_Policies#General_Rules
|link       = [http://sims.wikia.com/index.php?title=Fanon%3AAphrodite_Melon&action=historysubmit&diff=366063&oldid=350308 ] [http://sims.wikia.com/index.php?title=Weather&action=historysubmit&diff=366050&oldid=366048 ]
|additional = You may not edit your own talk page while blocked
}}

...will produce this:

Blocked

You are Blocked
Reason for Block: Vandalism after a previous warning

Block Length: one month
Issuing administrator: Example Admin (talk)
Offending edit(s): [1] [2]
Block expires in:
Link to relevant policy: Here
Additional info: You may not edit your own talk page while blocked


You have been blocked from editing The Sims wiki for the reason(s) stated above. Repeating this behavior, or breaking other wiki policies may result in additional, longer-lasting blocks or other actions against your account.

Please note that you may be allowed to request that this block be removed. Please see this page for details.

For more information about wiki blocks, please go here.