沙盒:修订间差异

来自尘月维基
跳转到导航 跳转到搜索
Admin​(留言 | 贡献)
恢复:撤销误清空(脚本管道错误)
Admin​(留言 | 贡献)
颜色/字号改为 span 内联样式:可视化编辑器里可继续编辑、可加链接
 
(未显示同一用户的1个中间版本)
第1行: 第1行:
<!DOCTYPE html>
'''这一页专门用来试「排版编辑」工具,随便改。'''
<html class="client-nojs skin-theme-clientpref-thumb-standard" lang="zh" dir="ltr">
 
<head>
== 颜色 ==
<meta charset="UTF-8">
<span style="color:#d32f2f">红色文字</span> <span style="color:#ef6c00">橙色文字</span> <span style="color:#f9a825">黄色文字</span> <span style="color:#2e7d32">绿色文字</span> <span style="color:#1565c0">蓝色文字</span> <span style="color:#6b3fa0">紫色文字</span>
<title>MediaWiki API 结果 - 尘月维基</title>
 
<script>document.documentElement.className="client-js skin-theme-clientpref-thumb-standard";RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"zh","wgMonthNames":["","1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"wgRequestId":"d0d39641dd89a369750989a1","wgCanonicalNamespace":"Special","wgCanonicalSpecialPageName":"ApiHelp","wgNamespaceNumber":-1,"wgPageName":"Special:ApiHelp","wgTitle":"ApiHelp","wgCurRevisionId":0,"wgRevisionId":0,"wgArticleId":0,"wgIsArticle":false,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgPageViewLanguage":"zh","wgPageContentLanguage":"zh","wgPageContentModel":"wikitext","wgRelevantPageName":"Special:ApiHelp","wgRelevantArticleId":0,"wgUserVariant":"zh","wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgVisualEditor":{"pageLanguageCode":"zh","pageLanguageDir":"ltr","pageVariantFallbacks":["zh-hans","zh-hant","zh-cn","zh-tw","zh-hk","zh-sg","zh-mo","zh-my"]},"wgEditSubmitButtonLabelPublish":false,"wgVisualEditorPageIsDisambiguation":false};
== 字号 ==
RLSTATE={"mediawiki.apipretty":"ready","mediawiki.skinning.interface":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready"};</script>
<span style="font-size:80%">80% 的字</span> <span style="font-size:120%">120% 的字</span> <span style="font-size:150%">150% 的字</span> <span style="font-size:200%">200% 的字</span>
<link rel="stylesheet" href="/load.php?lang=zh&amp;modules=ext.visualEditor.desktopArticleTarget.noscript%7Cmediawiki.apipretty%7Cmediawiki.skinning.interface&amp;only=styles&amp;skin=apioutput">
 
<script async="" src="/load.php?lang=zh&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;safemode=1&amp;skin=apioutput"></script>
== 对齐 ==
<meta name="generator" content="MediaWiki 1.46.2">
{{对齐|1=center|2=这一段是居中的}}
<meta name="robots" content="noindex,nofollow,max-image-preview:standard">
{{对齐|1=right|2=这一段是靠右的}}
<meta name="format-detection" content="telephone=no">
 
<meta name="viewport" content="width=1120">
== 图片 ==
<link rel="search" type="application/opensearchdescription+xml" href="/rest.php/v1/search" title="尘月维基 (zh)">
[[File:神人四人组.png|300px|center]]
<link rel="EditURI" type="application/rsd+xml" href="https://chenyue.wiki/api.php?action=rsd">
<link rel="alternate" hreflang="zh" href="https://chenyue.wiki/Special:ApiHelp">
<link rel="alternate" hreflang="zh-Hans" href="https://chenyue.wiki/index.php?title=Special:ApiHelp&amp;variant=zh-hans">
<link rel="alternate" hreflang="zh-Hans-CN" href="https://chenyue.wiki/index.php?title=Special:ApiHelp&amp;variant=zh-cn">
<link rel="alternate" hreflang="zh-Hans-MY" href="https://chenyue.wiki/index.php?title=Special:ApiHelp&amp;variant=zh-my">
<link rel="alternate" hreflang="zh-Hans-SG" href="https://chenyue.wiki/index.php?title=Special:ApiHelp&amp;variant=zh-sg">
<link rel="alternate" hreflang="zh-Hant" href="https://chenyue.wiki/index.php?title=Special:ApiHelp&amp;variant=zh-hant">
<link rel="alternate" hreflang="zh-Hant-HK" href="https://chenyue.wiki/index.php?title=Special:ApiHelp&amp;variant=zh-hk">
<link rel="alternate" hreflang="zh-Hant-MO" href="https://chenyue.wiki/index.php?title=Special:ApiHelp&amp;variant=zh-mo">
<link rel="alternate" hreflang="zh-Hant-TW" href="https://chenyue.wiki/index.php?title=Special:ApiHelp&amp;variant=zh-tw">
<link rel="alternate" hreflang="x-default" href="https://chenyue.wiki/Special:ApiHelp">
<link rel="alternate" type="application/atom+xml" title="尘月维基的Atom订阅" href="/index.php?title=Special:RecentChanges&amp;feed=atom">
</head>
<body class="mediawiki ltr sitedir-ltr mw-hide-empty-elt ns--1 ns-special mw-special-ApiHelp page-Special_ApiHelp rootpage-Special_ApiHelp skin-apioutput action-view">
<div id="mw-aria-live-region" class="mw-aria-live-region" aria-live="polite"></div><div class="mw-body" role="main">
<h1 id="firstHeading">MediaWiki API 结果</h1>
<div class="mw-body-content">
<div id="mw-content-text" class="mw-body-content"><div class="api-pretty-header"><p>这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
</p><p>指定<var>format</var>参数以更改输出格式。要查看JSON格式的非HTML实现,设置<a rel="nofollow" class="external text" href="https://chenyue.wiki/api.php?action=raw&amp;oldid=123&amp;format=json"><kbd>format=json</kbd></a>。
</p><p>参见<a href="https://www.mediawiki.org/wiki/API" class="extiw" title="mw:API">完整文档</a>,或<a href="/api.php?action=help&amp;modules=main">API帮助</a>以获取更多信息。
</p></div><pre class="api-pretty-content">{
    "error": {
        "code": "badvalue",
        "info": "Unrecognized value for parameter \"action\": raw.",
        "*": "See https://chenyue.wiki/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at &amp;lt;https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/&amp;gt; for notice of API deprecations and breaking changes."
    }
}</pre>
<div class="printfooter" data-nosnippet="">取自“<a dir="ltr" href="https://chenyue.wiki/Special:ApiHelp">https://chenyue.wiki/Special:ApiHelp</a>”</div></div>
</div>
</div>
<script>(RLQ=window.RLQ||[]).push(function(){mw.log.warn("This page is using the deprecated ResourceLoader module \"mediawiki.skinning.interface\".\n[1.43] The use of the `interface-message-box` feature with SkinModule is deprecated in favor of CodexModule. Please remove this feature.More information can be found at [[mw:Manual:ResourceLoaderSkinModule]]. ");mw.config.set({"wgBackendResponseTime":442});});</script>
</body>
</html>

2026年10月31日 (六) 18:41的最新版本

这一页专门用来试「排版编辑」工具,随便改。

颜色

红色文字 橙色文字 黄色文字 绿色文字 蓝色文字 紫色文字

字号

80% 的字 120% 的字 150% 的字 200% 的字

对齐

这一段是居中的
这一段是靠右的

图片