內容簡介
本外掛可在 WordPress 網站添加任意數量的魔法風雲札盒來自 mtgpulse.com。添加風雲札盒的語法如下:
[deckbox did="卡牌 id" size="small|normal" width="寬度" bgcolor="十六進制顏色"]
其中,
- did:卡牌 id,從 mtgpulse.com 取得。
- size:卡牌盒大小,small 或 normal,建議根據所用寬度決定。
- width:卡牌盒寬度,單位為像素。
- bgcolor:所需背景色的十六進制值,例如 FFFFFF 表示白色。
若要使用自訂的卡牌清單,可使用以下語法:
[deckboxcustom name="牌組名稱" size="small|normal" width="寬度" bgcolor="十六進制顏色"]
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]
在上述語法中,size、width 和 bgcolor 三個屬性可設定為系統預設,詳情請見外掛的設定頁面。
外掛標籤
開發者團隊
② 後台搜尋「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.
