[wordpress插件] Card Converter卡转换器

wordpress 插件 文章 2020-03-16 21:30 793 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Replace playing card abbreviations with a CSS playing card.

用CSS纸牌代替纸牌缩写。

Notes

注释

    • Make sure to only use one card abbreviation in between each set of tags.

    • 确保在每组标签之间仅使用一个卡的缩写。

      If you want to display multiple cards, you will need to use multiple tags.

      如果要显示多个卡,则需要使用多个标签。

      This was done to allow unsuited cards and unranked cards to be used.

    • 这样做是为了允许使用不合适的卡片和未排名的卡片。

    • Uppercase and lowercase letters are both allowed for card abbreviations.
    • 卡的缩写均允许使用大写和小写字母。

    • 10 is converted to T.
    • 10转换为T。

    • 1 is converted to A.
    • 1转换为A。

    • Both ?

    • 都是吗?

      and X are allowed for card ranks.

      和X允许用于卡片排名。

      ?

      means you have no idea what a card was.

      表示您不知道什么是卡。

      X is meant for any “rag,” such as when people use the term AX suited they mean they had an Ace and a rag both of the same suit.

    • X表示任何“碎布”,例如,当人们使用术语“适合的AX”时,它们表示他们拥有相同的Ace和碎布。

    • Unsuited cards are allowed.
    • 允许使用不合适的卡。

    • Unranked suits are allowed.

    • 允许不分级的西装。

      X will be used as the card rank.

    • X将用作卡片等级。

    • I tested using as the tag and WP automatically converted it to lowercase.
    • 我使用 作为标记进行了测试,并且WP自动将其转换为小写。

    • Using anything other than letters, numbers, or ?

    • 使用字母,数字或?以外的其他字符

      inside the tags will cause the plugin to skip over it.

    • 标签中的内容将导致插件跳过它。

    Examples

    示例

      • Rank & Suit

      • 排行榜

        AcAd

        AcAd

        KCTC

      • KCTC

      • Unsuited

      • 不适合

        8j?

      • 8j?

      • Unranked

      • 未排名

        Ch

      • 频道

      • Invalid cards

      • 无效的卡

        V

        V

        0

        0

        Ph

        Ph

        Eb

        Eb

        ch

        ch

        1ds

      • 1ds

安装步骤

    1. Upload card-converter.php to your wp-content/plugins/ directory.
    2. 将card-converter.php上传到您的wp-content / plugins /目录。

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Go to Options->Discussion.

    6. 转到“选项”->“讨论”。

      Add and to the Comment Moderation list.

      添加到“评论审核”列表中。

      In order for the plugin to work correctly, the allowed_tags had to be overwritten.

      为了使插件正常工作,必须覆盖allowed_tags。

      Now if anyone attempts to use a span tag in comments, you will have to approve it first.

    7. 现在,如果有人尝试在评论中使用span标签,则必须首先批准。

    8. Whenever you want to display a playing card in a post or comment, wrap one card abbreviation between and tags.
    9. 每当您要在帖子或评论中显示纸牌时,请在 标签之间包裹一张纸牌缩写。

下载地址
https://downloads.wordpress.org/plugin/card-converter.2.0.zip
-EOF-

AI助手支持GPT4.0