Skip to content
op200 edited this page Nov 26, 2024 · 37 revisions

English Documentation
中文使用文档

模板替换执行声明行:
    Effect:
        template@<class>[;<class>...]#[<mode>[;<mode>...]]
            Template Replacement Execution Statement
            模板替换执行声明
            将根据mode执行具有交集class的被执行行
            该行为注释行时才会执行
    Text:
        {<be replaced>}{<tag>}<text>
            Template Content Declaration
            模板内容声明
            <be replaced>被替换成<tag>,并在这个{}后追加<text>
            该行非注释行时才会执行
模板内容声明行:
    Effect:
        beretag@<class>[;<class>...]
            Template Content Declaration
            模板内容声明
预处理命令声明行:
    Effect:
        template#ppcode
            Preprocessing Command Declaration
            预处理命令声明
    Text:
        !<code>![!<code>!...]
命令声明行:
    Effect:
        template#code
            Command declaration
            命令声明
    Text:
        !<code>![!<code>!...]
			
mode(string):
    <Empty string>:
        default mode
    onlyfind:
        no replace
    cuttag:
        Add the content after each replacement to a new line, using the replaced {} position as the cut point
        将每次替换后的内容添加到新行,以被替换的{}位置作为cut point
    strictstyle:
        Strictly match style names (Style), only perform replacements on rows with the same style name
        严格匹配样式名(Style),仅对同样式名的行执行替换
    strictactor:
        Strictly match speakers (Name), only perform substitutions on rows of the same speaker
        严格匹配说话人(Name),仅对同说话人的行执行替换
    findtext:
        Match <be replaced> with the text instead of tags
        将<be replaced>匹配整行文本,而不是tag
    append:
        The new line will be appended to the end, not after the bere line
        新的行将被append到末尾,而不是bere行的后面
    keyframe:
        Keyframe replacement will be performed first, with the keyframe file from $keyfile
        将先执行关键帧替换,对应关键帧文件为$keyfile
    recache:
        Insert cache lines ($subcache) into subtitles
        将缓存行($subcache)插入到字幕
    uninsert:
        New bere lines will not be inserted
        将不会插入新的bere行
    cuttime:
        {<start_tag>}{<end_tag>}
        The bere line gradients from start_tag to end_tag ​​in the time domain
        bere行在时域上从start_tag渐变到end_tag
    classmix:
        {<class>[;<class>...]}{<class>[;<class>...]}
        Mix two type lines about different classes
        合并两种类的行
Clone this wiki locally