Template:Verdict: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
m (Unprotected "Template:Verdict")
(Updating per Sysop Request)
Line 1: Line 1:
<includeonly><div class="townBox">
<includeonly><div class="townBox">
{|  
{|
|-
! style="text-align:right; padding-right:9px; vertical-align:top" | Verdict
! style="text-align: right; padding-right: 9px; vertical-align: top;" | Verdict
| style="vertical-align:top" | {{{1|<span style="color:#969696">Undefined</span>}}}
| style="vertical-align: top;" | {{{1|<span style="color: rgb(150,150,150)">Undefined</span>}}}
|-
! style="text-align: right; padding-right: 9px; vertical-align: top;" | Action taken
| style="vertical-align: top;" | {{{2|<span style="color: rgb(150,150,150)">Undefined</span>}}}
|-
|-
! style="text-align:right; padding-right:9px; vertical-align:top" | Action taken
| style="vertical-align:top" | {{{2| {{switch|{{{1}}}|case: Not Vandalism=None Required|default=<span style="color:#969696">Undefined</span>}} }}}
|}
|}
</div>
</div></includeonly><noinclude>
</includeonly><noinclude>
==Usage==
__NOTOC__
== Usage ==


Just fill the following template call:
Just fill the following template call:
Line 20: Line 16:
Where '''1''' is the verdict given, and '''2''' is the action taken. If no values are passed to 1 or 2, it automatically fills them as ''undefined''.
Where '''1''' is the verdict given, and '''2''' is the action taken. If no values are passed to 1 or 2, it automatically fills them as ''undefined''.


== Example ==
Entering "Not Vandalism" for 1 will automatically fill in 2 with "None Required" unless 2 is specified.
 
==Example==
 
<pre>{{Verdict}}</pre>
{{Verdict}}<div style="clear:both">
 
 
<pre>{{Verdict|Awaiting Clarification}}</pre>
{{Verdict|Awaiting Clarification}}<div style="clear:both">
 


<pre>{{verdict|vandalism|warning}}</pre>
<pre>{{Verdict|Vandalism|Warned}}</pre>
{{Verdict|Vandalism|Warned}}<div style="clear:both">


{{verdict|vandalism|warning}}


<div style="clear: both"></div>
<pre>{{Verdict|Not Vandalism}}</pre>
{{Verdict|Not Vandalism}}<div style="clear:both">


<pre>{{verdict|waiting for more info}}</pre>


{{verdict|waiting for more info}}
<pre>{{Verdict|Not Vandalism|Warning Retracted}}</pre>
{{Verdict|Not Vandalism|Warning Retracted}}


[[Category:Administration Templates]]</noinclude>
[[Category:Administration Templates]]</noinclude>

Revision as of 13:39, 28 May 2009

Usage

Just fill the following template call:

{{verdict|1|2}}

Where 1 is the verdict given, and 2 is the action taken. If no values are passed to 1 or 2, it automatically fills them as undefined.

Entering "Not Vandalism" for 1 will automatically fill in 2 with "None Required" unless 2 is specified.

Example

{{Verdict}}
Verdict Undefined
Action taken Undefined


{{Verdict|Awaiting Clarification}}
Verdict Awaiting Clarification
Action taken Undefined


{{Verdict|Vandalism|Warned}}
Verdict Vandalism
Action taken Warned


{{Verdict|Not Vandalism}}
Verdict Not Vandalism
Action taken None Required


{{Verdict|Not Vandalism|Warning Retracted}}
Verdict Not Vandalism
Action taken Warning Retracted