No description
Find a file
2022-06-09 16:23:39 +10:00
media feat: working alpha with small number of formations 2021-10-21 11:25:17 +11:00
src Merge pull request #1 from sofixa/patch-1 2021-11-21 13:52:48 +11:00
.editorconfig Initial commit 2021-10-20 12:27:40 +11:00
.gitignore nit: add macos gitignore bits 2021-11-21 13:54:09 +11:00
LICENSE feat: add LICENSE 2021-10-29 11:24:41 +11:00
manifest.json chore: bump version to 1.0.1 2021-11-21 13:56:33 +11:00
package.json chore: bump version to 1.0.1 2021-11-21 13:56:33 +11:00
README.md docs: check off the community plugins TODO 2022-06-09 16:23:39 +10:00
tsconfig.json Initial commit 2021-10-20 12:27:40 +11:00
versions.json chore: bump version to 1.0.1 2021-11-21 13:56:33 +11:00

Obsidian Lineup Builder Plugin

This plugin allows you to build football lineups in Obsidian by specifying a formation and a list of players.

The lineup is defined in a codeblock and is visible in Preview mode.

Using the Plugin

To create a lineup you need to define a lineup codeblock with the following options:

Formation

The formation option is one of the currently available formations:

  • 433
  • 4231
  • 442
  • 442-diamond
  • 523
  • 532
  • 541
  • 352
  • 343

Players

The players option defines the starting 11, ordered from bottom to top and left to right.

i.e. for a 433: Mendy,Chilwell,Silva,Rudiger,James,Mount,Jorginho,Kante,Werner,Lukaku,Havertz

Example

```lineup
formation: 4231
players: Kepa,Chilwell,Silva,Rudi,Azpi,Kante,Kovacic,CHO,Mount,Havertz,Lukaku
```

Example

SVG Images

The images used are generated from SVGs from the Wikimedia Commons with positions moved around to create new formations, and position names replaced by custom player names.

© 433 / Wikimedia Commons User:Threner / CC-BY-SA-3.0

© 4231 / Wikimedia Commons User:Threner / CC-BY-SA-3.0

© 442 / Wikimedia Commons User:MaxDZ8 / CC-BY-SA-3.0

© 442-diamond / Wikimedia Commons User:Threner / CC-BY-SA-3.0

Special Thanks

This wouldn't have been possible without using THeK3nger's Chess Plugin as a reference.

TODO

  • Add 5ATB Formations
  • Cleanup SVG code to reuse duplicated elements
  • Add wikimedia credit lines
  • Submit PR to get it added to the Community Plugins list
  • Investigate different input methods for list of players
  • Custom team colours
  • Custom pitches