Signal Flags
v1.1.1opensums · 2020年7月9日 上架
Display flags from the International Code of Signals (ICS), the Racing Rules of Sailing (RRS) and other nautical flags and pennants on your website.
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 1,368
- 最近更新
- 2020年9月3日
贡献者
截图
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 a–z)
* Numeral pennants 0-9 (codes n0 – n9)
* Answering pennant (AP) (code ap)
* 1st, 2nd and 3rd substitute (codes s1–s3)
* 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.](https://ps.w.org/signal-flags/assets/screenshot-1.png?rev=2339178)
