diff --git a/lokrez/templates/meltdownlyon2020/characters_corrections.j2 b/lokrez/templates/meltdownlyon2020/characters_corrections.j2 new file mode 100644 index 0000000..c472b0a --- /dev/null +++ b/lokrez/templates/meltdownlyon2020/characters_corrections.j2 @@ -0,0 +1,89 @@ +{% set charcorr = { + "banjo & kazooie": { "default": (30, -18) }, + "bayonetta": { "default": (-28, -16) }, + "bowser": { "default": (10, -30) }, + "bowser jr": { + "default": (40, -10), + "00": (40, -10), + "03": (40, -10), + "04": (40, -16), + }, + "byleth": { "default": (-15, -5) }, + "captain falcon": { "default": (-20, 0) }, + "charizard": { "default": (23, -22) }, + "chrom": { "default": (2, -12) }, + "cloud": { "default": (20, -10) }, + "corrin": { "default": (-37, -7) }, + "daisy": { "default": (35, -10) }, + "dark pit": { "default": (0, -18) }, + "dark samus": { "default": (-10, -5) }, + "diddy kong": { "default": (15, -10) }, + "donkey kong": { "default": (19, -6) }, + "dr mario": { "default": (40, -6) }, + "duck hunt": { "default": (30, -38) }, + "falco": { "default": (28, -7) }, + "fox": { "default": (30, -10) }, + "ganondorf": { "default": (-30, -6) }, + "greninja": { "default": (26, -20) }, + "hero": { "default": (25, -8) }, + "ice climbers": { "default": (12, -15) }, + "ike": { "default": (17, -7) }, + "incineroar": { "default": (20, -10) }, + "inkling": { "default": (20,-10) }, + "isabelle": { "default": (40, -20) }, + "ivysaur": { "default": (20, -33) }, + "jigglypuff": { "default": (30, -15) }, + "joker": { "default": (20, -18) }, + "ken": { "default": (20, -10) }, + "king dedede": { "default": (20, -10) }, + "king k rool": { "default": (20, -7) }, + "kirby": { "default": (30, -17) }, + "link": { "default": (-10, -20) }, + "little mac": { "default": (20, -5) }, + "lucario": { "default": (30, -13) }, + "lucas": { "default": (26, -15) }, + "lucina": { "default": (-23, -8) }, + "luigi": { "default": (35, -7) }, + "mario": { "default": (30, -20) }, + "marth": { "default": (-30, -13) }, + "mega man": { "default": (30, -10) }, + "meta knight": { "default": (10, -38) }, + "mewtwo": { "default": (10, -16) }, + "min min": { "default": (10, -23) }, + "mr game and watch": { "default": (26, -13) }, + "ness": { "default": (38, -10) }, + "olimar": { "default": (20, -27) }, + "pacman": { "default": (34, -13) }, + "palutena": { "default": (-20, -20) }, + "peach": { "default": (8, -16) }, + "pichu": { "default": (33, -25) }, + "pikachu": { "default": (30, -19) }, + "piranha plant": { "default": (15, -5) }, + "pit": { "default": (0, -17) }, + "pokemon trainer": { "default": (25, -5) }, + "richter": { "default": (20, -20) }, + "ridley": { "default": (20, -20) }, + "rob": { "default": (15, -4) }, + "robin": { "default": (0, -18) }, + "rosalina and luma": { "default": (10, -10) }, + "roy": { "default": (15, -17) }, + "ryu": { "default": (10, -4) }, + "samus": { "default": (30, -18) }, + "sheik": { "default": (0, -13) }, + "shulk": { "default": (18, -20) }, + "simon": { "default": (-20, -11) }, + "snake": { "default": (0, -3) }, + "sonic": { "default": (20, -6) }, + "squirtle": { "default": (33, -2) }, + "terry": { "default": (0, -8) }, + "toon link": { "default": (20, -27) }, + "villager": { "default": (28, -18) }, + "wario": { "default": (22, -5) }, + "wii fit trainer": { "default": (20, -5) }, + "wolf": { "default": (23, -7) }, + "yoshi": { "default": (28, -3) }, + "young link": { "default": (24, -10) }, + "zelda": { "default": (-20,-7) }, + "zero suit samus": { "default": (-13, -11) }, +} %} + diff --git a/lokrez/templates/meltdownlyon2020/template.svg.j2 b/lokrez/templates/meltdownlyon2020/template.svg.j2 new file mode 100644 index 0000000..2c9472e --- /dev/null +++ b/lokrez/templates/meltdownlyon2020/template.svg.j2 @@ -0,0 +1,4680 @@ + +{% import "meltdown/characters_corrections.j2" as charcorr %} + + + + + + + + + + + + + + + + + + {% for p in players[1:] %} + + + + {% endfor %} + + + + + + image/svg+xml + + + + + + + + + + + + + + + + m + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + m + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DESIGN BY + + @PomSSB + + + @lertsenem@mastodon.lertsenem.com + + | smashatlyon.com + + + + + + + + + + + + + + + + + + + + + + + + + + + MELTDOWN LYON + {{tournament.numEntrants}} PARTICIPANTS + {{tournament.startAt.strftime('%d/%m/%Y')}} + + + + + + + + + {{tournament.name|upper|e}} + + + + + {{tournament.name|upper|e}} + + + + + + + {% for p in players %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{loop.index if loop.index not in [6,8] else loop.index0}} + {{loop.index if loop.index not in [6,8] else loop.index0}} + + + {% if p.prefix %} + + {{p.prefix|upper|e}} + + {% endif %} + + {{p.gamerTag|upper|e}} + + + + + {% if p.get_mains()[1] %} + + + + {% endif %} + {% if p.get_mains()[2] %} + + + + {% endif %} + + {% endfor %} + +