Template:Verdict: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
(Updating per Sysop Request)
(Attempting to fix the weird staggering we see on A/VB when multiple of these are used on a single case)
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly><div class="townBox">
{|class="gallery rimage" style="float:right;padding-right:9px;clear:both;"
{|
!Verdict  
! style="text-align:right; padding-right:9px; vertical-align:top" | Verdict
||{{{1}}}
| style="vertical-align:top" | {{{1|<span style="color:#969696">Undefined</span>}}}
|-
|-
! style="text-align:right; padding-right:9px; vertical-align:top" | Action taken
!Action taken
| style="vertical-align:top" | {{{2| {{switch|{{{1}}}|case: Not Vandalism=None Required|default=<span style="color:#969696">Undefined</span>}} }}}
||{{{2}}}
|}
|}<noinclude>
</div></includeonly><noinclude>
==Documentation==
==Usage==
:''See [[{{TALKPAGENAME}}]].
 
[[Category:Administration Templates|{{PAGENAME}}]]</noinclude>
Just fill the following template call:
 
<pre>{{verdict|1|2}}</pre>
 
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==
 
<pre>{{Verdict}}</pre>
{{Verdict}}<div style="clear:both">
 
 
<pre>{{Verdict|Awaiting Clarification}}</pre>
{{Verdict|Awaiting Clarification}}<div style="clear:both">
 
 
<pre>{{Verdict|Vandalism|Warned}}</pre>
{{Verdict|Vandalism|Warned}}<div style="clear:both">
 
 
<pre>{{Verdict|Not Vandalism}}</pre>
{{Verdict|Not Vandalism}}<div style="clear:both">
 
 
<pre>{{Verdict|Not Vandalism|Warning Retracted}}</pre>
{{Verdict|Not Vandalism|Warning Retracted}}
 
[[Category:Administration Templates]]</noinclude>

Latest revision as of 18:25, 8 May 2018

Documentation

See Template talk:Verdict.