plugin-icon

Utilities for MTG

Get links and pictures of cards just by typing the cards name.
평가
5
최근 업데이트일
September 27, 2020
버전
1.4.0
활성화된 설치 항목
60

This plugin is made to spice up your pages with cards from Magic The Gathering. When you talk about a card in a blogpost it is always nice to display it, now you can easily do that without having to find pictures and create links etc, just type the name in one of the available tags!

It is originally created for thepaupercube.com

Usage

[scryimg]cardname:set[/scryimg] results in a picture of the card (set is not required)

[scrylink]cardname:set[/scrylink] results in a link to the card on scryfall with an image of the card on hover

[p1p1cube column=”2″]http://example.com/mycube.csv[/p1p1cube] will generate 15 cards from the X (where X in this example is 2) column of a csv file (Column B in a google spreadsheet f.ex). In order for this to work, the link between the tags need to be a direct link to a published CSV file.

[p1p1deck]gishath:ghost quarter:grunn, the lonely king:serra angel:cancel[/p1p1deck] – Make a list of cardimages by typing in the names of cards separated by :

[mtgimg backside=”https://url-to-an-image.com/image.png”]https://url-to-an-image.com/image.png[/mtgimg] – requires an image url between the tags. Can take a second image and use as the backside on f.ex a flipcards.

[mtglink url=”https://url-to.link” name=”Displayed name”]https://url-to-an-image.com/image.png[/mtglink] – requires an image url between the tags, a name as parameter and a url as parameter. Can take a second image and use as the backside on f.ex flipcards.

[mtgprecache]card|card:set|card|card[/mtgprecache] – Used to pre-cache cards to speed up loading of page. Requires perfect spelling of cardnames.

Additional Info

  • This plugin is using the Scryfall API (http://www.scryfall.com) for card data and images. Data is not modified and can be found and viewed in full on Scryfall.com. Scryfall TOS: https://scryfall.com/docs/terms

Credit

  • Thanks to Adam at thepaupercube.com for using, testing and providing feedback
무료Creator 요금제에서
활성화된 설치 항목
60
테스트된 버전
5.5.15
이 플러그인은 다운로드 가능하며 워드프레스 독립 호스트 설치에 사용할 수 있습니다.