Template:MaroScale

MaroScale is a template for building sortable tables of data provided by Mark Rosewater regarding the Storm and Rabiah Scales.

MaroScale's  parameter is a mandatory value that serves as the label for the first column. It should be  for the Rabiah scale and   for the Storm scale.

MaroScale supports up to 500  values containing the display text for mechanics or planes. For each N, the following additional parameters are allowed:
 * — The name of the actual article to link. The use of this parameter is equivalent to, in wikitext,.
 * — Attaches a footnote to this entry.
 * — A comma-separated list of any sets, from Return to Ravnica foward, in which this mechanic has been printed.
 * — A comma-separated list of specifically-formatted references to citations for Storm Scale ratings. See below.

is a comma-separated and curly-bracket-grouped set of ratings given to that mechanic, including full wiki refs. It uses a precise format to minimize the amount of boilerplate code needed by editors, in the general form. Trailing commas in the list (outside of the curly brackets) are ignored.
 * should be an integer on the range (1,10).
 * must be in the form.
 * should be a full wiki reference of any type.

MaroScale generates a table containing all data provided, and populates a "Latest Ranking" column by calculating the most recent rating from the references provided. Rows are generated in alphabetical order of the  values, and the table can also be sorted by visitors by the "Latest Ranking" column.