Module:MaroScaleSandbox/doc: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Jerodast
(Quick links for live pages)
>Jerodast
(more clear date-sort test data. more visually accurate fake footnotes.)
Line 7: Line 7:
[[User:Jerodast|User:jerodast]] ([[User_talk:Jerodast|talk]]) will request to delete this page once any useful changes are merged to core MaroScale page.
[[User:Jerodast|User:jerodast]] ([[User_talk:Jerodast|talk]]) will request to delete this page once any useful changes are merged to core MaroScale page.


Since this module gets arguments from frame:getParent(), its use is best exemplified / tested via the calling template. These examples use - instead of actual references, which in practice would be true citations:
Since this module gets arguments from frame:getParent(), its use is best exemplified / tested via the calling template. These examples don't use real references, which in practice would be true citations with a full reference footnote. In these examples, ratings will always be EXPECTED to be in ascending order once sorted by date, to assess correctness.


{{User:Jerodast/ScaleExperimenting/ScaleTemplate|type=Plane
{{User:Jerodast/ScaleExperimenting/ScaleTemplate|type=Plane


| entry1  = Ravnica
| entry1  = Ravnica
| ratings1 = {1,2016-11-29,-},
| ratings1 = {1,2016-11-29,<sup>[4]</sup>},


| entry2  = Innistrad
| entry2  = Innistrad
| ratings2 = {1,2016-11-29,-},
| ratings2 = {1,2016-11-29,<sup>[4]</sup>},


}}
}}
Line 23: Line 23:
| name1    = -1/-1 counter
| name1    = -1/-1 counter
| entry1  = -1/-1 counters
| entry1  = -1/-1 counters
| ratings1 = {1,2015-01-30,-},{2,2017-02-18,-},
| ratings1 = {1,2015-01-30,<sup>[4]</sup>},{2,2017-02-18,<sup>[4]</sup>},


| entry2  = Rhystic
| entry2  = Rhystic
| ratings2 = {9,2016-04-30,-},
| ratings2 = {9,2016-04-30,<sup>[4]</sup>},


| entry3  = Grind
| entry3  = Grind
| ratings3 = {5,2014-06-04,-},{5,2016-02-13,-},
| ratings3 = {5,2014-06-04,<sup>[4]</sup>},{6,2016-02-13,<sup>[4]</sup>},


}}
}}
Line 35: Line 35:
{{User:Jerodast/ScaleExperimenting/ScaleTemplate|type=Creature type
{{User:Jerodast/ScaleExperimenting/ScaleTemplate|type=Creature type
| entry1  = Beeble
| entry1  = Beeble
| ratings1 = {10,2018-10-21,-},{8,2013-03-15,-},
| ratings1 = {10,2018-10-21,<sup>[4]</sup>},{8,2013-03-15,<sup>[4]</sup>},


| entry2  = Dauthi
| entry2  = Dauthi
| ratings2 = {6,2014-01-29,-},
| ratings2 = {6,2014-01-29,<sup>[4]</sup>},


| entry3  = Djinn
| entry3  = Djinn
| ratings3 = {4,2012-12-01,- Reprinted in [[Khans of Tarkir block]] and ''[[Dominaria]]''.},
| ratings3 = {4,2012-12-01,<sup>[2]</sup> Reprinted in [[Khans of Tarkir block]] and ''[[Dominaria]]''.},


| entry13  = Human
| entry13  = Human
Line 59: Line 59:


| entry24  = Werewolf
| entry24  = Werewolf
| ratings24= {3,2018-10-22,- A 6 outside of [[Innistrad (plane)|Innistrad]].},
| ratings24= {3,2018-10-22,<sup>[2]</sup> A 6 outside of [[Innistrad (plane)|Innistrad]].},


}}
}}
Line 66: Line 66:


| entry1  = Tibalt
| entry1  = Tibalt
| ratings1 = {6,2018-10-17,-},{5,2018-10-06,-}, {6,2020-03-10,-},
| ratings1 = {6,2018-10-17,<sup>[4]</sup>},{5,2018-10-06,<sup>[4]</sup>}, {7,2020-03-10,<sup>[4]</sup>},


| entry2  = Urza
| entry2  = Urza
| ratings2 = {9,2018-10-14,-},  
| ratings2 = {9,2018-10-14,<sup>[4]</sup>},  


| entry3  = Nahiri
| entry3  = Nahiri
| ratings3 = {5,2018-10-17,-},{4,2019-08-10,-},
| ratings3 = {3,2018-10-17,<sup>[4]</sup>},{4,2019-08-10,<sup>[4]</sup>},


| entry4  = Kiora
| entry4  = Kiora
| ratings4 = {4,2018-10-15,-},
| ratings4 = {4,2018-10-15,<sup>[4]</sup>},


}}
}}

Revision as of 18:58, 4 July 2022

This is a sandbox page for experimenting with the Module:MaroScale lua script. Click for /doc access.

Goals:

  • Learn a bit more how it's used/about Modules
  • Make some updates/improvements (see script comments for details)

User:jerodast (talk) will request to delete this page once any useful changes are merged to core MaroScale page.

Since this module gets arguments from frame:getParent(), its use is best exemplified / tested via the calling template. These examples don't use real references, which in practice would be true citations with a full reference footnote. In these examples, ratings will always be EXPECTED to be in ascending order once sorted by date, to assess correctness.

PlaneLatest rankingTimeline
Innistrad11[4]
Ravnica11[4]
MechanicLatest rankingTimeline
-1/-1 counters21[4], 2[4]
Grind65[4], 6[4]
Rhystic99[4]
Creature typeLatest rankingTimeline
Beeble108[4], 10[4]
Dauthi66[4]
Djinn44[2] Reprinted in Khans of Tarkir block and Dominaria.
Dragon11[1] Iconic
Elf11[1] Characteristic
Goblin11[1] Characteristic
Human11[1] Characteristic
Hydra11[1] Iconic
Werewolf33[2] A 6 outside of Innistrad.
PlaneswalkerLatest rankingTimeline
Kiora44[4]
Nahiri43[4], 4[4]
Tibalt75[4], 6[4], 7[4]
Urza99[4]

Quick links for live pages: