內容簡介
此外掛在視覺化文章編輯器中添加了一個按鈕。使用方法很簡單,只需選擇代表魔法風雲會卡片名稱的文字,並點擊按鈕。該卡片名稱將被括在 [mtg_card][/mtg_card] 標記中(或簡寫為 [c][/c])。在查看文章時,該卡片名稱將顯示為連結到 https://deckbox.org 上該卡片頁面的連結。將滑鼠懸停在連結上會顯示該卡片的圖片提示。
類似的標記也可以用來快速創建牌組清單:[mtg_deck][/mtg_deck](或簡寫為 [d][/d])。牌組清單應該包含一系列卡片和分類。所有卡片都有卡片名稱前的數字。所有其他行都被解釋為分類名稱。在分類名稱行中不包括卡片數字,它們會自動由此外掛計算並顯示。以下是一個簡短的示例。
顯示牌組的預設樣式是一個帶有每張卡片的滑鼠提示的卡片清單。這種樣式可以更改為嵌入式視圖,其中清單具有卡片圖像在牌組右側。可以在此外掛設置中為所有牌組或特定牌組設置樣式屬性來切換。如下所示:
[d title="Really Small Deck" style="embedded"]
Creatures
2 Bloodbraid Elf
4 Grizzly Bears
Spells
4 Lightning Bolt
Sideboard
4 Cultivate
[/d]
屏幕截圖區域包括上述牌組清單的圖像。
外掛標籤
開發者團隊
② 後台搜尋「Magic the Gathering Card Tooltips」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
The plugin adds shortcodes that transform mtg card names and decks to provide a mouseover image. For cards use the [mtg_card][/mtg_card] shortcode (or the shortened version [c][/c]). When viewing the post, the card name will show up as a link to the card’s page on https://deckbox.org . Hovering over the link will show the card’s image in a tooltip.
A similar tag can be used to quickly create deck listings: [mtg_deck][/mtg_deck] (or the shortened version [d][/d]). A deck listing should contain a list of cards and categories. All cards have a number before their name. All other lines are interpreted as category names. Do not include card numbers on the category name lines, they will automatically be computed and displayed by the plugin. A short example follows.
The default style for displaying decks is a card listing with each card having a mouseover tooltip. This style can be changed to an embedded view, where the listing has a card image to the right of the deck. This can be toggled in the plugin settings for all decks, or specifically for a deck by setting the style attribute to the tag, as can be seen below.
[d title="Really Small Deck" style="embedded"]
Creatures
2 Bloodbraid Elf
4 Grizzly Bears
Spells
4 Lightning Bolt
Sideboard
4 Cultivate
[/d]
The screenshot section includes an image of the above deck listing.
Embedded Card Display: Individual card shortcodes also support the embedded style, displaying the card image inline instead of as a tooltip:
[card style="embedded"]Lightning Bolt[/card]
[c style="embedded"]Tarmogoyf (FUT) 153[/c]
Arena Format Support: You can now paste deck lists directly from MTG Arena (or other compatible exports – like Moxfield) with set codes and collector numbers:
[deck]
4 Lightning Bolt (M10) 146
4 Mountain (FIN)
2 Snapcaster Mage
[/deck]
The plugin will display only the card name and link to the specific printing when set code and number are provided. Set codes are case-insensitive. This format also works with the [card] shortcode: [card]Lightning Bolt (M10) 146[/card]
