Module:MaroScaleSandbox/doc: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Jerodast
m (I think this is what's on other pages although preview doesn't work...)
>Jerodast
m (we'll imagine that footnote groups will work one day! also, Ravnica is the worst plane.)
 
(3 intermediate revisions by the same user not shown)
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 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.
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 easily verify correctness.
 
Let's put{{efn|First fake footnote}} in some{{efn|Second}} fake footnotes to test compatibility of tables & other footnotes.{{efn|Final fake footnote!}}


{{User:Jerodast/ScaleExperimenting/ScaleTemplate|type=Plane
{{User:Jerodast/ScaleExperimenting/ScaleTemplate|type=Plane
Line 13: Line 15:
| entry1  = Ravnica
| entry1  = Ravnica
| ratings1 = {1,2016-11-29,<sup>[4]</sup>},
| ratings1 = {1,2016-11-29,<sup>[4]</sup>},
| note1    = Worst plane ever


| entry2  = Innistrad
| entry2  = Innistrad
Line 87: Line 90:
* [[Beeble Scale]]
* [[Beeble Scale]]
* [[Gotcha Scale]]}}
* [[Gotcha Scale]]}}
{{User:Jerodast/ScaleExperimenting/ScaleTemplate|type=TEST
| entry3 = Noratings
| name3 = Redlink
| note3 = entry3 has no ratings and may be ignored! Also has Ravnica and Mirrodin which will definitely be ignored.
| printings3 = Ravnica, Mirrodin, War of the Spark
| ratings2 = {3,2018-10-17,<sup>[2]</sup>},{4,2019-08-10,<sup>[2]</sup> No entry2!},
| entry5 = There is no entry2 even tho there's a ratings2 haha loser
| entry4 = Mix ratings and printings (Lorwyn is there but should be ignored)
| ratings4 = {5,2013-08-10,<sup>[4]</sup>},{6,2018-10-17,<sup>[4]</sup>},{7,2019-08-10,<sup>[4]</sup>},{8,2021-08-10,<sup>[4]</sup>},
| printings4 = rtr, Lorwyn, Rivals Of Ixalan, WAR
| entry6 = More notes
| note6 = This is another footnote
| ratings6 = {2,2018-10-17,<sup>[6]</sup>},{4,2019-08-10,<sup>[6]</sup>}
| entry7 = Entry is the VISIBLE title
| name7 = Name is the LINKED title
| ratings7 = {5,2013-08-10,<sup>[7]</sup>}
}}
'''Footnotes'''
{{notelist}}

Latest revision as of 06:30, 6 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 easily verify correctness.

Let's put[a] in some[b] fake footnotes to test compatibility of tables & other footnotes.[c]

PlaneLatest rankingTimeline
Innistrad11[4]
Ravnica[d]11[4]
  1. First fake footnote
  2. Second
  3. Final fake footnote!
  4. Worst plane ever
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:

TESTLatest rankingTimeline
Entry is the VISIBLE title55[7]
Mix ratings and printings (Lorwyn is there but should be ignored)8RTR, 5[4], RIX, 6[4], WAR, 7[4], 8[4]
More notes[a]42[6], 4[6]
Noratings[b]NoneWAR
There is no entry2 even tho there's a ratings2 haha loserNone
  1. This is another footnote
  2. entry3 has no ratings and may be ignored! Also has Ravnica and Mirrodin which will definitely be ignored.

Footnotes