這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

MTGPulse deckbox embedding tool

描述

The plugin adds any number of Magic: The Gathering deckboxes from mtgpulse.com to your wordpress site. The syntax for adding a deckbox is as follows:

[deckbox did="number" size="small|normal" width="number" bgcolor="hexcolor"]
  • did: Deck id from mtgpulse.com
  • width: Width of the deckbox in pixels.
  • size: small or normal (use small if width < 800, normal if above). Difference is whether two or columns are used.
  • bgcolor: the desired hex background color. For example FFFFFF for white.

For a custom decklist use the following syntax:

[deckboxcustom name="test deck" size="small|normal" width="number" bgcolor="hexcolor"]
4 Glint Hawk Idol
4 Origin Spellbomb
4 Etched Champion
4 Memnite
4 Signal Pest
4 Vault Skirge
4 Glint Hawk
1 Oblivion Ring
4 Tempered Steel
3 Dispatch
4 Mox Opal
9 Plains
3 Gavony Township
4 Inkmoth Nexus
4 Razorverge Thicket
SB:
4 Shrine of Loyal Legions
2 Spellskite
4 Hero of Bladehold
1 Oblivion Ring
1 Celestial Purge
1 Dispatch
2 Mental Misstep
[/deckboxcustom]

Same meaning as above, but name is the deck name that will be displayed.

For the three settings: size, width and color there is a settings page where you can apply the default value for these. This way you don’t have to specify these every time you use the deckbox.

螢幕截圖

  • Example of how the deckbox will look when embedded on your site.

安裝

  1. Head over to the “Install Plugins” section of your Admin Panel, and use the “Upload” link to install the zip file.
  2. Activate the plugin through the ‘Plugins’ menu.
  3. Use the “MTGPulse” button in the editor, or manually write the tags.

評價

There are no reviews for this plugin.

貢獻者及開發者

“MTGPulse deckbox embedding tool” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 MTGPulse deckbox embedding tool 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.0

Created

1.0.1

Added bgcolor support

1.0.2

Added support for custom decks. Used through the new button that was added.