Module:MaroScaleSandbox/doc: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Jerodast
No edit summary
>Jerodast
m (we'll imagine that footnote groups will work one day! also, Ravnica is the worst plane.)
 
(6 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 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 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


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


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


}}
}}
Line 23: Line 26:
| 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 38:
{{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 62:


| 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 69:


| 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>},


}}
}}
Quick links for live pages:
{{columns-list|
* [[Rosewater Scale]]
* [[Storm Scale]]
* [[Rabiah Scale]]
* [[Venser Scale]]
* [[Beeble 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