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

Signal Flags

外掛說明

Usage

To insert an image of the flag for Letter A in a post or page, use the shortcode [signal-flag a]. You can use the following flags with the corresponding codes:
* Alphabet flags A-Z (codes az)
* Numeral pennants 0-9 (codes n0n9)
* Answering pennant (AP) (code ap)
* 1st, 2nd and 3rd substitute (codes s1s3)
* Various flags defined in the Racing Rules of Sailing (codes black, blackwhite, blue, green, greenwhite, red, yellow)

There are different sets of flags selectable from the admin settings page.

About the flag images

Images are embedded in the page using the SVG vector format (much quicker than loading a separate image file) and eight sets of flag images are included with the following options:
* with or without outlines for ease of use on white backgrounds (including when printed)
* rectangular (4:3 aspect ratio) and square shapes for letter flags
* in ‘natural’ or ‘primary’ colours.

Development

Development for the Signal Flags plugin is hosted on GitHub.

螢幕擷圖

  • A post showing the [signal-flag] shortcode in use.
  • Signal Flags plugin settings.

常見問題集

Why don’t these flags look like the ones we use at our club?

There are many variations in the shapes and designs of flags in use around the world. This plugin provides letter flags in square and 4:3 aspect ratios, but all the pennants are 2:1 and the triangle flags 4:3. Designs are a compromise based on experience mainly of flags commonly used in dinghy and yacht racing in the United Kingdom, and those supplied for use on yachts in the UK and Europe.

Can I change the colours?

This plugin provides flags in two different colour schemes:
* natural which aim to look like real flags
* primary which uses primary colours.

We are looking at options for creating custom colour schemes in the plugin, and are also working on a tool to create custom flag files and upload them for use in the plugin.

Can I change the shapes?

This plugin provides two different shapes for letter flags:
* rect (rectangular) which is normally used in the United Kingdom and elsewhere and is provided here in a 4:3 aspect ratio
* square which are normally used in the US

We are working on a tool to create custom flag files and upload them for use in the plugin.

Can I change the thickness or colour of the outline?

The plugin does not support this. We are working on a tool to create custom flag files and upload them for use in the plugin.

Can I change the designs e.g. the size of the circle on numeral pennants 1 and 2?

Not at the moment, but we are working on a tool to create custom flag files and upload them for use in the plugin.

If you think a design is simply wrong then look at the support forum to see if this has already been discussed or start a new topic.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Signal Flags〉的開發相關工作。

參與者

將〈Signal Flags〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.1.1 _14 August 2020_

Tested against WordPress 5.5.

1.1.0 _11 July 2020_

This is the first release of the Signal Flags plugin.