Difference between revisions of "Template:DRN case status/row"

From blackwiki
Jump to navigation Jump to search
imported>The Earwig
(n/a for time when no user has edited)
imported>The Earwig
(implement |small=yes)
Line 1: Line 1:
 
<noinclude>{{DRN case status/header}}</noinclude>
 
<noinclude>{{DRN case status/header}}</noinclude>
 +
{{#switch:{{{s}}}{{{sm}}}|1yes|2yes|6yes|7yes=|#default=
 
<tr style="background-color: {{DRN case status/color|{{{s}}}}};">
 
<tr style="background-color: {{DRN case status/color|{{{s}}}}};">
 
<!-- case --><td>[[Wikipedia:Dispute resolution noticeboard#{{{t}}}|{{{t}}}]]</td>
 
<!-- case --><td>[[Wikipedia:Dispute resolution noticeboard#{{{t}}}|{{{t}}}]]</td>
Line 12: Line 13:
 
   |#default=Unknown
 
   |#default=Unknown
 
}}</td>
 
}}</td>
<!-- create user --><td>[[User:{{{cu}}}|{{{cu}}}]] ([[User talk:{{{cu}}}|t]])</td>
+
<!-- create user -->{{#if:{{{sm|}}}||<td>[[User:{{{cu}}}|{{{cu}}}]] ([[User talk:{{{cu}}}|t]])</td>}}
 
<!-- create time --><td>{{hs|{{{cs|}}}}}{{{ct}}}</td>
 
<!-- create time --><td>{{hs|{{{cs|}}}}}{{{ct}}}</td>
<!-- volunteer user --><td>{{#if:{{{vu|}}}|[[User:{{{vu}}}|{{{vu}}}]] ([[User talk:{{{vu}}}|t]])|None}}</td>
+
<!-- volunteer user -->{{#if:{{{sm|}}}||<td>{{#if:{{{vu|}}}|[[User:{{{vu}}}|{{{vu}}}]] ([[User talk:{{{vu}}}|t]])|None}}</td>}}
 
<!-- volunteer time --><td>{{#if:{{{vu|}}}|{{hs|{{{vs|}}}}}{{{vt}}}|n/a}}</td>
 
<!-- volunteer time --><td>{{#if:{{{vu|}}}|{{hs|{{{vs|}}}}}{{{vt}}}|n/a}}</td>
<!-- modify user --><td>[[User:{{{mu}}}|{{{mu}}}]] ([[User talk:{{{mu}}}|t]])</td>
+
<!-- modify user --><td>{{#if:{{{sm|}}}||[[User:{{{mu}}}|{{{mu}}}]] ([[User talk:{{{mu}}}|t]])</td>}}
<!-- modify time --><td>{{hs|{{{ms|}}}}}{{{mt}}}</td>
+
<!-- modify time --><td>{{#if:{{{sm|}}}||{{hs|{{{ms|}}}}}{{{mt}}}</td>}}
 
</tr>
 
</tr>
 +
}}
 
<noinclude>{{DRN case status/footer}}
 
<noinclude>{{DRN case status/footer}}
  
Line 33: Line 35:
 
* {{param|ms}} - modify sortkey
 
* {{param|ms}} - modify sortkey
 
* {{param|mt}} - modify timestamp
 
* {{param|mt}} - modify timestamp
 +
* {{param|sm}} - whether to hide certain columns
  
 
</noinclude>
 
</noinclude>

Revision as of 03:49, 2 August 2012

Case Created Last volunteer edit Last modified
Title Status User Time User Time User Time
[[Wikipedia:Dispute resolution noticeboard#{{{t}}}|{{{t}}}]] Unknown [[User:{{{cu}}}|{{{cu}}}]] ([[User talk:{{{cu}}}|t]]) {{{ct}}} None n/a [[User:{{{mu}}}|{{{mu}}}]] ([[User talk:{{{mu}}}|t]]) {{{mt}}}

If you would like a regularly-updated copy of this status box on your user page or talk page, put {{DRN case status}} on your page. Click on that link for more options.

Params

  • {{{t}}} - case title
  • {{{s}}} - case status
  • {{{cu}}} - create user
  • {{{cs}}} - create sortkey
  • {{{ct}}} - create timestamp
  • {{{vu}}} - volunteer user
  • {{{vs}}} - volunteer sortkey
  • {{{vt}}} - volunteer timestamp
  • {{{mu}}} - modify user
  • {{{ms}}} - modify sortkey
  • {{{mt}}} - modify timestamp
  • {{{sm}}} - whether to hide certain columns