帮助:需要配置的格式:修订间差异
来自陋室
更多操作
删除的内容 添加的内容
小 →最后的晚餐 |
小 →syntaxhighlight: 修改语法 |
||
| (未显示1个用户的4个中间版本) | |||
| 第1行: | 第1行: | ||
== 重定向 (Redirect) == |
== 重定向 (Redirect) == |
||
用于将页面指向其它页面。 |
|||
示例语法: |
|||
* [[Redirect Test]] |
|||
<syntaxhighlight lang="wikitext"> |
|||
#REDIRECT [[目标页面]] |
|||
</syntaxhighlight> |
|||
效果说明:保存后访问该页会自动跳转到目标页面。 |
|||
== timeline == |
== timeline == |
||
使用 EasyTimeline 或 <nowiki><timeline></nowiki> 语法展示事件。 |
使用 EasyTimeline 或 <nowiki><timeline></nowiki> 语法展示事件。 |
||
=== 示例(可视化时间线) === |
|||
=== 苏联领导人 === |
|||
<timeline> |
<timeline> |
||
# All measures are in pixels |
# All measures are in pixels |
||
| 第38行: | 第41行: | ||
</timeline> |
</timeline> |
||
=== 参见 === |
|||
* https://www.mediawiki.org/wiki/Extension:EasyTimeline |
* https://www.mediawiki.org/wiki/Extension:EasyTimeline |
||
== ImageMap == |
== ImageMap == |
||
ImageMap 扩展允许在图片中定义可点区域,适合交互式说明。 |
ImageMap 扩展允许在图片中定义可点区域,适合交互式说明。 |
||
=== |
=== 示例 === |
||
<imagemap> |
<imagemap> |
||
File:The Last Supper - Leonardo Da Vinci - High Resolution 32x16.jpg|thumb|center|500px|alt=''The Last Supper'' by Leonardo da Vinci - Clickable Image|Image map example. Clicking on a person in the picture causes the browser to load the appropriate article. |
File:The Last Supper - Leonardo Da Vinci - High Resolution 32x16.jpg|thumb|center|500px|alt=''The Last Supper'' by Leonardo da Vinci - Clickable Image|Image map example. Clicking on a person in the picture causes the browser to load the appropriate article. |
||
| 第54行: | 第55行: | ||
poly 2450 2575 2775 2500 2700 2650 2800 2700 2600 3000 2600 3250 2300 3250 2200 3200 2300 3000 [[w:Saint Peter|Peter]] |
poly 2450 2575 2775 2500 2700 2650 2800 2700 2600 3000 2600 3250 2300 3250 2200 3200 2300 3000 [[w:Saint Peter|Peter]] |
||
poly 2750 2500 2950 2400 3125 2600 3175 2700 3300 2850 3700 3200 3750 3200 3650 3350 3400 3200 3000 3350 2600 3325 2750 2800 2900 2700 2700 2650 [[w:Judas Iscariot|Judas]] |
poly 2750 2500 2950 2400 3125 2600 3175 2700 3300 2850 3700 3200 3750 3200 3650 3350 3400 3200 3000 3350 2600 3325 2750 2800 2900 2700 2700 2650 [[w:Judas Iscariot|Judas]] |
||
poly 3000 2350 3300 2350 3350 2660 3560 2600 3565 2690 3250 2800 3125 2575 [[w:Saint Peter|Peter]] |
poly 3000 2350 3300 2350 3350 2660 3560 2600 3565 2690 3250 2800 3125 2575 [[w:Saint Peter|Peter]] |
||
poly 3332 2338 3528 2240 4284 3024 4074 3332 3864 3290 3780 3150 3668 3192 3598 3024 3374 2870 3388 2772 3542 2800 3668 2702 3542 2590 3430 2604 3350 2600 3300 2500[[w:John the Apostle|John]] |
poly 3332 2338 3528 2240 4284 3024 4074 3332 3864 3290 3780 3150 3668 3192 3598 3024 3374 2870 3388 2772 3542 2800 3668 2702 3542 2590 3430 2604 3350 2600 3300 2500[[w:John the Apostle|John]] |
||
poly 4775 2184 4915 2128 5055 2212 5083 2352 5111 2464 5181 2604 5307 2744 5573 3052 5615 3192 5657 3290 5573 3402 5461 3332 5335 3248 4495 3248 4439 3388 4243 3388 4075 3360 4173 3136 4327 3010 4509 2730 4663 2520 4733 2394 [[w:Jesus]] |
poly 4775 2184 4915 2128 5055 2212 5083 2352 5111 2464 5181 2604 5307 2744 5573 3052 5615 3192 5657 3290 5573 3402 5461 3332 5335 3248 4495 3248 4439 3388 4243 3388 4075 3360 4173 3136 4327 3010 4509 2730 4663 2520 4733 2394 [[w:Jesus]] |
||
| 第75行: | 第76行: | ||
* https://www.image-maps.com/ |
* https://www.image-maps.com/ |
||
* https://summerstyle.github.io/summer/ |
* https://summerstyle.github.io/summer/ |
||
== inputbox == |
== inputbox == |
||
InputBox 扩展可以生成搜索或创建界面,便于用户快速跳转。 |
InputBox 扩展可以生成搜索或创建界面,便于用户快速跳转。 |
||
示例语法: |
|||
<syntaxhighlight lang="wikitext"> |
|||
<inputbox> |
|||
type=search |
|||
arialabel=Search the Wiki |
|||
</inputbox> |
|||
</syntaxhighlight> |
|||
示例效果: |
|||
<inputbox> |
<inputbox> |
||
type=search |
type=search |
||
| 第86行: | 第93行: | ||
</inputbox> |
</inputbox> |
||
=== 参见 === |
|||
* https://www.mediawiki.org/wiki/Extension:InputBox |
* https://www.mediawiki.org/wiki/Extension:InputBox |
||
== syntaxhighlight == |
== syntaxhighlight == |
||
用于高亮展示代码。 |
|||
示例语法: |
|||
<nowiki> |
|||
<syntaxhighlight lang="bash"> |
|||
php -v |
|||
mysql --version |
|||
</syntaxhighlight> |
|||
</nowiki> |
|||
示例效果: |
|||
<syntaxhighlight lang="bash"> |
<syntaxhighlight lang="bash"> |
||
php -v |
php -v |
||
| 第97行: | 第114行: | ||
== mapframe == |
== mapframe == |
||
Kartographer 扩展提供交互地图。当前站点未接入 Kartotherian 兼容地图服务时,地图可能无法显示或仅显示占位。 |
|||
示例语法: |
|||
Kartographer 扩展根据 OpenStreetMap 提供交互地图,适合展示地理位置。 |
|||
<syntaxhighlight lang="wikitext"> |
|||
<mapframe latitude="39.9042" longitude="116.4074" zoom="12" width="600" height="400"> |
|||
</mapframe> |
|||
</syntaxhighlight> |
|||
示例效果(若地图未显示,请检查 Kartographer 地图服务配置): |
|||
=== 北京市地图 === |
|||
<mapframe latitude="39.9042" longitude="116.4074" zoom="12" width="600" height="400"> |
<mapframe latitude="39.9042" longitude="116.4074" zoom="12" width="600" height="400"> |
||
</mapframe> |
</mapframe> |
||
| 第108行: | 第129行: | ||
* https://www.mediawiki.org/wiki/Extension:Kartographer |
* https://www.mediawiki.org/wiki/Extension:Kartographer |
||
* https://www.openstreetmap.org/ |
* https://www.openstreetmap.org/ |
||
== math == |
== math == |
||
Math 扩展支持 LaTeX 与化学符号,适合数学与科学内容展示。 |
Math 扩展支持 LaTeX 与化学符号,适合数学与科学内容展示。 |
||
=== 示例(公式) === |
|||
=== 根的判别式(math) === |
|||
<math> |
<math> |
||
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} |
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} |
||
</math> |
</math> |
||
=== 化学式 |
=== 示例(化学式) === |
||
<chem>Hg^2+ ->[I-] HgI2 ->[I-] {[Hg^{II}I4]^2-}</chem> |
<chem>Hg^2+ ->[I-] HgI2 ->[I-] {[Hg^{II}I4]^2-}</chem> |
||
=== 参见 === |
=== 参见 === |
||
* https://www.mediawiki.org/wiki/Extension:Math |
* https://www.mediawiki.org/wiki/Extension:Math |
||
== score == |
== score == |
||
| ⚫ | |||
=== 示例 === |
|||
| ⚫ | |||
=== 义勇军进行曲 === |
|||
<score vorbis="1"> |
<score vorbis="1"> |
||
| 第174行: | 第189行: | ||
=== 参见 === |
=== 参见 === |
||
* |
* https://www.mediawiki.org/wiki/Extension:Score |
||
* |
* https://lilypond.org/doc/v2.24/Documentation/web/manuals |
||
* [https://zh.wikipedia.org/wiki/义勇军进行曲 义勇军进行曲 - 维基百科,自由的百科全书] |
|||
== hiero == |
== hiero == |
||
WikiHiero 支持古埃及象形文字排版。 |
WikiHiero 支持古埃及象形文字排版。 |
||
示例语法: |
|||
<syntaxhighlight lang="wikitext"> |
|||
<hiero>A1</hiero> |
|||
</syntaxhighlight> |
|||
示例效果: |
|||
<hiero>A1</hiero> |
<hiero>A1</hiero> |
||
=== 参见 === |
|||
* https://www.mediawiki.org/wiki/Extension:WikiHiero |
* https://www.mediawiki.org/wiki/Extension:WikiHiero |
||
== PdfHandler == |
== PdfHandler == |
||
PdfHandler 扩展提供 PDF 预览与嵌入,适合文档展示。 |
PdfHandler 扩展提供 PDF 预览与嵌入,适合文档展示。 |
||
示例语法: |
|||
<syntaxhighlight lang="wikitext"> |
|||
[[File:EXCEL 2016 QUICK START GUIDE.PDF|thumb|500px|EXCEL 2016 QUICK START GUIDE.PDF]] |
|||
</syntaxhighlight> |
|||
示例效果: |
|||
[[File:EXCEL 2016 QUICK START GUIDE.PDF|thumb|500px|EXCEL 2016 QUICK START GUIDE.PDF]] |
[[File:EXCEL 2016 QUICK START GUIDE.PDF|thumb|500px|EXCEL 2016 QUICK START GUIDE.PDF]] |
||
=== 参见 === |
|||
* https://www.mediawiki.org/wiki/Extension:PdfHandler |
* https://www.mediawiki.org/wiki/Extension:PdfHandler |
||
== TimedMediaHandler == |
== TimedMediaHandler == |
||
TimedMediaHandler 和相关工具链支持音视频上传与预览。 |
TimedMediaHandler 和相关工具链支持音视频上传与预览。 |
||
以下示例使用维基共享资源(Commons)中的公共文件,理论上可直接显示: |
|||
示例语法: |
|||
| ⚫ | |||
<syntaxhighlight lang="wikitext"> |
|||
[[File:example.ogg|thumb|...]] |
|||
[[File: |
[[File:Example.ogg|thumb|音频示例(Commons)]] |
||
[[File: |
[[File:Example.ogg|30px]] |
||
| ⚫ | |||
</syntaxhighlight> |
|||
示例效果: |
|||
| ⚫ | |||
[[File:Example.ogg|thumb|音频示例(Commons)]] |
|||
[[File:Big Buck Bunny - closing credits.webm|300px|thumb|视频示例(Commons)]] |
|||
{{Template:站点帮助文档}} |
|||
=== 参见 === |
|||
| ⚫ | |||