← 返回
内容创作 中文

Mediawiki Wikitext

MediaWiki Wikitext markup language for Wikipedia and wiki-based sites. Use when creating or editing wiki articles, generating wikitext content, working with...
MediaWiki Wikitext 标记语言,适用于维基百科及基于维基的站点。用于创建或编辑维基条目、生成 wikitext 内容、处理相关工作。
kongyo2
内容创作 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 588
下载
💾 10
安装
1
版本
#latest

概述

MediaWiki Wikitext

Generate and edit content using MediaWiki's wikitext markup language.

Quick Reference

Text Formatting

''italic''  '''bold'''  '''''bold italic'''''
<code>inline code</code>  <sub>subscript</sub>  <sup>superscript</sup>
<s>strikethrough</s>  <u>underline</u>

Headings (line start only, avoid level 1)

== Level 2 ==
=== Level 3 ===
==== Level 4 ====

Lists

* Bullet item        # Numbered item       ; Term
** Nested            ## Nested             : Definition

Links

[[Page Name]]                      Internal link
[[Page Name|Display Text]]         With display text
[[Page Name#Section]]              Section link
[https://url Display Text]         External link
[[File:image.jpg|thumb|Caption]]   Image
[[Category:Name]]                  Category (place at end)

Table

{| class="wikitable"
|+ Caption
|-
! Header 1 !! Header 2
|-
| Cell 1 || Cell 2
|}

Templates & Variables

{{TemplateName}}                   Basic call
{{TemplateName|arg1|name=value}}   With arguments
{{{parameter|default}}}            Parameter (in template)
{{PAGENAME}}  {{CURRENTYEAR}}      Magic words

References

Text<ref>Citation here</ref>
<ref name="id">Citation</ref>      Named reference
<ref name="id" />                  Reuse reference
{{Reflist}}                        Display footnotes

Special Tags

<nowiki>[[escaped]]</nowiki>       Disable markup
<pre>preformatted block</pre>      Preformatted (no markup)
<syntaxhighlight lang="python">    Code highlighting
code here
</syntaxhighlight>
<math>x^2 + y^2 = z^2</math>       LaTeX math
<!-- comment -->                   Comment (hidden)
----                               Horizontal rule
#REDIRECT [[Target Page]]          Redirect (first line only)

Magic Words

__NOTOC__           Hide table of contents
__TOC__             Position TOC here
__NOEDITSECTION__   Hide section edit links

Common Patterns

Article Structure

{{Infobox Type
| name = Example
| image = Example.jpg
}}

'''Article Title''' is a brief introduction.

== Section ==
Content with citation<ref>Source</ref>.

=== Subsection ===
More content.

== See also ==
* [[Related Article]]

== References ==
{{Reflist}}

== External links ==
* [https://example.com Official site]

{{DEFAULTSORT:Sort Key}}
[[Category:Category Name]]

Template Definition

<noinclude>{{Documentation}}</noinclude><includeonly>
{| class="wikitable"
! {{{title|Default Title}}}
|-
| {{{content|No content provided}}}
{{#if:{{{footer|}}}|
{{!}}-
{{!}} {{{footer}}}
}}
|}
</includeonly>

Key Syntax Rules

  1. Headings: Use == to ======; don't use = (reserved for page title)
  2. Line-start markup: Lists (*#;:), headings, tables ({|) must start at line beginning
  3. Closing tags: Close heading equals on same line; no text after closing ==
  4. Blank lines: Create paragraph breaks; single newlines are ignored
  5. Pipes in templates: Use {{!}} for literal | inside templates
  6. Escaping: Use to escape markup; & for &, < for <

Resources

For detailed syntax, see:

  • references/syntax.md: Complete markup reference with all options
  • references/templates.md: Template and parser function details
  • assets/snippets.yaml: Editor snippets for common patterns

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-30 05:18 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Repomix Explorer

kongyo2
当用户需使用 Repomix 分析或探索代码库(支持远程或本地仓库)时调用此技能。触发词包括:“analyze this repo” 等。
★ 0 📥 818
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 857 📥 199,399
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,142