Template:MaroScale
MaroScale is a template for building sortable tables of data provided by Mark Rosewater regarding his Rosewater Scales, such as the Storm and Rabiah Scales.
MaroScale's type
parameter is a mandatory value that serves as the label for the first column. It should be Mechanic
for the Storm and Gotcha Scales, Plane
for the Rabiah Scale, Creature type
for the Beeble Scale, and Planeswalker
for the Venser Scale.
MaroScale supports up to 500 entryN
values containing the display text for mechanics or planes. For each N, the following additional parameters are allowed:
nameN
— The name of the actual article to link. The use of this parameter is equivalent to, in wikitext,[[nameN|entryN]]
.noteN
— Attaches a footnote to this entry.printingsN
— A comma-separated list of any sets, from Return to Ravnica foward, in which this mechanic has been printed.ratingsN
— A comma-separated list of specifically-formatted references to citations for Storm Scale ratings. See below.
ratingsN
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 {Rating,Date,Ref}, {Rating,Date,Ref}, {Rating,Date,Ref}, ...
. Trailing commas in the list (outside of the curly brackets) are ignored.
Rating
should be an integer on the range (1,10).Date
must be in the formYYYY-MM-DD
.Ref
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 entryN
values, and the table can also be sorted by visitors by the "Latest Ranking" column.
Full example
{{MaroScale|type=Plane | entry1 = Ravnica | ratings1 = {1,2016-11-29,<ref name="OrigRabiahPost">{{EzTumblr|http://markrosewater.tumblr.com/post/153826844168/the-rabiah-scale|title=The Rabiah Scale|November 29, 2016}}</ref>}, | entry2 = Innistrad | ratings2 = {1,2016-11-29,<ref name="OrigRabiahPost"/>}, }}
Plane | Latest ranking | Timeline |
---|---|---|
Innistrad | 1 | 1[1] |
Ravnica | 1 | 1[1] |
- ↑ a b Mark Rosewater (November 29, 2016). "The Rabiah Scale". Blogatog. Tumblr.