-
Notifications
You must be signed in to change notification settings - Fork 3
Extensions (EN)
Bhsd edited this page Jun 2, 2026
·
6 revisions
WikiParser-Node always parses the content of extension tags into ext-inner nodes, but the structure of ext-inner nodes varies for different extension tags. The following table summarizes the ext-inner nodes corresponding to different extension tags. Unsupported extension tags are uniformly parsed as NowikiToken.
| Node | Extension Tag | Child Type |
|---|---|---|
| Token |
<combooption><indicator><langconvert><option><phonos><poem><poll><ref><seo><tab><tabs>
|
|
| CategorytreeToken | <categorytree> |
|
| CommentedToken | <hiero> |
|
| GalleryToken | <gallery> |
gallery-image |
| ImagemapToken | <imagemap> |
imagemap-image imagemap-link |
| NestedToken |
<choose><combobox><references>
|
|
| NowikiToken | All unsupported extension tags | |
| ParamTagToken |
<dynamicpagelist><inputbox>
|
param-line |
| PreToken | <pre> |
|
| TranslateToken | <translate> |
translate-attr translate-inner |
| TvarToken | <tvar> |
tvar-name |
The following table summarizes the support status of various extension tags.
| Extension Tag | Parse | Lint | Convert to HTML |
|---|---|---|---|
<categorytree> |
✓ | ✓ | ✕ |
<ce> |
✕ | ✓ | ✓ |
<chem> |
✕ | ✓ | ✓ |
<choose> |
✓ | ✓ | ? |
<combobox> |
✓ | ✓ | ✕ |
<combooption> |
✓ | ✕ | |
<dynamicpagelist> |
✓ | ✓ | ✕ |
<gallery> |
✓ | ✓ | ✓ |
<hiero> |
✓ | ✕ | ✕ |
<imagemap> |
✓ | ✓ | ? |
<indicator> |
✓ | ✕ | |
<inputbox> |
✓ | ✓ | ? |
<langconvert> |
✓ | ✓ | |
<languages> |
✓ | ||
<mapframe> |
✕ | ✓ | ✕ |
<maplink> |
✕ | ✓ | ✕ |
<math> |
✕ | ✓ | ✓ |
<nowiki> |
✓ | ||
<phonos> |
? | ? | ? |
<poem> |
✓ | ✓ | |
<poll> |
? | ? | ? |
<pre> |
✓ | ✓ | |
<ref> |
✓ | ✓ | |
<references> |
✓ | ✓ | ✓ |
<score> |
✕ | ✓ | ✕ |
<section> |
✓ | ? | |
<seo> |
? | ? | ✕ |
<source> |
✕ | ✓ | |
<syntaxhighlight> |
✕ | ✓ | |
<tab> |
✓ | ? | |
<tabs> |
? | ? | ? |
<templatedata> |
✕ | ✓ | ? |
<templatestyles> |
✓ | ✕ | |
<translate> |
✓ | ✓ | |
<tvar> |
✓ | ✓ |
对维基文本批量执行语法检查的命令行工具
轻量级的维基模板解析器
维基文本语言服务器协议实现
用于维基文本的 VS Code 扩展
A command-line tool that performs linting on Wikitext in bulk
A lightweight Wikitext template parser
An implementation of the Language Server Protocol for Wikitext
VS Code extension for Wikitext