[WordPress] 外掛分享: PgnViewerJS

前言介紹

  • 這款 WordPress 外掛「PgnViewerJS」是 2016-12-23 上架。
  • 目前有 40 個安裝啟用數。
  • 上一次更新是 2025-04-26,距離現在已有 8 天。
  • 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

mliebelt |

外掛標籤

pgn | chess |

內容簡介

將 PgnViewerJS 整合到 WordPress 中的外掛。這是圍繞原始的 PgnViewerJS 而建立的一個小層,但為了在 WordPress 中使用它而需要它。最終,它應該提供以下的應用程式介面:

[pgnv]1. e4 e5 2. ...[/pgnv]

這是 PgnViewer(通常需求):允許播放一場遊戲(包括變化),打印評論,NAGs,等等。

[pgne]1. e4 ...[/pgne]

允許編輯和查看一場遊戲。最後,您可以使用 PGN 按鈕來顯示記譜,然後再次將它複製到 WordPress 文章中。

[pgnb fen=][/pgnb]

僅用於顯示棋盤。

[pgnp]1. e4 e5D 2. Nf3 Nc6D ...[/pgnp]

允許以類似雜誌和書籍的格式打印一場遊戲。為此,PGN 的記譜被擴展了,移動後面帶有 “D”,代表圖表。

有關可用參數的列表,請查看常見問題解答。

原文外掛簡介

Integration of @mliebelt/pgn-viewer into WordPress (formarly named PGNViewerJS).
Using Shortcodes
To use a shortcode, do the following steps:

Enter on a new element /shortcode.
Enterinside the element then the shortcode including the content of the following sections.

Basic View
[pgnv]1. e4 e5 2. ...[/pgnv]

This is the PgnViewer (mostly needed): allows to play through a game (including variations), printing the comments, NAGs, …
Edit Mode
[pgne]1. e4 ...[/pgne]

Allows to edit and view a game. At the end, you may use the PGN button to display the notation, that then may be copied again in the WordPress post entry.
Single Position (or Board)
[pgnb fen=
][/pgnb]

Just to display a board (only), no moves. Leave out the pgn, if possible. If pgn is included, it will be checked and has to be correct (but not shown at the end).
Print View
[pgnp]1. e4 e5D 2. Nf3 Nc6D ...[/pgnp]

Allows to print a game in a format similar to magazines and books. For that purpose, the notation of PGN was expanded by the “D” at the end of a move, that stands for the diagram. (Caveat: “D” is currently not working, and leading to an error. See issue #580 about that.)
For a list of available parameters, look into the Frequently Asked Questions.
Using Block Level Element
You can use instead the following:

Enter as block element /PGN Viewer Block Editor, in the variants View, Edit, Board or Print.
You will then have a form with all options that are possible with the shortcode as well.
Depending on the kind of element you want to have, different values are needed:

View: all possible
Edit: same as view
Board: only FEN and layout elements of the board
Print: most not needed.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「PgnViewerJS」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.9.5 | 0.9.7 | 0.9.8 | 1.1.0 | 1.1.1 | 1.1.2 | 1.1.3 | 1.1.4 | 1.1.5 | 2.0.0 | 2.0.1 | 2.0.2 | 2.0.3 | 2.0.4 | 2.0.5 | trunk | 1.5.13 | 0.9.7.1 | 0.9.7.2 | 0.9.7.3 | 0.9.8.1 | 0.9.8.2 | 1.5.13.1 |

延伸相關外掛(你可能也想知道)

  • RPB Chessboard 》RPB Chessboard 允許你在 WordPress 博客的文章和頁面中使用標準的 FEN 和 PGN 記號排版並顯示國際象棋比賽和圖表。, , 相關連結, , 尋求幫助或回報問題, 文...。
  • Embed Chessboard 》Embed Chessboard 是一個外掛,可讓您在 WordPress 文章中插入顯示棋局的西洋棋棋盤。, 使用以下縮短代碼標籤來插入西洋棋棋盤:, [pgn parameter=value ...]...。
  • Chessgame Shizzle 》Chessgame Shizzle 是將國際象棋遊戲整合到您的 WordPress 網站的好方法,非常適合國際象棋俱樂部、您的國際象棋博客或任何與國際象棋相關的網站。, 無論是編...。
  • Chess Tempo Viewer 》ult shown at the end:, [ctpgn id=result], [Event "F/S Return Match"], [Site "Belgrade, Serbia Yugoslavia|JUG"], [Date "1992.11.04"], ...。
  • Chess Game Viewer 》Chess Game Viewer 是一款高級的棋類 WordPress 外掛,可讓您輕鬆地將互動式國際象棋遊戲添加到博客文章和頁面中。 棋盤是完全可定制的,可以更改棋盤和棋子...。
  • pgn-viewer-for-lichess 》**外掛簡介:**, , 將 lichess-pgn-viewer 整合進 WordPress 中,使用短碼 (Shortcodes) 方式呈現。, , 1. **為何在 WordPress 中使用 lichess-pgn-viewer?*...。
  • WP-ChessFlash 》這個外掛可以讓文章和評論使用ChessFlash PGN viewer來呈現互動式的棋局。可以透過在[pgn] 標籤中加入參數或在設定頁面上設定,大部分的 Chessflash 設定都可...。
  • ChessOnline 》棋牌線上 WordPress 外掛程式允許您顯示棋盤、使用 Forsyth-Edwards-Notation (FEN) 設置位置並使用 PGN 格式查看遊戲 (實驗性功能)。您可以指定外部 URL 進...。

文章
Filter
Apply Filters
Mastodon