跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
最近更改
随机条目
特殊页面
站点
关于陋室
维基社群
新闻动态
联系我们
活跃用户
统计
参与
上传文件
待撰页面
新建页面
编辑入门
帮助
内容
分类树
所有页面
前缀索引
最多链入页面
热门页面
维护
MediaWiki 消息页
系统消息
小工具管理
小工具定义
用户组权限
界面
侧边栏
英文侧边栏
站点公告
匿名用户通知
公共样式表
公共脚本
陋室
搜索
搜索
中文
外观
登录
个人工具
登录
沙盒
查看“︁Help:扩展语法与格式示例”︁的源代码
帮助
讨论
不转换
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
阅读
查看源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
查看源代码
查看历史
常规
链入页面
相关更改
页面信息
Cargo数据
获取短链接
外观
移至侧栏
隐藏
←
Help:扩展语法与格式示例
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于这些用户组的用户执行:
用户
、
自动确认用户
您可以查看和复制此页面的源代码。
== 重定向 (Redirect) == * [[Redirect Test]] == timeline == 使用 EasyTimeline 或 <nowiki><timeline></nowiki> 语法展示事件。 === 苏联领导人 === <timeline> # All measures are in pixels ImageSize = width:160 height:550 PlotArea = left:50 right:0 bottom:10 top:10 AlignBars = justify DateFormat = yyyy Period = from:1917 till:1991 TimeAxis = orientation:vertical ScaleMajor = unit:year increment:5 start:1920 # there is no automatic collision detection, # so shift texts up or down manually to avoid overlap Define $dx = 25 # shift text to right side of bar PlotData= bar:Leaders color:red width:25 mark:(line,white) align:left fontsize:S from:start till:1924 shift:($dx,15) text:Vladimir~Ilyich~[[Special:MyLanguage/Lenin|Lenin]] from:1924 till:1953 shift:($dx,5) text:[[Special:MyLanguage/Stalin|Josef~Stalin]] from:1953 till:1964 shift:($dx,5) text:Nikita~[[Special:MyLanguage/Khrushchev|Khrushchev]] from:1964 till:1982 shift:($dx,5) text:Leonid~[[Special:MyLanguage/Brezhnev|Brezhnev]] from:1982 till:1984 shift:($dx,-12) text:Yuri~[[Special:MyLanguage/Andropov|Andropov]] from:1984 till:1985 shift:($dx,4) text:Konstantin~[[Special:MyLanguage/Chernenko|Chernenko]] fontsize:XS from:1985 till:end shift:($dx,10) text:Mikhail~[[Special:MyLanguage/Gorbachev|Gorbachev]] </timeline> * https://www.mediawiki.org/wiki/Extension:EasyTimeline == ImageMap == ImageMap 扩展允许在图片中定义可点区域,适合交互式说明。 === 最后的晚餐 === <imagemap> File:Example.jpg|thumb|center|400px|alt=Example image|示例图片(可点击区域) rect 10 10 200 200 [[w:Example|Example]] rect 210 10 390 200 [[w:Help:Contents|Help]] </imagemap> === 参见 === * https://www.mediawiki.org/wiki/Extension:ImageMap * https://meta.wikimedia.org/wiki/ImageMapEdit_Howto * https://www.familysearch.org/en/wiki/Help:Image_maps * https://commons.wikimedia.org/wiki/Commons:Image_map_resources/zh * https://en.wikipedia.org/wiki/Category:Wikipedia_image_maps * https://meta.wikimedia.org/wiki/User:Dapete/ImageMapEdit#English * https://www.maschek.hu/imagemap/* https://www.image-maps.com/* https://summerstyle.github.io/summer/* https://summerstyle.github.io/summer/== inputbox == InputBox 扩展可以生成搜索或创建界面,便于用户快速跳转。 <inputbox> type=search arialabel=Search the Wiki </inputbox> * https://www.mediawiki.org/wiki/Extension:InputBox == syntaxhighlight == 高亮示例(bash): <syntaxhighlight lang="bash"> php -v mysql --version </syntaxhighlight> == mapframe == Kartographer 扩展根据 OpenStreetMap 提供交互地图,适合展示地理位置。 === 北京市地图 === <mapframe latitude="39.9042" longitude="116.4074" zoom="12" width="600" height="400"> </mapframe> === 参见 === * https://www.mediawiki.org/wiki/Extension:Kartographer * https://www.openstreetmap.org/== math == Math 扩展支持 LaTeX 与化学符号,适合数学与科学内容展示。 === 根的判别式(math) === <math> x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} </math> === 化学式(chem) === <chem>Hg^2+ ->[I-] HgI2 ->[I-] {[Hg^{II}I4]^2-}</chem> === 参见 === * https://www.mediawiki.org/wiki/Extension:Math == score == Score 扩展渲染乐谱,需配套 LilyPond 和 ffmpeg。 === 义勇军进行曲 === <score vorbis="1"> \relative g' { \key g \major \time 2/4 g8. b16 d8 d8 \bar "|" e4 d4 \bar "|" b8. g16 \times 2/3 {d'8 d d} \bar "|" b4 g4 \bar "|" \times 2/3 {d8 d d} \times 2/3 {d8 d d} \bar "|" g4 r8 d8 \bar "|" \break g4. g8 \bar "|" g8. g16 d8 e16 fis16 \bar "|" g4 g4 \bar "|" r8 b8 g8 a16 b16 \bar "|" d4 d4 \bar "|" \break b8. b16 g8. b16 \bar "|" d8. b16 a4 \bar "|" a2 \bar "|" e'4^> d4^> \bar "|" a4^> b4^> \bar "|" \break d8^> b8^> r8 d8 \bar "|" b8 a16 b16 g4 \bar "|" b4 r4 \bar "|" d,8. e16 g8 g8 \bar "|" b8. b16 d8 d8 \bar "|" \break a8 a16 a16 e4 \bar "|" a4. d,8 \bar "|" ^\< g4. g8 \bar "|" b4. b8 \! \bar "|" d2 \bar "|" \break g,8. b16 d8 d8 \bar "|" e4 d4 \bar "|" b8. g16 \times 2/3 {d'8 d d} \bar "|" b8 r8 g8 r8 \bar "|" d4^> g4^> \bar "|" \break b8. g16 \times 2/3 {d'8 d d} \bar "|" b8 r8 g8 r8 \bar "|" d4^> g4^> \bar "|" d4^> g4^> \bar "|" d4^> g4^> \bar "|" g4^> r4 \bar "|." } \addlyrics { 起 来! 不 愿 做 奴 隶 的 人 们! 把 我 们 的 血 肉, 筑 成 我 们 新 的 长 城! 中 华 民 族 到 了 最 危 险 的 时 候, 每 个 人 被 迫 着 发 出 最 后 的 吼 声。 起 来! 起 来! 起 来! 我 们 万 众 一 心, 冒 着 敌 人 的 炮 火 前 进! 冒 着 敌 人 的 炮 火 前 进! 前 进! 前 进! 进! } </score> === 参见 === * [https://www.mediawiki.org/wiki/Extension:Score Extension:Score] * [https://lilypond.org/doc/v2.24/Documentation/web/manuals LilyPond 2.24.4 手册] * [https://zh.wikipedia.org/wiki/义勇军进行曲 义勇军进行曲 - 维基百科,自由的百科全书] == hiero == WikiHiero 支持古埃及象形文字排版。 <hiero>A1</hiero> * https://www.mediawiki.org/wiki/Extension:WikiHiero == PdfHandler == PdfHandler 扩展提供 PDF 预览与嵌入,适合文档展示。 [[File:EXCEL 2016 QUICK START GUIDE.PDF|thumb|500px|EXCEL 2016 QUICK START GUIDE.PDF]] * https://www.mediawiki.org/wiki/Extension:PdfHandler == TimedMediaHandler == TimedMediaHandler 和相关工具链支持音视频上传与预览。 [[File:Big Buck Bunny 4K.webm|300px|thumb|...]] [[File:example.ogg|thumb|...]] [[File:example.ogg|30px]] [[File:example.ogg]] * https://www.mediawiki.org/wiki/Extension:TimedMediaHandler {{Template:站点帮助文档}}
此页面嵌入的页面:
Template:Navbox
(
查看源代码
)
Template:Navbox/styles.css
(
查看源代码
)
Template:PageToolsLink
(
查看源代码
)
Template:PageToolsLink/styles.css
(
查看源代码
)
Template:站点帮助文档
(
查看源代码
)
Module:Navbox
(
查看源代码
)
Module:PageToolsLink
(
查看源代码
)
返回
Help:扩展语法与格式示例
。
搜索
搜索
查看“︁Help:扩展语法与格式示例”︁的源代码
添加语言
添加话题