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
(update)
sims>LostInRiverview
No edit summary
Line 1: Line 1:
;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'''.
;Syntax: Remember to use '''subst'''. Also remember to 'sign' with three tildes, instead of the usual four.

<pre>{{subst:Tempblock
<pre>{{subst:Tempblock
|reason =
|reason =
|duration =
|duration =
|expiration =
|sig = ~~~
|expiration =
|sig = ~~~~
|policy =
}}</pre><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
|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:
{|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]]
|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 />
{{#if: |Offending edit(s): {{{link}}}<br />|}}{{#if: |Block expires in: <span class="countdown" style="display:none;"><span class="countdowndate">{{{expiration}}} UTC</span></span><br />|}}{{#if: |Link to relevant policy: [[The Sims Wiki:Policy/{{{policy}}}{{!}}Here]]<br />|}}{{#if: |Additional info: {{{additional}}}|}}
----
You have ignored a warning or grossly violated The Sims Wiki [[The Sims Wiki:Policy|policies]]. Any similar action immediately after this block expires may result in a permanent block. You may remove this message once you have read and understood its meaning.
|}

;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:
{|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]]
|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 />
{{#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|}}
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 22:31, 15 March 2012

Description
Used on the talk page when you temporarily block someone.
Syntax
Remember to use subst. Also remember to 'sign' with three tildes, instead of the usual four.
{{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:

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

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


You have ignored a warning or grossly violated The Sims Wiki policies. Any similar action immediately after this block expires may result in a permanent block. You may remove this message once you have read and understood its meaning.

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:

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