Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a243f9330f7e231f

Jump to content

Template:Arbitration case navigation/get data/doc

From Wikipedia, the free encyclopedia

This template fetches data from a case's /Data subpage. It takes two parameters, both of which are required:

  • |case name=, the name of the arbitration case (without the Wikipedia:Arbitration/Requests/Case prefix)
  • |1= (the first unnamed parameter), the parameter to fetch from the /Data subpage

Data subpage format

[edit]

Data subpages are, well, /Data subpages of cases which store various information about a case. For an example, see Wikipedia:Arbitration/Requests/Case/Transgender healthcare and people/Data. The syntax for each parameter is:

|clerk1=Username of the first clerk (with no additional markup); defaults to the person created the /Data subpage
|clerk2=
|clerk3=
|draft1=Username of the drafting arb
|draft2=
|draft3=
|draft4=
|active=Active number of arbitrators **after** subtracting inactive and recused; defaults to the number active at [[WP:ARBS]]
|inactive=
|recused=
|date-opened=
|date-evidence=Unless specified otherwise, two weeks after case opens
|date-workshop=Unless specified otherwise, a further one week
|date-pd=Unless specified otherwise, last one week
|pd-note=This appends a note to the proposed decision date (for instance, to note that the PD is delayed); usually left blank
|workshop-skipped=Set to yes if there is no workshop in this case
|scope=Set this to the scope for the case
|list=
'''Active:'''
#

'''Inactive:'''
(none)

'''Recused:'''
:(If there are none, delete the "Recused" header)

For the list of arbitrators by activity to be used in new cases, see Wikipedia:Arbitration Committee#Members; copy and paste, keeping the links and removing the indenting colons. If there are no '''Recused:''' arbitrators, this heading should be omitted from the |list=.

Usage

[edit]
  • {{Arbitration case navigation/get data|clerk1|case name=Transgender healthcare and people}} → SilverLocust
  • {{Arbitration case navigation/get data|clerk2|case name=Transgender healthcare and people}} → HouseBlaster
  • {{Arbitration case navigation/get data|recused|case name=Transgender healthcare and people}} → 2
  • {{Arbitration case navigation/get data|this parameter does not exist|case name=Transgender healthcare and people}}
  • {{Arbitration case navigation/get data|clerk1|case name=This case does not exist}}

Updating activity levels

[edit]

Please note that arbitrators sometimes deal differently with the transition from away/inactive to active status, depending on how long they were away, how many cases are pending at the time, and personal preferences. For example, one arbitrator might ask to be moved to active on all pending cases, while another might choose to become active only on new cases accepted after returning, or only on cases where they actually vote on the decision. If the arbitrator's desire is unclear, they should be asked.

The one definite rule is that an arbitrator must be listed as active on any case where they voted on the proposed decision.

Special parameters

[edit]

These parameters should normally be left blank in the /Data subpage, but can be used in unusual cases.

nodraft

[edit]

If there are no drafting arbitrators on a case it shows up on case pages as "TBD". The option |nodraft= can be used to replace the default text.

status-code

[edit]

Setting a status-code will override the automatic, date-based phase detection logic. Acceptable values are case-insensitive forms of:

  • not open (before anything is open)
  • evidence (when both evidence and the workshop are open)
  • evidence only (when only evidence is open, perhaps because the workshop was skipped)
  • workshop (when the workshop is open)
  • pd (when the ball is in the arbitrators' court)
  • suspended (when the case has been formally suspended)

You cannot override the "case closed" status. That is detected based upon whether the main case page is in Category:Wikipedia open arbitration cases.

status-override

[edit]

To completely override the status banner, use status-override=. You need to include {{notice}} (or equivalent) markup if you want the status to be formatted like a banner. Setting this to no will hide the banner entirely.

Technical details

[edit]

This section contains technical details which you can safely ignore unless you are debugging this template.

While unlikely to cause problems, this template uses an expensive parser function ({{#ifexist}}). Luckily, only one call per case increments the count. For example, 13 calls on the same page about |case name=Transgender healthcare and people only increment the call once, but 13 calls on the same page about distinct cases increment the count 13 times.

This template is often called in combination with {{Arbitration case name}}, which gets the title of an arbitration case from the page name. For example, on a case subpage, {{Arbitration case navigation/get data|case name={{Arbitration case name}}|active}} gets the number of arbitrators active on that case.