全站通知:

Esc标签

阅读

    

2021-10-22更新

    

最新编辑:顾小满real

阅读:

  

更新日期:2021-10-22

  

最新编辑:顾小满real

来自bilibili游戏中心 - WIKI
跳到导航 跳到搜索
页面贡献者 :
顾小满real

说明

在编辑WIKI的时候经常会因为管道符(|)导致一些函数和表格在嵌套在模板里的时候提前结束。esc标签,就是为了防止函数被提前结束而制作的。

一些转义

  • \l (less than) is translated to <
  • \g (greater than) is translated to >

  • \o (open double curly braces) is translated to {{
  • \c (close double curly braces) is translated to }}
  • \p (pipe) is translated to |

  • \\ is translated to \

  • \n is translated to a newline
esc标签写法 转义前符号
\o {{
\c }}
\p |

※这些转义符号只有在<esc>标签里才会被转义

例子

<tabber>
111={{#ueif:1|<esc>
{| class="wikitable"
|-
! @@@@ !! 标题文字 !! 标题文字
|-
| 示例 || 示例 || 示例
|-
| 示例 || 示例 || 示例
|-
| 示例 || 示例 || 示例
|}</esc>}}
|-|
222=333
</tabber>

\n\{\!\_class\e"wikitable"\n\!-\n!\_@@@@\_!!\_标题文字\_!!\_标题文字\n\!-\n\!\_示例\_\!\!\_示例\_\!\!\_示例\n\!-\n\!\_示例\_\!\!\_示例\_\!\!\_示例\n\!-\n\!\_示例\_\!\!\_示例\_\!\!\_示例\n\!\}

333