CINXE.COM
Help:魔术字 - 维基百科,自由的百科全书
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="zh" dir="ltr"> <head> <meta charset="UTF-8"> <title>Help:魔术字 - 维基百科,自由的百科全书</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )zhwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"zh", "wgMonthNames":["","1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"wgRequestId":"fcfad32b-99eb-425d-9418-a7b64a7da947","wgCanonicalNamespace":"Help","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":12,"wgPageName":"Help:魔术字","wgTitle":"魔术字","wgCurRevisionId":84168181,"wgRevisionId":84168181,"wgArticleId":1048886,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["使用ISBN魔术链接的页面","帮助文档"],"wgPageViewLanguage":"zh","wgPageContentLanguage":"zh","wgPageContentModel":"wikitext","wgRelevantPageName":"Help:魔术字","wgRelevantArticleId":1048886,"wgUserVariant":"zh","wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgRedirectedFrom":"Help:魔術字","wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true, "wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"zh","pageLanguageDir":"ltr","pageVariantFallbacks":["zh-hans","zh-hant","zh-cn","zh-tw","zh-hk","zh-sg","zh-mo","zh-my"]},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":40000,"wgInternalRedirectTargetUrl":"/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97","wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgDiscussionToolsFeaturesEnabled":{"replytool":true,"newtopictool":true,"sourcemodetoolbar":true,"topicsubscription":false,"autotopicsub":false,"visualenhancements":false,"visualenhancements_reply":false,"visualenhancements_pageframe":false},"wgDiscussionToolsFallbackEditMode":"source","wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q4483522", "wgCheckUserClientHintsHeadersJsApi":["architecture","bitness","brands","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.gadget.large-font":"ready","ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.cite.styles":"ready","ext.discussionTools.init.styles":"ready","oojs-ui-core.styles":"ready","oojs-ui.styles.indicators":"ready","mediawiki.widgets.styles":"ready","oojs-ui-core.icons":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","jquery.makeCollapsible.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init": "ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["mediawiki.action.view.redirect","ext.cite.ux-enhancements","site","mediawiki.page.ready","jquery.makeCollapsible","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.edit0","ext.gadget.WikiMiniAtlas","ext.gadget.UnihanTooltips","ext.gadget.Difflink","ext.gadget.pseudonamespace-UI","ext.gadget.SpecialWikitext","ext.gadget.switcher","ext.gadget.VariantAlly","ext.gadget.AdvancedSiteNotices","ext.gadget.hideConversionTab","ext.gadget.internalLinkHelper-altcolor","ext.gadget.noteTA","ext.gadget.NavFrame","ext.gadget.collapsibleTables","ext.gadget.scrollUpButton","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.discussionTools.init","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns" ,"wikibase.client.vector-2022","ext.checkUser.clientHints","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=zh&modules=ext.cite.styles%7Cext.discussionTools.init.styles%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cjquery.makeCollapsible.styles%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=zh&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=zh&modules=ext.gadget.large-font&only=styles&skin=vector-2022"> <link rel="stylesheet" href="/w/load.php?lang=zh&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.3"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Help:魔术字 - 维基百科,自由的百科全书"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//zh.m.wikipedia.org/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97"> <link rel="alternate" type="application/x-wiki" title="编辑本页" href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (zh)"> <link rel="EditURI" type="application/rsd+xml" href="//zh.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://zh.wikipedia.org/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97"> <link rel="alternate" hreflang="zh" href="https://zh.wikipedia.org/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97"> <link rel="alternate" hreflang="zh-Hans" href="https://zh.wikipedia.org/zh-hans/Help:%E9%AD%94%E6%9C%AF%E5%AD%97"> <link rel="alternate" hreflang="zh-Hans-CN" href="https://zh.wikipedia.org/zh-cn/Help:%E9%AD%94%E6%9C%AF%E5%AD%97"> <link rel="alternate" hreflang="zh-Hans-MY" href="https://zh.wikipedia.org/zh-my/Help:%E9%AD%94%E6%9C%AF%E5%AD%97"> <link rel="alternate" hreflang="zh-Hans-SG" href="https://zh.wikipedia.org/zh-sg/Help:%E9%AD%94%E6%9C%AF%E5%AD%97"> <link rel="alternate" hreflang="zh-Hant" href="https://zh.wikipedia.org/zh-hant/Help:%E9%AD%94%E6%9C%AF%E5%AD%97"> <link rel="alternate" hreflang="zh-Hant-HK" href="https://zh.wikipedia.org/zh-hk/Help:%E9%AD%94%E6%9C%AF%E5%AD%97"> <link rel="alternate" hreflang="zh-Hant-MO" href="https://zh.wikipedia.org/zh-mo/Help:%E9%AD%94%E6%9C%AF%E5%AD%97"> <link rel="alternate" hreflang="zh-Hant-TW" href="https://zh.wikipedia.org/zh-tw/Help:%E9%AD%94%E6%9C%AF%E5%AD%97"> <link rel="alternate" hreflang="x-default" href="https://zh.wikipedia.org/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.zh"> <link rel="alternate" type="application/atom+xml" title="Wikipedia的Atom feed" href="/w/index.php?title=Special:%E6%9C%80%E8%BF%91%E6%9B%B4%E6%94%B9&feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="ext-discussiontools-replytool-enabled ext-discussiontools-newtopictool-enabled ext-discussiontools-sourcemodetoolbar-enabled skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-12 ns-subject mw-editable page-Help_魔术字 rootpage-Help_魔术字 skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">跳转到内容</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="站点"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="主菜单" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">主菜单</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">主菜单</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">移至侧栏</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">隐藏</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> 导航 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Wikipedia:%E9%A6%96%E9%A1%B5" title="访问首页[z]" accesskey="z"><span>首页</span></a></li><li id="n-indexpage" class="mw-list-item"><a href="/wiki/Wikipedia:%E5%88%86%E7%B1%BB%E7%B4%A2%E5%BC%95" title="以分类索引搜寻中文维基百科"><span>分类索引</span></a></li><li id="n-Featured_content" class="mw-list-item"><a href="/wiki/Portal:%E7%89%B9%E8%89%B2%E5%85%A7%E5%AE%B9" title="查看中文维基百科的特色内容"><span>特色内容</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:%E6%96%B0%E8%81%9E%E5%8B%95%E6%85%8B" title="提供当前新闻事件的背景资料"><span>新闻动态</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:%E6%9C%80%E8%BF%91%E6%9B%B4%E6%94%B9" title="列出维基百科中的最近修改[r]" accesskey="r"><span>最近更改</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:%E9%9A%8F%E6%9C%BA%E9%A1%B5%E9%9D%A2" title="随机载入一个页面[x]" accesskey="x"><span>随机条目</span></a></li> </ul> </div> </div> <div id="p-help" class="vector-menu mw-portlet mw-portlet-help" > <div class="vector-menu-heading"> 帮助 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Help:%E7%9B%AE%E5%BD%95" title="寻求帮助"><span>帮助</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:%E7%A4%BE%E7%BE%A4%E9%A6%96%E9%A1%B5" title="关于本计划、你可以做什么、应该如何做"><span>维基社群</span></a></li><li id="n-policy" class="mw-list-item"><a href="/wiki/Wikipedia:%E6%96%B9%E9%87%9D%E8%88%87%E6%8C%87%E5%BC%95" title="查看维基百科的方针和指引"><span>方针与指引</span></a></li><li id="n-villagepump" class="mw-list-item"><a href="/wiki/Wikipedia:%E4%BA%92%E5%8A%A9%E5%AE%A2%E6%A0%88" title="参与维基百科社群的讨论"><span>互助客栈</span></a></li><li id="n-Information_desk" class="mw-list-item"><a href="/wiki/Wikipedia:%E7%9F%A5%E8%AF%86%E9%97%AE%E7%AD%94" title="解答任何与维基百科无关的问题的地方"><span>知识问答</span></a></li><li id="n-conversion" class="mw-list-item"><a href="/wiki/Wikipedia:%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2" title="提出字词转换请求"><span>字词转换</span></a></li><li id="n-IRC" class="mw-list-item"><a href="/wiki/Wikipedia:IRC%E8%81%8A%E5%A4%A9%E9%A2%91%E9%81%93"><span>IRC即时聊天</span></a></li><li id="n-contact" class="mw-list-item"><a href="/wiki/Wikipedia:%E8%81%94%E7%BB%9C%E6%88%91%E4%BB%AC" title="如何联络维基百科"><span>联络我们</span></a></li><li id="n-about" class="mw-list-item"><a href="/wiki/Wikipedia:%E5%85%B3%E4%BA%8E" title="查看维基百科的简介"><span>关于维基百科</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Wikipedia:%E9%A6%96%E9%A1%B5" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="维基百科" src="/static/images/mobile/copyright/wikipedia-wordmark-zh.svg" style="width: 6.5625em; height: 1.375em;"> <img class="mw-logo-tagline" alt="自由的百科全书" src="/static/images/mobile/copyright/wikipedia-tagline-zh.svg" width="103" height="14" style="width: 6.4375em; height: 0.875em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:%E6%90%9C%E7%B4%A2" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="搜索维基百科[f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>搜索</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="搜索维基百科" aria-label="搜索维基百科" autocapitalize="sentences" title="搜索维基百科[f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:搜索"> </div> <button class="cdx-button cdx-search-input__end-button">搜索</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="个人工具"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="外观"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="更改页面字体大小、宽度和颜色的外观" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="外观" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">外观</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/?utm_source=donate&utm_medium=sidebar&utm_campaign=spontaneous&uselang=zh-hans" class=""><span>资助维基百科</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:%E5%88%9B%E5%BB%BA%E8%B4%A6%E6%88%B7&returnto=Help%3A%E9%AD%94%E6%9C%AF%E5%AD%97" title="我们推荐您创建账号并登录,但这不是强制性的" class=""><span>创建账号</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:%E7%94%A8%E6%88%B7%E7%99%BB%E5%BD%95&returnto=Help%3A%E9%AD%94%E6%9C%AF%E5%AD%97" title="建议你登录,尽管并非必须。[o]" accesskey="o" class=""><span>登录</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="更多选项" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="个人工具" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">个人工具</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="用户菜单" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/?utm_source=donate&utm_medium=sidebar&utm_campaign=spontaneous&uselang=zh-hans"><span>资助维基百科</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:%E5%88%9B%E5%BB%BA%E8%B4%A6%E6%88%B7&returnto=Help%3A%E9%AD%94%E6%9C%AF%E5%AD%97" title="我们推荐您创建账号并登录,但这不是强制性的"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>创建账号</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:%E7%94%A8%E6%88%B7%E7%99%BB%E5%BD%95&returnto=Help%3A%E9%AD%94%E6%9C%AF%E5%AD%97" title="建议你登录,尽管并非必须。[o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>登录</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> 未登录编辑者的页面 <a href="/wiki/Help:%E6%96%B0%E6%89%8B%E5%85%A5%E9%97%A8" aria-label="了解有关编辑的更多信息"><span>了解详情</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:%E6%88%91%E7%9A%84%E8%B4%A1%E7%8C%AE" title="来自此IP地址的编辑列表[y]" accesskey="y"><span>贡献</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:%E6%88%91%E7%9A%84%E8%AE%A8%E8%AE%BA%E9%A1%B5" title="对于来自此IP地址编辑的讨论[n]" accesskey="n"><span>讨论</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="站点"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="目录" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">目录</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">移至侧栏</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">隐藏</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">序言</div> </a> </li> <li id="toc-大致資訊" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#大致資訊"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>大致資訊</span> </div> </a> <ul id="toc-大致資訊-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-状态开关" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#状态开关"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>状态开关</span> </div> </a> <ul id="toc-状态开关-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-变量" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#变量"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>变量</span> </div> </a> <button aria-controls="toc-变量-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>开关变量子章节</span> </button> <ul id="toc-变量-sublist" class="vector-toc-list"> <li id="toc-日期与时间" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#日期与时间"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.1</span> <span>日期与时间</span> </div> </a> <ul id="toc-日期与时间-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-技术元数据" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#技术元数据"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.2</span> <span>技术元数据</span> </div> </a> <ul id="toc-技术元数据-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-统计" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#统计"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.3</span> <span>统计</span> </div> </a> <ul id="toc-统计-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-页面标题" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#页面标题"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.4</span> <span>页面标题</span> </div> </a> <ul id="toc-页面标题-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-命名空间" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#命名空间"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.5</span> <span>命名空间</span> </div> </a> <ul id="toc-命名空间-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-其他特殊符號" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#其他特殊符號"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>其他特殊符號</span> </div> </a> <button aria-controls="toc-其他特殊符號-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>开关其他特殊符號子章节</span> </button> <ul id="toc-其他特殊符號-sublist" class="vector-toc-list"> <li id="toc-自動替換引-{}-用的符號" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#自動替換引-{}-用的符號"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.1</span> <span>自動替換引用的符號</span> </div> </a> <ul id="toc-自動替換引-{}-用的符號-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-解析器函数" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#解析器函数"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>解析器函数</span> </div> </a> <button aria-controls="toc-解析器函数-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>开关解析器函数子章节</span> </button> <ul id="toc-解析器函数-sublist" class="vector-toc-list"> <li id="toc-URL数据" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#URL数据"> <div class="vector-toc-text"> <span class="vector-toc-numb">5.1</span> <span>URL数据</span> </div> </a> <ul id="toc-URL数据-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-命名空间_2" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#命名空间_2"> <div class="vector-toc-text"> <span class="vector-toc-numb">5.2</span> <span>命名空间</span> </div> </a> <ul id="toc-命名空间_2-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-格式" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#格式"> <div class="vector-toc-text"> <span class="vector-toc-numb">5.3</span> <span>格式</span> </div> </a> <ul id="toc-格式-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-杂项" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#杂项"> <div class="vector-toc-text"> <span class="vector-toc-numb">5.4</span> <span>杂项</span> </div> </a> <ul id="toc-杂项-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-借助魔术字呼叫解析器函數" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#借助魔术字呼叫解析器函數"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>借助魔术字呼叫解析器函數</span> </div> </a> <ul id="toc-借助魔术字呼叫解析器函數-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-嵌入包含修飾詞" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#嵌入包含修飾詞"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>嵌入包含修飾詞</span> </div> </a> <button aria-controls="toc-嵌入包含修飾詞-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>开关嵌入包含修飾詞子章节</span> </button> <ul id="toc-嵌入包含修飾詞-sublist" class="vector-toc-list"> <li id="toc-特殊的嵌入包含方式" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#特殊的嵌入包含方式"> <div class="vector-toc-text"> <span class="vector-toc-numb">7.1</span> <span>特殊的嵌入包含方式</span> </div> </a> <ul id="toc-特殊的嵌入包含方式-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-参见" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#参见"> <div class="vector-toc-text"> <span class="vector-toc-numb">8</span> <span>参见</span> </div> </a> <ul id="toc-参见-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-註釋" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#註釋"> <div class="vector-toc-text"> <span class="vector-toc-numb">9</span> <span>註釋</span> </div> </a> <ul id="toc-註釋-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-外部链接" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#外部链接"> <div class="vector-toc-text"> <span class="vector-toc-numb">10</span> <span>外部链接</span> </div> </a> <ul id="toc-外部链接-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="目录" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="开关目录" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">开关目录</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-namespace">Help</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">魔术字</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="前往另一种语言写成的文章。49种语言可用" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-49" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">49种语言</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-als mw-list-item"><a href="https://als.wikipedia.org/wiki/Hilfe:Variable" title="Hilfe:Variable – 瑞士德语" lang="gsw" hreflang="gsw" data-title="Hilfe:Variable" data-language-autonym="Alemannisch" data-language-local-name="瑞士德语" class="interlanguage-link-target"><span>Alemannisch</span></a></li><li class="interlanguage-link interwiki-ar mw-list-item"><a href="https://ar.wikipedia.org/wiki/%D9%85%D8%B3%D8%A7%D8%B9%D8%AF%D8%A9:%D9%83%D9%84%D9%85%D8%A7%D8%AA_%D8%B3%D8%AD%D8%B1%D9%8A%D8%A9" title="مساعدة:كلمات سحرية – 阿拉伯语" lang="ar" hreflang="ar" data-title="مساعدة:كلمات سحرية" data-language-autonym="العربية" data-language-local-name="阿拉伯语" class="interlanguage-link-target"><span>العربية</span></a></li><li class="interlanguage-link interwiki-as mw-list-item"><a href="https://as.wikipedia.org/wiki/%E0%A6%B8%E0%A6%B9%E0%A6%BE%E0%A6%AF%E0%A6%BC:%E0%A6%AF%E0%A6%BE%E0%A6%A6%E0%A7%81%E0%A6%95%E0%A7%B0%E0%A7%80_%E0%A6%B6%E0%A6%AC%E0%A7%8D%E0%A6%A6%E0%A6%AC%E0%A7%8B%E0%A7%B0" title="সহায়:যাদুকৰী শব্দবোৰ – 阿萨姆语" lang="as" hreflang="as" data-title="সহায়:যাদুকৰী শব্দবোৰ" data-language-autonym="অসমীয়া" data-language-local-name="阿萨姆语" class="interlanguage-link-target"><span>অসমীয়া</span></a></li><li class="interlanguage-link interwiki-bg mw-list-item"><a href="https://bg.wikipedia.org/wiki/%D0%A3%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%8F:%D0%92%D1%8A%D0%BB%D1%88%D0%B5%D0%B1%D0%BD%D0%B8_%D0%B4%D1%83%D0%BC%D0%B8%D1%87%D0%BA%D0%B8" title="Уикипедия:Вълшебни думички – 保加利亚语" lang="bg" hreflang="bg" data-title="Уикипедия:Вълшебни думички" data-language-autonym="Български" data-language-local-name="保加利亚语" class="interlanguage-link-target"><span>Български</span></a></li><li class="interlanguage-link interwiki-bn mw-list-item"><a href="https://bn.wikipedia.org/wiki/%E0%A6%B8%E0%A6%BE%E0%A6%B9%E0%A6%BE%E0%A6%AF%E0%A7%8D%E0%A6%AF:%E0%A6%9C%E0%A6%BE%E0%A6%A6%E0%A7%81_%E0%A6%B6%E0%A6%AC%E0%A7%8D%E0%A6%A6" title="সাহায্য:জাদু শব্দ – 孟加拉语" lang="bn" hreflang="bn" data-title="সাহায্য:জাদু শব্দ" data-language-autonym="বাংলা" data-language-local-name="孟加拉语" class="interlanguage-link-target"><span>বাংলা</span></a></li><li class="interlanguage-link interwiki-ca mw-list-item"><a href="https://ca.wikipedia.org/wiki/Ajuda:Paraules_m%C3%A0giques" title="Ajuda:Paraules màgiques – 加泰罗尼亚语" lang="ca" hreflang="ca" data-title="Ajuda:Paraules màgiques" data-language-autonym="Català" data-language-local-name="加泰罗尼亚语" class="interlanguage-link-target"><span>Català</span></a></li><li class="interlanguage-link interwiki-cs mw-list-item"><a href="https://cs.wikipedia.org/wiki/N%C3%A1pov%C4%9Bda:Kouzeln%C3%A1_sl%C5%AFvka" title="Nápověda:Kouzelná slůvka – 捷克语" lang="cs" hreflang="cs" data-title="Nápověda:Kouzelná slůvka" data-language-autonym="Čeština" data-language-local-name="捷克语" class="interlanguage-link-target"><span>Čeština</span></a></li><li class="interlanguage-link interwiki-cy mw-list-item"><a href="https://cy.wikipedia.org/wiki/Wicipedia:Geiriau_hud" title="Wicipedia:Geiriau hud – 威尔士语" lang="cy" hreflang="cy" data-title="Wicipedia:Geiriau hud" data-language-autonym="Cymraeg" data-language-local-name="威尔士语" class="interlanguage-link-target"><span>Cymraeg</span></a></li><li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/Hilfe:Magische_W%C3%B6rter" title="Hilfe:Magische Wörter – 德语" lang="de" hreflang="de" data-title="Hilfe:Magische Wörter" data-language-autonym="Deutsch" data-language-local-name="德语" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-en mw-list-item"><a href="https://en.wikipedia.org/wiki/Help:Magic_words" title="Help:Magic words – 英语" lang="en" hreflang="en" data-title="Help:Magic words" data-language-autonym="English" data-language-local-name="英语" class="interlanguage-link-target"><span>English</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/Ayuda:Palabras_m%C3%A1gicas" title="Ayuda:Palabras mágicas – 西班牙语" lang="es" hreflang="es" data-title="Ayuda:Palabras mágicas" data-language-autonym="Español" data-language-local-name="西班牙语" class="interlanguage-link-target"><span>Español</span></a></li><li class="interlanguage-link interwiki-eu mw-list-item"><a href="https://eu.wikipedia.org/wiki/Laguntza:Hitz_magikoak" title="Laguntza:Hitz magikoak – 巴斯克语" lang="eu" hreflang="eu" data-title="Laguntza:Hitz magikoak" data-language-autonym="Euskara" data-language-local-name="巴斯克语" class="interlanguage-link-target"><span>Euskara</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%D8%B1%D8%A7%D9%87%D9%86%D9%85%D8%A7:%D9%88%D8%A7%DA%98%D9%87%E2%80%8C%D9%87%D8%A7%DB%8C_%D8%AC%D8%A7%D8%AF%D9%88%DB%8C%DB%8C" title="راهنما:واژههای جادویی – 波斯语" lang="fa" hreflang="fa" data-title="راهنما:واژههای جادویی" data-language-autonym="فارسی" data-language-local-name="波斯语" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Aide:Mot_magique" title="Aide:Mot magique – 法语" lang="fr" hreflang="fr" data-title="Aide:Mot magique" data-language-autonym="Français" data-language-local-name="法语" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-gl mw-list-item"><a href="https://gl.wikipedia.org/wiki/Axuda:Palabras_m%C3%A1xicas" title="Axuda:Palabras máxicas – 加利西亚语" lang="gl" hreflang="gl" data-title="Axuda:Palabras máxicas" data-language-autonym="Galego" data-language-local-name="加利西亚语" class="interlanguage-link-target"><span>Galego</span></a></li><li class="interlanguage-link interwiki-gu mw-list-item"><a href="https://gu.wikipedia.org/wiki/%E0%AA%AE%E0%AA%A6%E0%AA%A6:Magic_words" title="મદદ:Magic words – 古吉拉特语" lang="gu" hreflang="gu" data-title="મદદ:Magic words" data-language-autonym="ગુજરાતી" data-language-local-name="古吉拉特语" class="interlanguage-link-target"><span>ગુજરાતી</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/%D7%A2%D7%96%D7%A8%D7%94:%D7%9E%D7%99%D7%9C%D7%95%D7%AA_%D7%9E%D7%A4%D7%AA%D7%97" title="עזרה:מילות מפתח – 希伯来语" lang="he" hreflang="he" data-title="עזרה:מילות מפתח" data-language-autonym="עברית" data-language-local-name="希伯来语" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-hi mw-list-item"><a href="https://hi.wikipedia.org/wiki/%E0%A4%B8%E0%A4%B9%E0%A4%BE%E0%A4%AF%E0%A4%A4%E0%A4%BE:%E0%A4%9C%E0%A4%BE%E0%A4%A6%E0%A5%82%E0%A4%88_%E0%A4%B6%E0%A4%AC%E0%A5%8D%E0%A4%A6" title="सहायता:जादूई शब्द – 印地语" lang="hi" hreflang="hi" data-title="सहायता:जादूई शब्द" data-language-autonym="हिन्दी" data-language-local-name="印地语" class="interlanguage-link-target"><span>हिन्दी</span></a></li><li class="interlanguage-link interwiki-hr mw-list-item"><a href="https://hr.wikipedia.org/wiki/Pomo%C4%87:Magi%C4%8Dne_rije%C4%8Di" title="Pomoć:Magične riječi – 克罗地亚语" lang="hr" hreflang="hr" data-title="Pomoć:Magične riječi" data-language-autonym="Hrvatski" data-language-local-name="克罗地亚语" class="interlanguage-link-target"><span>Hrvatski</span></a></li><li class="interlanguage-link interwiki-hu mw-list-item"><a href="https://hu.wikipedia.org/wiki/Wikip%C3%A9dia:Var%C3%A1zsszavak" title="Wikipédia:Varázsszavak – 匈牙利语" lang="hu" hreflang="hu" data-title="Wikipédia:Varázsszavak" data-language-autonym="Magyar" data-language-local-name="匈牙利语" class="interlanguage-link-target"><span>Magyar</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/Bantuan:Kata_ajaib" title="Bantuan:Kata ajaib – 印度尼西亚语" lang="id" hreflang="id" data-title="Bantuan:Kata ajaib" data-language-autonym="Bahasa Indonesia" data-language-local-name="印度尼西亚语" class="interlanguage-link-target"><span>Bahasa Indonesia</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/Aiuto:Parole_magiche" title="Aiuto:Parole magiche – 意大利语" lang="it" hreflang="it" data-title="Aiuto:Parole magiche" data-language-autonym="Italiano" data-language-local-name="意大利语" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/Help:%E3%83%9E%E3%82%B8%E3%83%83%E3%82%AF%E3%83%AF%E3%83%BC%E3%83%89" title="Help:マジックワード – 日语" lang="ja" hreflang="ja" data-title="Help:マジックワード" data-language-autonym="日本語" data-language-local-name="日语" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-ka mw-list-item"><a href="https://ka.wikipedia.org/wiki/%E1%83%93%E1%83%90%E1%83%AE%E1%83%9B%E1%83%90%E1%83%A0%E1%83%94%E1%83%91%E1%83%90:%E1%83%AF%E1%83%90%E1%83%93%E1%83%9D%E1%83%A1%E1%83%9C%E1%83%A3%E1%83%A0%E1%83%98_%E1%83%A1%E1%83%98%E1%83%A2%E1%83%A7%E1%83%95%E1%83%94%E1%83%91%E1%83%98" title="დახმარება:ჯადოსნური სიტყვები – 格鲁吉亚语" lang="ka" hreflang="ka" data-title="დახმარება:ჯადოსნური სიტყვები" data-language-autonym="ქართული" data-language-local-name="格鲁吉亚语" class="interlanguage-link-target"><span>ქართული</span></a></li><li class="interlanguage-link interwiki-km mw-list-item"><a href="https://km.wikipedia.org/wiki/%E1%9E%87%E1%9F%86%E1%9E%93%E1%9E%BD%E1%9E%99:%E1%9E%96%E1%9E%B6%E1%9E%80%E1%9F%92%E1%9E%99%E1%9E%91%E1%9E%B7%E1%9E%96%E1%9F%92%E1%9E%9C" title="ជំនួយ:ពាក្យទិព្វ – 高棉语" lang="km" hreflang="km" data-title="ជំនួយ:ពាក្យទិព្វ" data-language-autonym="ភាសាខ្មែរ" data-language-local-name="高棉语" class="interlanguage-link-target"><span>ភាសាខ្មែរ</span></a></li><li class="interlanguage-link interwiki-kn mw-list-item"><a href="https://kn.wikipedia.org/wiki/%E0%B2%B8%E0%B2%B9%E0%B2%BE%E0%B2%AF:Magic_words" title="ಸಹಾಯ:Magic words – 卡纳达语" lang="kn" hreflang="kn" data-title="ಸಹಾಯ:Magic words" data-language-autonym="ಕನ್ನಡ" data-language-local-name="卡纳达语" class="interlanguage-link-target"><span>ಕನ್ನಡ</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/%EB%8F%84%EC%9B%80%EB%A7%90:%ED%8A%B9%EC%88%98_%EB%AA%85%EB%A0%B9%EB%AC%B8" title="도움말:특수 명령문 – 韩语" lang="ko" hreflang="ko" data-title="도움말:특수 명령문" data-language-autonym="한국어" data-language-local-name="韩语" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-mk mw-list-item"><a href="https://mk.wikipedia.org/wiki/%D0%9F%D0%BE%D0%BC%D0%BE%D1%88:%D0%9F%D1%80%D0%BE%D0%BC%D0%B5%D0%BD%D0%BB%D0%B8%D0%B2%D0%B8" title="Помош:Променливи – 马其顿语" lang="mk" hreflang="mk" data-title="Помош:Променливи" data-language-autonym="Македонски" data-language-local-name="马其顿语" class="interlanguage-link-target"><span>Македонски</span></a></li><li class="interlanguage-link interwiki-mni mw-list-item"><a href="https://mni.wikipedia.org/wiki/%EA%AF%83%EA%AF%86%EA%AF%A5%EA%AF%88%EA%AF%A5%EA%AF%8F%EA%AF%95:Magic_word_templates" title="ꯃꯆꯥꯈꯥꯏꯕ:Magic word templates – 曼尼普尔语" lang="mni" hreflang="mni" data-title="ꯃꯆꯥꯈꯥꯏꯕ:Magic word templates" data-language-autonym="ꯃꯤꯇꯩ ꯂꯣꯟ" data-language-local-name="曼尼普尔语" class="interlanguage-link-target"><span>ꯃꯤꯇꯩ ꯂꯣꯟ</span></a></li><li class="interlanguage-link interwiki-mr mw-list-item"><a href="https://mr.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF%E0%A4%AA%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE:%E0%A4%9C%E0%A4%BE%E0%A4%A6%E0%A5%81%E0%A4%88_%E0%A4%B6%E0%A4%AC%E0%A5%8D%E0%A4%A6" title="विकिपीडिया:जादुई शब्द – 马拉地语" lang="mr" hreflang="mr" data-title="विकिपीडिया:जादुई शब्द" data-language-autonym="मराठी" data-language-local-name="马拉地语" class="interlanguage-link-target"><span>मराठी</span></a></li><li class="interlanguage-link interwiki-ms mw-list-item"><a href="https://ms.wikipedia.org/wiki/Bantuan:Kata_sakti" title="Bantuan:Kata sakti – 马来语" lang="ms" hreflang="ms" data-title="Bantuan:Kata sakti" data-language-autonym="Bahasa Melayu" data-language-local-name="马来语" class="interlanguage-link-target"><span>Bahasa Melayu</span></a></li><li class="interlanguage-link interwiki-nn mw-list-item"><a href="https://nn.wikipedia.org/wiki/Hjelp:Trylleord" title="Hjelp:Trylleord – 挪威尼诺斯克语" lang="nn" hreflang="nn" data-title="Hjelp:Trylleord" data-language-autonym="Norsk nynorsk" data-language-local-name="挪威尼诺斯克语" class="interlanguage-link-target"><span>Norsk nynorsk</span></a></li><li class="interlanguage-link interwiki-no mw-list-item"><a href="https://no.wikipedia.org/wiki/Hjelp:Magiske_ord" title="Hjelp:Magiske ord – 书面挪威语" lang="nb" hreflang="nb" data-title="Hjelp:Magiske ord" data-language-autonym="Norsk bokmål" data-language-local-name="书面挪威语" class="interlanguage-link-target"><span>Norsk bokmål</span></a></li><li class="interlanguage-link interwiki-or mw-list-item"><a href="https://or.wikipedia.org/wiki/%E0%AC%B8%E0%AC%B9%E0%AC%AF%E0%AD%8B%E0%AC%97:Magic_words" title="ସହଯୋଗ:Magic words – 奥里亚语" lang="or" hreflang="or" data-title="ସହଯୋଗ:Magic words" data-language-autonym="ଓଡ଼ିଆ" data-language-local-name="奥里亚语" class="interlanguage-link-target"><span>ଓଡ଼ିଆ</span></a></li><li class="interlanguage-link interwiki-pa mw-list-item"><a href="https://pa.wikipedia.org/wiki/%E0%A8%AE%E0%A8%A6%E0%A8%A6:Magic_words" title="ਮਦਦ:Magic words – 旁遮普语" lang="pa" hreflang="pa" data-title="ਮਦਦ:Magic words" data-language-autonym="ਪੰਜਾਬੀ" data-language-local-name="旁遮普语" class="interlanguage-link-target"><span>ਪੰਜਾਬੀ</span></a></li><li class="interlanguage-link interwiki-pl mw-list-item"><a href="https://pl.wikipedia.org/wiki/Pomoc:Magiczne_s%C5%82owa" title="Pomoc:Magiczne słowa – 波兰语" lang="pl" hreflang="pl" data-title="Pomoc:Magiczne słowa" data-language-autonym="Polski" data-language-local-name="波兰语" class="interlanguage-link-target"><span>Polski</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/Ajuda:Palavras_m%C3%A1gicas" title="Ajuda:Palavras mágicas – 葡萄牙语" lang="pt" hreflang="pt" data-title="Ajuda:Palavras mágicas" data-language-autonym="Português" data-language-local-name="葡萄牙语" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-ro mw-list-item"><a href="https://ro.wikipedia.org/wiki/Ajutor:Texte_speciale" title="Ajutor:Texte speciale – 罗马尼亚语" lang="ro" hreflang="ro" data-title="Ajutor:Texte speciale" data-language-autonym="Română" data-language-local-name="罗马尼亚语" class="interlanguage-link-target"><span>Română</span></a></li><li class="interlanguage-link interwiki-sd mw-list-item"><a href="https://sd.wikipedia.org/wiki/%D9%85%D8%AF%D8%AF:%D8%AC%D8%A7%D8%AF%D9%88%D8%A6%D9%8A_%D9%84%D9%81%D8%B8" title="مدد:جادوئي لفظ – 信德语" lang="sd" hreflang="sd" data-title="مدد:جادوئي لفظ" data-language-autonym="سنڌي" data-language-local-name="信德语" class="interlanguage-link-target"><span>سنڌي</span></a></li><li class="interlanguage-link interwiki-si mw-list-item"><a href="https://si.wikipedia.org/wiki/%E0%B6%8B%E0%B6%AF%E0%B7%80%E0%B7%94:Magic_words" title="උදවු:Magic words – 僧伽罗语" lang="si" hreflang="si" data-title="උදවු:Magic words" data-language-autonym="සිංහල" data-language-local-name="僧伽罗语" class="interlanguage-link-target"><span>සිංහල</span></a></li><li class="interlanguage-link interwiki-simple mw-list-item"><a href="https://simple.wikipedia.org/wiki/Help:Magic_words" title="Help:Magic words – Simple English" lang="en-simple" hreflang="en-simple" data-title="Help:Magic words" data-language-autonym="Simple English" data-language-local-name="Simple English" class="interlanguage-link-target"><span>Simple English</span></a></li><li class="interlanguage-link interwiki-sr mw-list-item"><a href="https://sr.wikipedia.org/wiki/%D0%9F%D0%BE%D0%BC%D0%BE%D1%9B:%D0%9F%D1%80%D0%BE%D0%BC%D0%B5%D0%BD%D1%99%D0%B8%D0%B2%D0%B5" title="Помоћ:Променљиве – 塞尔维亚语" lang="sr" hreflang="sr" data-title="Помоћ:Променљиве" data-language-autonym="Српски / srpski" data-language-local-name="塞尔维亚语" class="interlanguage-link-target"><span>Српски / srpski</span></a></li><li class="interlanguage-link interwiki-sv mw-list-item"><a href="https://sv.wikipedia.org/wiki/Wikipedia:Magiska_ord" title="Wikipedia:Magiska ord – 瑞典语" lang="sv" hreflang="sv" data-title="Wikipedia:Magiska ord" data-language-autonym="Svenska" data-language-local-name="瑞典语" class="interlanguage-link-target"><span>Svenska</span></a></li><li class="interlanguage-link interwiki-ta mw-list-item"><a href="https://ta.wikipedia.org/wiki/%E0%AE%89%E0%AE%A4%E0%AE%B5%E0%AE%BF:Magic_words" title="உதவி:Magic words – 泰米尔语" lang="ta" hreflang="ta" data-title="உதவி:Magic words" data-language-autonym="தமிழ்" data-language-local-name="泰米尔语" class="interlanguage-link-target"><span>தமிழ்</span></a></li><li class="interlanguage-link interwiki-te mw-list-item"><a href="https://te.wikipedia.org/wiki/%E0%B0%B8%E0%B0%B9%E0%B0%BE%E0%B0%AF%E0%B0%82:%E0%B0%9A%E0%B0%AE%E0%B0%A4%E0%B1%8D%E0%B0%95%E0%B0%BE%E0%B0%B0_%E0%B0%AA%E0%B0%A6%E0%B0%BE%E0%B0%B2%E0%B1%81" title="సహాయం:చమత్కార పదాలు – 泰卢固语" lang="te" hreflang="te" data-title="సహాయం:చమత్కార పదాలు" data-language-autonym="తెలుగు" data-language-local-name="泰卢固语" class="interlanguage-link-target"><span>తెలుగు</span></a></li><li class="interlanguage-link interwiki-th mw-list-item"><a href="https://th.wikipedia.org/wiki/%E0%B8%A7%E0%B8%B4%E0%B8%98%E0%B8%B5%E0%B9%83%E0%B8%8A%E0%B9%89:%E0%B9%80%E0%B8%A1%E0%B8%88%E0%B8%B4%E0%B8%81%E0%B9%80%E0%B8%A7%E0%B8%B4%E0%B8%A3%E0%B9%8C%E0%B8%94" title="วิธีใช้:เมจิกเวิร์ด – 泰语" lang="th" hreflang="th" data-title="วิธีใช้:เมจิกเวิร์ด" data-language-autonym="ไทย" data-language-local-name="泰语" class="interlanguage-link-target"><span>ไทย</span></a></li><li class="interlanguage-link interwiki-tr mw-list-item"><a href="https://tr.wikipedia.org/wiki/Yard%C4%B1m:Sihirli_kelimeler" title="Yardım:Sihirli kelimeler – 土耳其语" lang="tr" hreflang="tr" data-title="Yardım:Sihirli kelimeler" data-language-autonym="Türkçe" data-language-local-name="土耳其语" class="interlanguage-link-target"><span>Türkçe</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/%D0%94%D0%BE%D0%B2%D1%96%D0%B4%D0%BA%D0%B0:%D0%9C%D0%B0%D0%B3%D1%96%D1%87%D0%BD%D1%96_%D1%81%D0%BB%D0%BE%D0%B2%D0%B0" title="Довідка:Магічні слова – 乌克兰语" lang="uk" hreflang="uk" data-title="Довідка:Магічні слова" data-language-autonym="Українська" data-language-local-name="乌克兰语" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-yi mw-list-item"><a href="https://yi.wikipedia.org/wiki/%D7%94%D7%99%D7%9C%D7%A3:Wg_magic_words" title="הילף:Wg magic words – 意第绪语" lang="yi" hreflang="yi" data-title="הילף:Wg magic words" data-language-autonym="ייִדיש" data-language-local-name="意第绪语" class="interlanguage-link-target"><span>ייִדיש</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q4483522#sitelinks-wikipedia" title="编辑跨语言链接" class="wbc-editpage">编辑链接</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="命名空间"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-help" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97" title="查看帮助页面[c]" accesskey="c"><span>帮助</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Help_talk:%E9%AD%94%E6%9C%AF%E5%AD%97" rel="discussion" title="关于此页面的讨论[t]" accesskey="t"><span>讨论</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown " > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="更改语言变体" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">不转换</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-varlang-0" class="selected ca-variants-zh mw-list-item"><a href="/zh/Help:%E9%AD%94%E6%9C%AF%E5%AD%97" lang="zh" hreflang="zh"><span>不转换</span></a></li><li id="ca-varlang-1" class="ca-variants-zh-Hans mw-list-item"><a href="/zh-hans/Help:%E9%AD%94%E6%9C%AF%E5%AD%97" lang="zh-Hans" hreflang="zh-Hans"><span>简体</span></a></li><li id="ca-varlang-2" class="ca-variants-zh-Hant mw-list-item"><a href="/zh-hant/Help:%E9%AD%94%E6%9C%AF%E5%AD%97" lang="zh-Hant" hreflang="zh-Hant"><span>繁體</span></a></li><li id="ca-varlang-3" class="ca-variants-zh-Hans-CN mw-list-item"><a href="/zh-cn/Help:%E9%AD%94%E6%9C%AF%E5%AD%97" lang="zh-Hans-CN" hreflang="zh-Hans-CN"><span>大陆简体</span></a></li><li id="ca-varlang-4" class="ca-variants-zh-Hant-HK mw-list-item"><a href="/zh-hk/Help:%E9%AD%94%E6%9C%AF%E5%AD%97" lang="zh-Hant-HK" hreflang="zh-Hant-HK"><span>香港繁體</span></a></li><li id="ca-varlang-5" class="ca-variants-zh-Hant-MO mw-list-item"><a href="/zh-mo/Help:%E9%AD%94%E6%9C%AF%E5%AD%97" lang="zh-Hant-MO" hreflang="zh-Hant-MO"><span>澳門繁體</span></a></li><li id="ca-varlang-6" class="ca-variants-zh-Hans-MY mw-list-item"><a href="/zh-my/Help:%E9%AD%94%E6%9C%AF%E5%AD%97" lang="zh-Hans-MY" hreflang="zh-Hans-MY"><span>大马简体</span></a></li><li id="ca-varlang-7" class="ca-variants-zh-Hans-SG mw-list-item"><a href="/zh-sg/Help:%E9%AD%94%E6%9C%AF%E5%AD%97" lang="zh-Hans-SG" hreflang="zh-Hans-SG"><span>新加坡简体</span></a></li><li id="ca-varlang-8" class="ca-variants-zh-Hant-TW mw-list-item"><a href="/zh-tw/Help:%E9%AD%94%E6%9C%AF%E5%AD%97" lang="zh-Hant-TW" hreflang="zh-Hant-TW"><span>臺灣正體</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="查看"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97"><span>阅读</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit" title="编辑该页面[e]" accesskey="e"><span>编辑</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=history" title="本页面的早前版本。[h]" accesskey="h"><span>查看历史</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="页面工具"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="工具" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">工具</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">工具</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">移至侧栏</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">隐藏</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="更多选项" > <div class="vector-menu-heading"> 操作 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97"><span>阅读</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit" title="编辑该页面[e]" accesskey="e"><span>编辑</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=history"><span>查看历史</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> 常规 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:%E9%93%BE%E5%85%A5%E9%A1%B5%E9%9D%A2/Help:%E9%AD%94%E6%9C%AF%E5%AD%97" title="列出所有与本页相链的页面[j]" accesskey="j"><span>链入页面</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:%E9%93%BE%E5%87%BA%E6%9B%B4%E6%94%B9/Help:%E9%AD%94%E6%9C%AF%E5%AD%97" rel="nofollow" title="页面链出所有页面的更改[k]" accesskey="k"><span>相关更改</span></a></li><li id="t-upload" class="mw-list-item"><a href="/wiki/Project:%E4%B8%8A%E4%BC%A0" title="上传图像或多媒体文件[u]" accesskey="u"><span>上传文件</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:%E7%89%B9%E6%AE%8A%E9%A1%B5%E9%9D%A2" title="全部特殊页面的列表[q]" accesskey="q"><span>特殊页面</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&oldid=84168181" title="此页面该修订版本的固定链接"><span>固定链接</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=info" title="关于此页面的更多信息"><span>页面信息</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:URL%E7%BC%A9%E7%9F%AD%E7%A8%8B%E5%BA%8F&url=https%3A%2F%2Fzh.wikipedia.org%2Fwiki%2FHelp%3A%25E9%25AD%2594%25E6%259C%25AF%25E5%25AD%2597"><span>获取短链接</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&url=https%3A%2F%2Fzh.wikipedia.org%2Fwiki%2FHelp%3A%25E9%25AD%2594%25E6%259C%25AF%25E5%25AD%2597"><span>下载二维码</span></a></li> </ul> </div> </div> <div id="p-electronpdfservice-sidebar-portlet-heading" class="vector-menu mw-portlet mw-portlet-electronpdfservice-sidebar-portlet-heading" > <div class="vector-menu-heading"> 打印/导出 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="electron-print_pdf" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&page=Help%3A%E9%AD%94%E6%9C%AF%E5%AD%97&action=show-download-screen"><span>下载为PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="javascript:print();" rel="alternate" title="本页面的可打印版本[p]" accesskey="p"><span>打印页面</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> 在其他项目中 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-commons mw-list-item"><a href="https://commons.wikimedia.org/wiki/Help:Magic_words" hreflang="en"><span>维基共享资源</span></a></li><li class="wb-otherproject-link wb-otherproject-mediawiki mw-list-item"><a href="https://www.mediawiki.org/wiki/Help:Magic_words" hreflang="en"><span>MediaWiki</span></a></li><li class="wb-otherproject-link wb-otherproject-meta mw-list-item"><a href="https://meta.wikimedia.org/wiki/Help:Magic_words" hreflang="en"><span>元维基</span></a></li><li class="wb-otherproject-link wb-otherproject-wikiversity mw-list-item"><a href="https://zh.wikiversity.org/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97" hreflang="zh"><span>维基学院</span></a></li><li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q4483522" title="链接到连接的数据仓库项目[g]" accesskey="g"><span>维基数据项目</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="页面工具"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="外观"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">外观</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">移至侧栏</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">隐藏</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> <div id="mw-indicator-noteTA-18cc69fe" class="mw-indicator"><div class="mw-parser-output"><span class="skin-invert" typeof="mw:File"><span title="本页使用了标题或全文手工转换"><img alt="本页使用了标题或全文手工转换" src="//upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Zh_conversion_icon_m.svg/35px-Zh_conversion_icon_m.svg.png" decoding="async" width="35" height="22" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Zh_conversion_icon_m.svg/53px-Zh_conversion_icon_m.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Zh_conversion_icon_m.svg/70px-Zh_conversion_icon_m.svg.png 2x" data-file-width="32" data-file-height="20" /></span></span></div></div> </div> <div id="siteSub" class="noprint">维基百科,自由的百科全书</div> </div> <div id="contentSub"><div id="mw-content-subtitle"><span class="mw-redirectedfrom">(重定向自<a href="/w/index.php?title=Help:%E9%AD%94%E8%A1%93%E5%AD%97&redirect=no" class="mw-redirect" title="Help:魔術字">Help:魔術字</a>)</span></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="zh" dir="ltr"><table style="border: 1px solid #cccccc; padding: 2px; width: 100%; text-align: center"> <tbody><tr> <td><b>维基百科使用手册</b><style data-mw-deduplicate="TemplateStyles:r84265675">.mw-parser-output .hlist dl,.mw-parser-output .hlist ol,.mw-parser-output .hlist ul{margin:0;padding:0}.mw-parser-output .hlist dd,.mw-parser-output .hlist dt,.mw-parser-output .hlist li{margin:0;display:inline}.mw-parser-output .hlist.inline,.mw-parser-output .hlist.inline dl,.mw-parser-output .hlist.inline ol,.mw-parser-output .hlist.inline ul,.mw-parser-output .hlist dl dl,.mw-parser-output .hlist dl ol,.mw-parser-output .hlist dl ul,.mw-parser-output .hlist ol dl,.mw-parser-output .hlist ol ol,.mw-parser-output .hlist ol ul,.mw-parser-output .hlist ul dl,.mw-parser-output .hlist ul ol,.mw-parser-output .hlist ul ul{display:inline}.mw-parser-output .hlist .mw-empty-li{display:none}.mw-parser-output .hlist dt::after{content:" :"}.mw-parser-output .hlist dd::after,.mw-parser-output .hlist li::after{content:" · ";font-weight:bold}.mw-parser-output .hlist-pipe dd::after,.mw-parser-output .hlist-pipe li::after{content:" | ";font-weight:normal}.mw-parser-output .hlist-hyphen dd::after,.mw-parser-output .hlist-hyphen li::after{content:" - ";font-weight:normal}.mw-parser-output .hlist-comma dd::after,.mw-parser-output .hlist-comma li::after{content:"、";font-weight:normal}.mw-parser-output .hlist dd:last-child::after,.mw-parser-output .hlist dt:last-child::after,.mw-parser-output .hlist li:last-child::after{content:none}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li::before{content:" "counter(listitem)"\a0 "}.mw-parser-output .hlist dd ol>li:first-child::before,.mw-parser-output .hlist dt ol>li:first-child::before,.mw-parser-output .hlist li ol>li:first-child::before{content:"("counter(listitem)"\a0 "}.mw-parser-output ul.cslist,.mw-parser-output ul.sslist{margin:0;padding:0;display:inline-block;list-style:none}.mw-parser-output .cslist li,.mw-parser-output .sslist li{margin:0;display:inline-block}.mw-parser-output .cslist li::after{content:","}.mw-parser-output .sslist li::after{content:";"}.mw-parser-output .cslist li:last-child::after,.mw-parser-output .sslist li:last-child::after{content:none}</style><div class="hlist" style="margin-left: 0em;"> <ul><li><a href="/wiki/Help:%E4%BD%BF%E7%94%A8%E6%89%8B%E5%86%8A%E7%B4%A2%E5%BC%95" title="Help:使用手冊索引">索引</a></li> <li><a href="/wiki/Help:%E9%97%9C%E6%96%BC%E6%88%91%E5%80%91" title="Help:關於我們">關於</a></li> <li><a href="/wiki/Help:%E8%AF%BB%E8%80%85%E6%89%8B%E5%86%8C" title="Help:读者手册">阅读</a></li> <li><a href="/wiki/Help:%E7%BC%96%E8%BE%91%E6%89%8B%E5%86%8C" title="Help:编辑手册">编辑</a></li> <li><a href="/wiki/Help:%E7%AE%A1%E7%90%86%E6%89%8B%E5%86%8C" title="Help:管理手册">管理</a></li> <li><a href="/wiki/Help:%E9%96%8B%E7%99%BC%E6%89%8B%E5%86%8A" title="Help:開發手冊">开发</a></li> <li><a href="/wiki/Help:%E9%99%84%E5%BD%95" title="Help:附录">附錄</a></li> <li><span class="plainlinks"><a class="external text" href="https://meta.wikimedia.org/wiki/Help:Contents/zh?variant=zh-hans">元帮助</a></span></li></ul> </div> </td></tr></tbody></table> <div id="noteTA-18cc69fe" class="noteTA"><div class="noteTA-group"><div data-noteta-group-source="module" data-noteta-group="IT"></div><div data-noteta-group-source="module" data-noteta-group="MediaWiki special"></div></div></div> <style data-mw-deduplicate="TemplateStyles:r83732972">.mw-parser-output .ambox{border:1px solid #a2a9b1;border-left:10px solid #36c;background-color:#fbfbfb;box-sizing:border-box}.mw-parser-output .ambox+link+.ambox,.mw-parser-output .ambox+link+style+.ambox,.mw-parser-output .ambox+link+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+style+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+link+.ambox{margin-top:-1px}html body.mediawiki .mw-parser-output .ambox.mbox-small-left{margin:4px 1em 4px 0;overflow:hidden;width:238px;border-collapse:collapse;font-size:88%;line-height:1.25em}.mw-parser-output .ambox-speedy{border-left:10px solid #b32424;background-color:#fee7e6}.mw-parser-output .ambox-delete{border-left:10px solid #b32424}.mw-parser-output .ambox-content{border-left:10px solid #f28500}.mw-parser-output .ambox-style{border-left:10px solid #fc3}.mw-parser-output .ambox-move{border-left:10px solid #9932cc}.mw-parser-output .ambox-protection{border-left:10px solid #a2a9b1}.mw-parser-output .ambox .mbox-text{border:none;padding:0.25em 0.5em;width:100%}.mw-parser-output .ambox .mbox-image{border:none;padding:2px 0 2px 0.5em;text-align:center}.mw-parser-output .ambox .mbox-imageright{border:none;padding:2px 0.5em 2px 0;text-align:center}.mw-parser-output .ambox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ambox .mbox-image-div{width:52px}html.client-js body.skin-minerva .mw-parser-output .mbox-text-span{margin-left:23px!important}@media(min-width:720px){.mw-parser-output .ambox{margin:0 10%}}@media screen{html.skin-theme-clientpref-night .mw-parser-output .ambox{border-left-color:#36c!important}html.skin-theme-clientpref-night .mw-parser-output .ambox-speedy,html.skin-theme-clientpref-night .mw-parser-output .ambox-delete{border-left-color:#b32424!important}html.skin-theme-clientpref-night .mw-parser-output .ambox-speedy{background-color:#300!important}html.skin-theme-clientpref-night .mw-parser-output .ambox-content{border-left-color:#f28500!important}html.skin-theme-clientpref-night .mw-parser-output .ambox-style{border-left-color:#fc3!important}html.skin-theme-clientpref-night .mw-parser-output .ambox-move{border-left-color:#9932cc!important}html.skin-theme-clientpref-night .mw-parser-output .ambox-protection{border-left-color:#a2a9b1!important}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .ambox{border-left-color:#36c!important}html.skin-theme-clientpref-os .mw-parser-output .ambox-speedy,html.skin-theme-clientpref-os .mw-parser-output .ambox-delete{border-left-color:#b32424!important}html.skin-theme-clientpref-os .mw-parser-output .ambox-speedy{background-color:#300!important}html.skin-theme-clientpref-os .mw-parser-output .ambox-content{border-left-color:#f28500!important}html.skin-theme-clientpref-os .mw-parser-output .ambox-style{border-left-color:#fc3!important}html.skin-theme-clientpref-os .mw-parser-output .ambox-move{border-left-color:#9932cc!important}html.skin-theme-clientpref-os .mw-parser-output .ambox-protection{border-left-color:#a2a9b1!important}}</style><table class="box-Update plainlinks metadata ambox ambox-content" role="presentation"><tbody><tr><td class="mbox-image"><div style="width:52px"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/8/8f/Ambox_outdated_serious.svg/40px-Ambox_outdated_serious.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/8f/Ambox_outdated_serious.svg/60px-Ambox_outdated_serious.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/8f/Ambox_outdated_serious.svg/80px-Ambox_outdated_serious.svg.png 2x" data-file-width="620" data-file-height="620"/></span></span></div></td><td class="mbox-text"><div class="mbox-text-span">此幫助頁面<b>需要更新</b>。<span class="hide-when-compact"></span> <small class="date-container"><i>(<span class="date">2023年7月22日</span>)</i></small><span class="hide-when-compact"><br/><small>請更新本文以反映近況和新增内容。完成修改後請移除本模板。</small></span><span class="hide-when-compact"></span></div></td></tr></tbody></table> <style data-mw-deduplicate="TemplateStyles:r83102931">.mw-parser-output .shortcutbox{float:right;border:1px solid #aaa;background-color:var(--background-color-base,#fff);margin:0 0 0 1em;padding:.3em .6em .2em .6em;text-align:center;font-size:85%;font-weight:bold;white-space:nowrap}.mw-parser-output .shortcutbox-left{float:left}.mw-parser-output .shortcutbox-ombox{float:right;border-left:1px solid #aaa;padding:.4em 0em .4em 1em;text-align:center;line-height:1.4em;font-weight:bold;font-size:smaller;white-space:nowrap}.mw-parser-output .shortcutlist{display:inline-block;border-bottom:1px solid #aaa;margin-bottom:.2em;font-weight:normal}.mw-parser-output .shortcut-anchordiv{position:relative;top:-3em}.mw-parser-output .module-shortcutboxplain{float:right;border:1px solid #aaa;background-color:var(--background-color-base,#fff);margin:0 0 0 1em;padding:.3em .6em .2em .6em;text-align:center;font-size:85%;font-weight:bold;white-space:nowrap}.mw-parser-output .module-shortcutboxplain-left{float:left}.mw-parser-output .module-omboxshortcutplain{float:right;border-left:1px solid #aaa;padding:.4em 0em .4em 1em;text-align:center;line-height:1.4em;font-weight:bold;font-size:smaller;white-space:nowrap}.mw-parser-output .module-shortcutlist{display:inline-block;border-bottom:1px solid #aaa;margin-bottom:.2em;font-weight:normal}.mw-parser-output .module-shortcutanchordiv{position:relative;top:-3em}</style><div class="module-shortcutanchordiv"><span id="H:MW"></span><span id="H:MAGIC"></span></div><div class="module-shortcutboxplain plainlist noprint" role="note"><div class="module-shortcutlist"><a href="/wiki/Wikipedia:%E6%8D%B7%E5%BE%91" title="Wikipedia:捷徑">快捷方式</a></div><ul><li><span class="plainlinks"><a class="external text" href="https://zh.wikipedia.org/w/index.php?title=Help:MW&redirect=no">H:MW</a></span></li><li><span class="plainlinks"><a class="external text" href="https://zh.wikipedia.org/w/index.php?title=Help:MAGIC&redirect=no">H:MAGIC</a></span></li></ul></div> <style data-mw-deduplicate="TemplateStyles:r82655521">.mw-parser-output .side-box{margin:4px 0;box-sizing:border-box;border:1px solid #aaa;font-size:88%;line-height:1.25em;background-color:#f9f9f9;display:flow-root}.mw-parser-output .side-box-abovebelow,.mw-parser-output .side-box-text{padding:0.25em 0.9em}.mw-parser-output .side-box-image{padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .side-box-imageright{padding:2px 0.9em 2px 0;text-align:center}@media(min-width:500px){.mw-parser-output .side-box-flex{display:flex;align-items:center}.mw-parser-output .side-box-text{flex:1}}@media(min-width:720px){.mw-parser-output .side-box{width:238px}.mw-parser-output .side-box-right{clear:right;float:right;margin-left:1em}.mw-parser-output .side-box-left{margin-right:1em}}</style><div class="side-box side-box-right plainlinks sistersitebox" style="font-size:small;"><style data-mw-deduplicate="TemplateStyles:r82655520">.mw-parser-output .plainlist ol,.mw-parser-output .plainlist ul{line-height:inherit;list-style:none;margin:0;padding:0}.mw-parser-output .plainlist ol li,.mw-parser-output .plainlist ul li{margin-bottom:0}</style> <div class="side-box-flex"> <div class="side-box-image"><span class="noviewer" typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/MediaWiki-2020-icon.svg/40px-MediaWiki-2020-icon.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/MediaWiki-2020-icon.svg/60px-MediaWiki-2020-icon.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a6/MediaWiki-2020-icon.svg/80px-MediaWiki-2020-icon.svg.png 2x" data-file-width="100" data-file-height="100"/></span></span></div> <div class="side-box-text plainlist"><a href="/wiki/MediaWiki" title="MediaWiki">MediaWiki</a>有相關帮助:<b><a href="https://www.mediawiki.org/wiki/Help:Magic_words/zh" class="extiw" title="mw:Help:Magic words/zh">Help:魔术字</a></b></div></div> </div> <p>这是一个用于MediaWiki的魔术字索引。 </p><p><b>魔术字</b>是MediaWiki软件所识别的特定字符串,它们可以返回特定的值或触发其他的功能。 </p> <meta property="mw:PageProp/toc"/> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="大致資訊" data-mw-thread-id="h-大致資訊"><span id=".E5.A4.A7.E8.87.B4.E8.B3.87.E8.A8.8A"></span><span data-mw-comment-start="" id="h-大致資訊"></span>大致資訊<span data-mw-comment-end="h-大致資訊"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=1" title="编辑章节:大致資訊"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u5927\u81f4\u8cc7\u8a0a","replies":[]}}--></div> <p>魔术字有如下三种: </p> <ul><li>状态开关:以两个下划线<code>__</code>为前后缀的大写单词。例如<code>__FOO__</code>;</li> <li>变量:与模板类似,以<code>{{</code>及<code>}}</code>为前后缀的大写单词,如<code><span class="anchor" id="FOO"></span><code>{{FOO}}</code></code>;</li> <li>解析器函数:这些形如<code><span class="anchor" id="foo:..."></span><code>{{foo:...}}</code></code>或<code><span class="anchor" id="#foo:..."></span><code>{{#foo:...}}</code></code>的魔术字在使用时包含参数,且函数名称对大小写不敏感(包括可大小写混用)。请同时参见<a href="/wiki/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" title="Help:解析器函数">Help:解析器函数</a>。</li></ul> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="状态开关" data-mw-thread-id="h-状态开关"><span id=".E7.8A.B6.E6.80.81.E5.BC.80.E5.85.B3"></span><span data-mw-comment-start="" id="h-状态开关"></span>状态开关<span data-mw-comment-end="h-状态开关"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=2" title="编辑章节:状态开关"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u72b6\u6001\u5f00\u5173","replies":[]}}--></div> <p>状态开关可以控制页面的显示方式或其他行为。它往往用于排除或加入特定的页面内容。 </p> <table class="wikitable"> <tbody><tr> <th>魔术字 </th> <th>描述 </th> <th>版本 </th></tr> <tr> <th colspan="3" style="text-align: left;">目录 </th></tr> <tr> <td>__NOTOC__ </td> <td>隐藏目录。 </td> <td> </td></tr> <tr> <td>__FORCETOC__ </td> <td>强制于默认位置(第一个章节标题上方)显示目录。 </td> <td> </td></tr> <tr> <td>__TOC__ </td> <td>在魔术字的位置插入目录(忽略__NOTOC__)。如果这个魔术字在一个页面内被多次使用,目录将会被放置在首个__TOC__出现的位置。 </td> <td> </td></tr> <tr> <th colspan="3" style="text-align: left;">编辑 </th></tr> <tr> <td>__NOEDITSECTION__ </td> <td>隐藏章节标题旁的编辑链接。 </td> <td> </td></tr> <tr> <td>__NEWSECTIONLINK__ </td> <td>在非讨论页顶端“编辑页面”标签右侧加入一个按钮,用于在页面结尾加入新的章节(参见<a href="https://www.mediawiki.org/wiki/Help:Section#Adding_a_section_at_the_end" class="extiw" title="mw:Help:Section">MediaWiki上的说明</a>)。 </td> <td>1.7+ </td></tr> <tr> <td>__NONEWSECTIONLINK__ </td> <td>移除讨论页顶端“编辑页面”右侧的加入新章节链接。 </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/47522" class="extiw" title="rev:47522">1.15+</a> </td></tr> <tr> <th colspan="3" style="text-align: left;">分类 </th></tr> <tr> <td>__NOGALLERY__ </td> <td>用于分类页面。不显示分类中所包含文件的缩略图,而以普通链接代替。 </td> <td>1.7+ </td></tr> <tr> <td>__HIDDENCAT__ </td> <td>用于分类页面。加入后此分类成为隐藏分类,将不会显示在上级分类其及成员页面的分类列表中(可以通过参数设置中的选项强制显示),建议用{{<a href="/wiki/Template:Hiddencat" class="mw-redirect" title="Template:Hiddencat">hiddencat</a>}}。 </td> <td>1.13+ </td></tr> <tr> <th colspan="3" style="text-align: left;">字词转换 </th></tr> <tr> <td>__NOCONTENTCONVERT__<br/>__NOCC__ </td> <td>不对当前页面进行字词转换。 </td> <td> </td></tr> <tr> <td>__NOTITLECONVERT__<br/>__NOTC__ </td> <td>不进行标题转换,其他内容照常转换。 </td> <td> </td></tr> <tr> <th colspan="3" style="text-align: left;">其他 </th></tr> <tr> <td>__START__ </td> <td>没有特殊效果。用于标识提交后不需要转换的数据库信息。功能已经移除。 </td> <td>r1695时功能移除,r24784时完全移除 </td></tr> <tr> <td>__INDEX__ </td> <td>允许搜索引擎检索本页(忽略<a href="https://www.mediawiki.org/wiki/Manual:$wgArticleRobotPolicies" class="extiw" title="mw:Manual:$wgArticleRobotPolicies">$wgArticleRobotPolicies</a>的设置,但无法忽略<a href="/wiki/Robots.txt" title="Robots.txt">robots.txt</a>)。 </td> <td>1.14+ </td></tr> <tr> <td>__NOINDEX__ </td> <td>阻止搜索引擎检索本页。 </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/37973" class="extiw" title="rev:37973">1.14+</a> </td></tr> <tr> <td>__STATICREDIRECT__ </td> <td>用于重定向页。当有人移动页面并勾选“更新所有指向原标题的重定向”时,禁止MediaWiki更新本页的重定向。 </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/37928" class="extiw" title="rev:37928">1.13+</a> </td></tr> <tr> <td>__DISAMBIG__ </td> <td>用于独立消歧义页,该页会被标记为消歧义页并显示于<a href="/wiki/Special:%E6%B6%88%E6%AD%A7%E4%B9%89%E9%A1%B5%E9%9D%A2" title="Special:消歧义页面">Special:消歧义页面</a>,建议用{{<a href="/wiki/Template:Disambig" class="mw-redirect mw-disambig" title="Template:Disambig">Disambig</a>}},参见<a href="/wiki/Wikipedia:%E6%B6%88%E6%AD%A7%E4%B9%89" title="Wikipedia:消歧义">Wikipedia:消歧义</a>。 </td> <td>使用<a href="https://www.mediawiki.org/wiki/Extension:Disambiguator" class="extiw" title="mw:Extension:Disambiguator">消歧义插件</a> </td></tr></tbody></table> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="变量" data-mw-thread-id="h-变量"><span id=".E5.8F.98.E9.87.8F"></span><span data-mw-comment-start="" id="h-变量"></span>变量<span data-mw-comment-end="h-变量"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=3" title="编辑章节:变量"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u53d8\u91cf","replies":["h-\u65e5\u671f\u4e0e\u65f6\u95f4-\u53d8\u91cf","h-\u6280\u672f\u5143\u6570\u636e-\u53d8\u91cf","h-\u7edf\u8ba1-\u53d8\u91cf","h-\u9875\u9762\u6807\u9898-\u53d8\u91cf","h-\u547d\u540d\u7a7a\u95f4-\u53d8\u91cf"]}}--></div> <p>变量可以返回关于当前页面、wiki站点或日期的信息。变量的语法与<a href="/wiki/Help:%E6%A8%A1%E6%9D%BF" title="Help:模板">模板</a>类似。其中标记为“<span style="background:#FED;"><b>[高开销]</b></span>”的变量会被软件记录,且在一个页面中可使用的总数会被限制。 </p><p>如果某一模板名与变量名重复,软件会自动将其解释为变量(因此若要包含<a href="/wiki/Template:PAGENAME" title="Template:PAGENAME">Template:PAGENAME</a>,页面中需要写作<code><tt><span class="anchor" id="Template:PAGENAME"></span><code>{{Template:PAGENAME}}</code></tt></code>)。在某些情况下,加入参数会强制软件将变量视作一个模板,如<code><tt><span class="anchor" id="CURRENTDAYNAME"></span><code>{{CURRENTDAYNAME:x}}</code></tt></code>将会包含<a href="/w/index.php?title=Template:CURRENTDAYNAME&action=edit&redlink=1" class="new" title="Template:CURRENTDAYNAME(页面不存在)">Template:CURRENTDAYNAME</a>。 </p> <div class="mw-heading mw-heading3"><h3 id="日期与时间" data-mw-thread-id="h-日期与时间-变量"><span id=".E6.97.A5.E6.9C.9F.E4.B8.8E.E6.97.B6.E9.97.B4"></span><span data-mw-comment-start="" id="h-日期与时间-变量"></span>日期与时间<span data-mw-comment-end="h-日期与时间-变量"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=4" title="编辑章节:日期与时间"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>以下变量返回用户所<a href="/wiki/Special:%E5%8F%82%E6%95%B0%E8%AE%BE%E7%BD%AE" title="Special:参数设置">设置</a>的时区日期或时间,默认为<a href="/wiki/UTC" class="mw-redirect" title="UTC">UTC</a>时间。 </p><p>在MediaWiki与浏览器缓存的影响下,这些变量显示的往往是被缓存的值,而非当前的时间。 </p> <table class="wikitable"> <tbody><tr> <th>变量 </th> <th>输出 </th> <th>描述 </th> <th>版本 </th></tr> <tr> <th colspan="4" style="text-align: left;">年 </th></tr> <tr> <td><tt><span class="anchor" id="CURRENTYEAR"></span><code>{{CURRENTYEAR}}</code></tt> </td> <td>2024 </td> <td>年 </td> <td> </td></tr> <tr> <th colspan="4" style="text-align: left;">月 </th></tr> <tr> <td><tt><span class="anchor" id="CURRENTMONTH"></span><code>{{CURRENTMONTH}}</code></tt> </td> <td>11 </td> <td>月(补足前导零) </td> <td> </td></tr> <tr> <td><tt><span class="anchor" id="CURRENTMONTHNAME"></span><code>{{CURRENTMONTHNAME}}</code></tt> </td> <td>11月 </td> <td>月(本地语言中的月份名称) </td> <td> </td></tr> <tr> <td><tt><span class="anchor" id="CURRENTMONTHNAMEGEN"></span><code>{{CURRENTMONTHNAMEGEN}}</code></tt> </td> <td>11月 </td> <td>月(本地语言中月份名称的属格形式) </td> <td> </td></tr> <tr> <td><tt><span class="anchor" id="CURRENTMONTHABBREV"></span><code>{{CURRENTMONTHABBREV}}</code></tt> </td> <td>11月 </td> <td>月(本地语言中月份名称的简称) </td> <td>1.5+ </td></tr> <tr> <th colspan="4" style="text-align: left;">日 </th></tr> <tr> <td><tt><span class="anchor" id="CURRENTDAY"></span><code>{{CURRENTDAY}}</code></tt> </td> <td>19 </td> <td>日(无前导零) </td> <td> </td></tr> <tr> <td><tt><span class="anchor" id="CURRENTDAY2"></span><code>{{CURRENTDAY2}}</code></tt> </td> <td>19 </td> <td>日(补足前导零) </td> <td>1.6+ </td></tr> <tr> <th colspan="4" style="text-align: left;">星期 </th></tr> <tr> <td><tt><span class="anchor" id="CURRENTDOW"></span><code>{{CURRENTDOW}}</code></tt> </td> <td>2 </td> <td>星期(数字格式) </td> <td> </td></tr> <tr> <td><tt><span class="anchor" id="CURRENTDAYNAME"></span><code>{{CURRENTDAYNAME}}</code></tt> </td> <td>星期二 </td> <td>星期 </td> <td> </td></tr> <tr> <th colspan="4" style="text-align: left;">时间 </th></tr> <tr> <td><tt><span class="anchor" id="CURRENTTIME"></span><code>{{CURRENTTIME}}</code></tt> </td> <td>05:05 </td> <td>时间(24小时制,格式为HH:mm) </td> <td> </td></tr> <tr> <td><tt><span class="anchor" id="CURRENTHOUR"></span><code>{{CURRENTHOUR}}</code></tt> </td> <td>05 </td> <td>时间(24小时制,有前导零) </td> <td> </td></tr> <tr> <th colspan="4" style="text-align: left;">其他 </th></tr> <tr> <td><tt><span class="anchor" id="CURRENTWEEK"></span><code>{{CURRENTWEEK}}</code></tt> </td> <td>47 </td> <td>周数 </td> <td> </td></tr> <tr> <td><tt><span class="anchor" id="CURRENTTIMESTAMP"></span><code>{{CURRENTTIMESTAMP}}</code><br/><small>(相當於<code>{{<b><a href="https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##time" class="extiw" title="mw:Help:Extension:ParserFunctions">#time</a>:YmdHis</b>}}</code>)</small></tt> </td> <td>20241119050520 </td> <td>YYYYMMDDHHmmss时间戳 </td> <td>1.7+ </td></tr></tbody></table> <p>如下变量和以上列出的变量功能相同,但是使用的是站点所在时区的本地时间,而非用户所设置的时区或UTC: </p> <ul><li><tt><span class="anchor" id="LOCALYEAR"></span><code>{{LOCALYEAR}}</code></tt></li> <li><tt><span class="anchor" id="LOCALMONTH"></span><code>{{LOCALMONTH}}</code></tt></li> <li><tt><span class="anchor" id="LOCALMONTHNAME"></span><code>{{LOCALMONTHNAME}}</code></tt></li> <li><tt><span class="anchor" id="LOCALMONTHNAMEGEN"></span><code>{{LOCALMONTHNAMEGEN}}</code></tt></li> <li><tt><span class="anchor" id="LOCALMONTHABBREV"></span><code>{{LOCALMONTHABBREV}}</code></tt></li> <li><tt><span class="anchor" id="LOCALDAY"></span><code>{{LOCALDAY}}</code></tt></li> <li><tt><span class="anchor" id="LOCALDAY2"></span><code>{{LOCALDAY2}}</code></tt></li> <li><tt><span class="anchor" id="LOCALDOW"></span><code>{{LOCALDOW}}</code></tt></li> <li><tt><span class="anchor" id="LOCALDAYNAME"></span><code>{{LOCALDAYNAME}}</code></tt></li> <li><tt><span class="anchor" id="LOCALTIME"></span><code>{{LOCALTIME}}</code></tt></li> <li><tt><span class="anchor" id="LOCALHOUR"></span><code>{{LOCALHOUR}}</code></tt></li> <li><tt><span class="anchor" id="LOCALWEEK"></span><code>{{LOCALWEEK}}</code></tt></li> <li><tt><span class="anchor" id="LOCALTIMESTAMP"></span><code>{{LOCALTIMESTAMP}}</code></tt></li></ul> <dl><dd>对于更详细的时间格式,请参见<a href="/wiki/Help:%E6%99%82%E9%96%93%E5%BA%8F%E8%99%9F" title="Help:時間序號">Help:時間序號</a>。</dd></dl> <div class="mw-heading mw-heading3"><h3 id="技术元数据" data-mw-thread-id="h-技术元数据-变量"><span id=".E6.8A.80.E6.9C.AF.E5.85.83.E6.95.B0.E6.8D.AE"></span><span data-mw-comment-start="" id="h-技术元数据-变量"></span>技术元数据<span data-mw-comment-end="h-技术元数据-变量"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=5" title="编辑章节:技术元数据"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>历史版本变量返回的是与<b>当前页面最近一次编辑</b>有关的数据。 </p> <table class="wikitable"> <tbody><tr> <th>变量 </th> <th>输出 </th> <th>描述 </th> <th>版本 </th></tr> <tr> <th colspan="4" style="text-align: left;">站点 </th></tr> <tr> <td><tt><span class="anchor" id="SITENAME"></span><code>{{SITENAME}}</code></tt> </td> <td>Wikipedia </td> <td>站点名称(<a href="https://www.mediawiki.org/wiki/Manual:$wgSitename" class="extiw" title="mw:Manual:$wgSitename">$wgSitename</a>) </td> <td> </td></tr> <tr> <td><tt><span class="anchor" id="SERVER"></span><code>{{SERVER}}</code></tt> </td> <td>//zh.wikipedia.org </td> <td>域名<a href="/wiki/URL" class="mw-redirect" title="URL">URL</a>(<a href="https://www.mediawiki.org/wiki/Manual:$wgServer" class="extiw" title="mw:Manual:$wgServer">$wgServer</a>) </td> <td> </td></tr> <tr> <td><tt><span class="anchor" id="SERVERNAME"></span><code>{{SERVERNAME}}</code></tt> </td> <td>zh.wikipedia.org </td> <td>域名名称(<a href="https://www.mediawiki.org/wiki/Manual:$wgServerName" class="extiw" title="mw:Manual:$wgServerName">$wgServerName</a>) </td> <td> </td></tr> <tr> <td><tt><span class="anchor" id="DIRMARK"></span><code>{{DIRMARK}}</code></tt><br/><tt><span class="anchor" id="DIRECTIONMARK"></span><code>{{DIRECTIONMARK}}</code></tt> </td> <td><br/> </td> <td>输出这个wiki默认语言所使用的<a href="/wiki/Unicode" title="Unicode">Unicode</a>文本方向控制字符(从左到右书写的语言使用<a href="/wiki/%E5%B7%A6%E8%87%B3%E5%8F%B3%E7%AC%A6%E8%99%9F" title="左至右符號"><code>&lrm;</code></a>,反之使用<a href="/wiki/%E5%8F%B3%E8%87%B3%E5%B7%A6%E7%AC%A6%E8%99%9F" title="右至左符號"><code>&rlm;</code></a>) </td> <td>1.7+ </td></tr> <tr> <td><tt><span class="anchor" id="SCRIPTPATH"></span><code>{{SCRIPTPATH}}</code></tt> </td> <td>/w </td> <td>相对脚本路径(<a href="https://www.mediawiki.org/wiki/Manual:$wgScriptPath" class="extiw" title="mw:Manual:$wgScriptPath">$wgScriptPath</a>) </td> <td> </td></tr> <tr> <td><tt><span class="anchor" id="CURRENTVERSION"></span><code>{{CURRENTVERSION}}</code></tt> </td> <td>1.44.0-wmf.3 (b4aac1f) </td> <td>当前所使用的MediaWiki版本 </td> <td>1.7+ </td></tr> <tr> <td><tt><span class="anchor" id="CONTENTLANGUAGE"></span><code>{{CONTENTLANGUAGE}}</code></tt><br/><tt><span class="anchor" id="CONTENTLANG"></span><code>{{CONTENTLANG}}</code></tt> </td> <td>zh<br/>zh </td> <td>默认的界面语言(<a href="https://www.mediawiki.org/wiki/Manual:$wgLanguageCode" class="extiw" title="mw:Manual:$wgLanguageCode">$wgLanguageCode</a>) </td> <td>1.7+ </td></tr> <tr> <th colspan="4" style="text-align: left;">当前页面的最新编辑版本 </th></tr> <tr style="background-color: #FED;"> <td><tt><span class="anchor" id="REVISIONID"></span><code>{{REVISIONID}}</code><br/><span class="anchor" id="REVISIONID"></span><code>{{REVISIONID:<i>页面标题</i>}}</code></tt> </td> <td>-<br/> </td> <td>最近一次编辑版本的ID,然而在<a href="https://www.mediawiki.org/wiki/Manual:$wgMiserMode" class="extiw" title="mw:Manual:$wgMiserMode">Miser模式</a>下只會顯示為<a href="/wiki/%E9%80%A3%E5%AD%97%E6%9A%A8%E6%B8%9B%E8%99%9F" title="連字暨減號">連字暨減號</a><br/><b>[高开销]</b> 指定页面最近修订版本的ID </td> <td>1.5+<br/><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/49575" class="extiw" title="rev:49575">1.16+</a> </td></tr> <tr style="background-color: #FED;"> <td><tt><span class="anchor" id="REVISIONDAY"></span><code>{{REVISIONDAY}}</code><br/><span class="anchor" id="REVISIONDAY"></span><code>{{REVISIONDAY:<i>页面标题</i>}}</code></tt> </td> <td>11<br/> </td> <td>最近一次编辑的日份<br/><b>[高开销]</b> 指定页面最近一次编辑的日份 </td> <td>1.8+<br/><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/49575" class="extiw" title="rev:49575">1.16+</a> </td></tr> <tr style="background-color: #FED;"> <td><tt><span class="anchor" id="REVISIONDAY2"></span><code>{{REVISIONDAY2}}</code><br/><span class="anchor" id="REVISIONDAY2"></span><code>{{REVISIONDAY2:<i>页面标题</i>}}</code></tt> </td> <td>11<br/> </td> <td>最近一次编辑的日份(前导零)<br/><b>[高开销]</b> 指定页面最近一次编辑的日份 </td> <td>1.8+<br/><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/49575" class="extiw" title="rev:49575">1.16+</a> </td></tr> <tr style="background-color: #FED;"> <td><tt><span class="anchor" id="REVISIONMONTH"></span><code>{{REVISIONMONTH}}</code><br/><span class="anchor" id="REVISIONMONTH"></span><code>{{REVISIONMONTH:<i>页面标题</i>}}</code></tt> </td> <td>09<br/> </td> <td>最近一次编辑的月份<br/><b>[高开销]</b> 指定页面最近一次编辑的月份 </td> <td>1.8+<br/><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/49575" class="extiw" title="rev:49575">1.16+</a> </td></tr> <tr style="background-color: #FED;"> <td><tt><span class="anchor" id="REVISIONYEAR"></span><code>{{REVISIONYEAR}}</code><br/><span class="anchor" id="REVISIONYEAR"></span><code>{{REVISIONYEAR:<i>页面标题</i>}}</code></tt> </td> <td>2024<br/> </td> <td>最近一次编辑的年份<br/><b>[高开销]</b> 指定页面最近一次编辑的年份 </td> <td>1.8+<br/><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/49575" class="extiw" title="rev:49575">1.16+</a> </td></tr> <tr style="background-color: #FED;"> <td><tt><span class="anchor" id="REVISIONTIMESTAMP"></span><code>{{REVISIONTIMESTAMP}}</code><br/><span class="anchor" id="REVISIONTIMESTAMP"></span><code>{{REVISIONTIMESTAMP:<i>页面标题</i>}}</code></tt> </td> <td>20240911012119<br/> </td> <td>最近一次编辑的时间戳<br/><b>[高开销]</b> 最近修订版本的时间戳 </td> <td>1.8+<br/><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/49575" class="extiw" title="rev:49575">1.16+</a> </td></tr> <tr style="background-color: #FED;"> <td><tt><span class="anchor" id="REVISIONUSER"></span><code>{{REVISIONUSER}}</code></tt><br/><tt><span class="anchor" id="REVISIONUSER"></span><code>{{REVISIONUSER:<i>页面标题</i>}}</code></tt> </td> <td>Cwek<br/> </td> <td>最近一个对本页面作出编辑的用户<br/><b>[高开销]</b> 最近一个对指定页面作出编辑的用户<br/>在编辑提示里显示即将编辑的用户,见<a class="external autonumber" href="https://en.wikipedia.org/w/index.php?title=Wikipedia:Requests_for_adminship&action=edit">[1]</a> </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/48149" class="extiw" title="rev:48149">1.15+</a><br/><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/49575" class="extiw" title="rev:49575">1.16+</a> </td></tr> <tr style="background-color: #FED;"> <td><tt><span class="anchor" id="PAGESIZE"></span><code>{{PAGESIZE:<i>页面标题</i>}}</code></tt><br/><tt><span class="anchor" id="PAGESIZE"></span><code>{{PAGESIZE:Help:魔术字}}</code></tt> </td> <td><br/>110 </td> <td><b>[高开销]</b> 返回指定页面的大小 </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/33551" class="extiw" title="rev:33551">1.13+</a> </td></tr> <tr> <td><tt><span class="anchor" id="PROTECTIONLEVEL:''行为''"></span><code>{{PROTECTIONLEVEL:<i>行为</i>}}</code></tt> </td> <td>保护级别 </td> <td>输出当前页面对于特定行为(create,edit或move)的保护级别(autoconfirm或sysop等)。若未保护则返回空字符串。 </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/45587" class="extiw" title="rev:45587">1.15+</a> </td></tr> <tr> <th colspan="4" style="text-align: left;">影响页面内容 </th></tr> <tr> <td><tt><span class="anchor" id="DISPLAYTITLE"></span><code>{{DISPLAYTITLE:<i>标题</i>}}</code></tt> </td> <td> </td> <td>更改頁面的標題,與-{T|}-類似,但优先级高于后者,不推荐使用,建议使用具有字词转换的{{<a href="/wiki/Template:DISPLAYTITLE" title="Template:DISPLAYTITLE">DISPLAYTITLE</a>}}代替。可以通过<a href="https://www.mediawiki.org/wiki/Manual:$wgAllowDisplayTitle" class="extiw" title="mw:Manual:$wgAllowDisplayTitle">$wgAllowDisplayTitle</a>将其启用或禁用。在1.10+前默认禁用,之后的版本中默认启用。 </td> <td>1.7+ </td></tr> <tr> <td><tt><span class="anchor" id="DEFAULTSORT"></span><code>{{DEFAULTSORT:<i>排序索引</i>}}</code></tt><br/><tt><span class="anchor" id="DEFAULTSORTKEY"></span><code>{{DEFAULTSORTKEY:<i>排序索引</i>}}</code></tt><br/><tt><span class="anchor" id="DEFAULTCATEGORYSORT"></span><code>{{DEFAULTCATEGORYSORT:<i>排序索引</i>}}</code></tt> </td> <td> </td> <td>为页面设置一个默认的<a href="/wiki/Help:%E5%88%86%E7%B1%BB" title="Help:分类">排序索引</a>。例如在<a href="/wiki/%E5%90%89%E7%B1%B3%C2%B7%E5%A8%81%E7%88%BE%E5%A3%AB" class="mw-redirect" title="吉米·威爾士">吉米·威爾士</a>条目的结尾加入<tt><span class="anchor" id="DEFAULTSORT"></span><code>{{DEFAULTSORT:Wales, Jimmy}}</code></tt>,则默认此条目在所有分类中都会排在“W”下,而非“吉”。 </td> <td>1.10+ </td></tr></tbody></table> <div class="mw-heading mw-heading3"><h3 id="统计" data-mw-thread-id="h-统计-变量"><span id=".E7.BB.9F.E8.AE.A1"></span><span data-mw-comment-start="" id="h-统计-变量"></span>统计<span data-mw-comment-end="h-统计-变量"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=6" title="编辑章节:统计"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>这些变量返回的数字往往包含分隔符(根据本地语言设置而可能是逗号或空格)。可以通过“:R”来返回无分隔号的数字(例如<code><tt><span class="anchor" id="NUMBEROFPAGES"></span><code>{{NUMBEROFPAGES}}</code></tt></code>→7,869,413而<code><tt><span class="anchor" id="NUMBEROFPAGES"></span><code>{{NUMBEROFPAGES:R}}</code></tt></code>→7869413))。对于PAGESINCATEGORY等需要参数的变量则使用“|R”(例如<code><tt><span class="anchor" id="PAGESINCATEGORY"></span><code>{{PAGESINCATEGORY:Help}}</code></tt></code>→0而<code><tt><span class="anchor" id="PAGESINCATEGORY"></span><code>{{PAGESINCATEGORY:Help|R}}</code></tt></code>→0)。 </p> <table class="wikitable"> <tbody><tr> <th>变量 </th> <th>输出 </th> <th>描述 </th> <th>版本 </th></tr> <tr> <th colspan="4" style="text-align: left;">整个站点 </th></tr> <tr> <td><tt><span class="anchor" id="NUMBEROFPAGES"></span><code>{{NUMBEROFPAGES}}</code></tt> </td> <td>7,869,413 </td> <td>页面总数 </td> <td>1.7+ </td></tr> <tr> <td><tt><span class="anchor" id="NUMBEROFARTICLES"></span><code>{{NUMBEROFARTICLES}}</code></tt> </td> <td>1,451,336 </td> <td>主命名空间(條目命名空間)内的页面总数 </td> <td> </td></tr> <tr> <td><tt><span class="anchor" id="NUMBEROFFILES"></span><code>{{NUMBEROFFILES}}</code></tt> </td> <td>68,257 </td> <td>上传的文件总数 </td> <td>1.5+ </td></tr> <tr> <td><tt><span class="anchor" id="NUMBEROFEDITS"></span><code>{{NUMBEROFEDITS}}</code></tt> </td> <td>84,713,788 </td> <td>总页面编辑次数 </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/21319" class="extiw" title="rev:21319">1.10+</a> </td></tr> <tr> <td><tt><span class="anchor" id="NUMBEROFVIEWS"></span><code>{{NUMBEROFVIEWS}}</code></tt> </td> <td> </td> <td>页面浏览次数。通常对使用<a href="https://www.mediawiki.org/wiki/Manual:Cache" class="extiw" title="mw:Manual:Cache">缓存</a>的wiki无效。 </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/42721" class="extiw" title="rev:42721">1.14</a>~1.24 </td></tr> <tr> <td><tt><span class="anchor" id="NUMBEROFUSERS"></span><code>{{NUMBEROFUSERS}}</code></tt> </td> <td>3,619,346 </td> <td>注册用户总数 </td> <td>1.7+ </td></tr> <tr> <td><tt><span class="anchor" id="NUMBEROFADMINS"></span><code>{{NUMBEROFADMINS}}</code></tt> </td> <td>65 </td> <td><i>sysop</i><a href="https://www.mediawiki.org/wiki/Manual:User_rights" class="extiw" title="mw:Manual:User rights">用户组</a>中的用户总数 </td> <td>1.7+ </td></tr> <tr> <td><tt><span class="anchor" id="NUMBEROFACTIVEUSERS"></span><code>{{NUMBEROFACTIVEUSERS}}</code></tt> </td> <td>7,184 </td> <td>活跃用户总数,其标准与<a href="/wiki/Special:%E7%BB%9F%E8%AE%A1" title="Special:统计">Special:Statistics</a>中的标准相同 </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/47392" class="extiw" title="rev:47392">1.15+</a> </td></tr> <tr style="background-color: #FED;"> <td><tt><span class="anchor" id="PAGESINCATEGORY"></span><code>{{PAGESINCATEGORY:<i>分类标题</i>}}</code></tt><br/><tt><span class="anchor" id="PAGESINCAT"></span><code>{{PAGESINCAT:帮助文档}}</code></tt> </td> <td><br/>159 </td> <td><b>[高开销]</b> 指定分类中的页面总数。 </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/32932" class="extiw" title="rev:32932">1.13+</a> </td></tr> <tr style="background-color: #FED;"> <td> <p><tt><span class="anchor" id="PAGESINCATEGORY"></span><code>{{PAGESINCATEGORY:帮助文档|all}}</code></tt><br/> <tt><span class="anchor" id="PAGESINCATEGORY"></span><code>{{PAGESINCATEGORY:帮助文档|pages}}</code></tt><br/> <tt><span class="anchor" id="PAGESINCATEGORY"></span><code>{{PAGESINCATEGORY:帮助文档|subcats}}</code></tt><br/> <tt><span class="anchor" id="PAGESINCATEGORY"></span><code>{{PAGESINCATEGORY:帮助文档|files}}</code></tt><br/> </p> </td> <td> <p>159<br/> 142<br/> 17<br/> 0 </p> </td> <td><b>[高开销]</b> 返回指定分类的: <ul><li>所有页面数</li> <li>所有非分类页和非文件页数</li> <li>所有子分类页数</li> <li>所有文件页数</li></ul> </td> <td><a href="https://gerrit.wikimedia.org/r/12790" class="extiw" title="gerrit:12790">1.20+</a> </td></tr> <tr> <td><tt><span class="anchor" id="NUMBERINGROUP"></span><code>{{NUMBERINGROUP:<i>用户群组</i>}}</code></tt><br/><tt><span class="anchor" id="NUMINGROUP"></span><code>{{NUMINGROUP:<i>用户群组</i>}}</code></tt> </td> <td><span class="anchor" id="NUMBERINGROUP"></span><code>{{NUMBERINGROUP:bureaucrat}}</code>→<br/>8 </td> <td>特定用户群组中的用户总数 </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/40116" class="extiw" title="rev:40116">1.14+</a> </td></tr> <tr> <td><tt><span class="anchor" id="PAGESINNS"></span><code>{{PAGESINNS:<i>索引编号</i>}}</code></tt><br/><tt><span class="anchor" id="PAGESINNAMESPACE"></span><code>{{PAGESINNAMESPACE:<i>索引编号</i>}}</code></tt> </td> <td>禁用 </td> <td>指定命名空间中的页面总数。例如<tt><span class="anchor" id="PAGESINNAMESPACE"></span><code>{{PAGESINNAMESPACE:<i>14</i>}}</code></tt>返回分类总数。在中文维基百科被禁用。 </td> <td>1.7+ </td></tr> <tr> <td><tt><span class="anchor" id="NUMBEROFCONTRIBS"></span><code>{{NUMBEROFCONTRIBS:<i>用户名</i>}}</code></tt> </td> <td>禁用 </td> <td>指定用户的贡献总数。在中文维基百科疑似被禁用。 </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/51200" class="extiw" title="rev:51200">1.16+</a> </td></tr></tbody></table> <div class="mw-heading mw-heading3"><h3 id="页面标题" data-mw-thread-id="h-页面标题-变量"><span id=".E9.A1.B5.E9.9D.A2.E6.A0.87.E9.A2.98"></span><span data-mw-comment-start="" id="h-页面标题-变量"></span>页面标题<span data-mw-comment-end="h-页面标题-变量"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=7" title="编辑章节:页面标题"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <table class="wikitable"> <tbody><tr> <th>变量 </th> <th>输出 </th> <th>描述 </th> <th>版本 </th></tr> <tr> <td><tt><span class="anchor" id="FULLPAGENAME"></span><code>{{FULLPAGENAME}}</code></tt> </td> <td>Help:魔术字 </td> <td>命名空间及页面标题 </td> <td>1.6+ </td></tr> <tr> <td><tt><span class="anchor" id="PAGENAME"></span><code>{{PAGENAME}}</code></tt> </td> <td>魔术字 </td> <td>页面标题 </td> <td> </td></tr> <tr> <td><tt><span class="anchor" id="BASEPAGENAME"></span><code>{{BASEPAGENAME}}</code></tt> </td> <td>魔术字 </td> <td>页面标题,不包括当前子页面标题及命名空间(页面“Wikipedia:页面/子页面/子页面的子页面”则返回“页面/子页面”) </td> <td>1.7+ </td></tr> <tr> <td><tt><span class="anchor" id="ROOTPAGENAME"></span><code>{{ROOTPAGENAME}}</code></tt> </td> <td>魔术字 </td> <td>获得当前页面的根页名,不包括所有子页面标题及命名空间(页面“Wikipedia:页面/子页面/子页面的子页面”则返回“页面”) </td></tr> <tr> <td><tt><span class="anchor" id="SUBPAGENAME"></span><code>{{SUBPAGENAME}}</code></tt> </td> <td>魔术字 </td> <td>子页面标题(页面“Wikipedia:页面/子页面”则返回“子页面”) </td> <td>1.6+ </td></tr> <tr> <td><tt><span class="anchor" id="SUBJECTPAGENAME"></span><code>{{SUBJECTPAGENAME}}</code></tt> </td> <td>Help:魔术字 </td> <td>当前页面对应的内容页标题(包含命名空间) </td> <td>1.7+ </td></tr> <tr> <td><tt><span class="anchor" id="TALKPAGENAME"></span><code>{{TALKPAGENAME}}</code></tt> </td> <td>Help talk:魔术字 </td> <td>当前页面对应的讨论页标题(包含命名空间) </td> <td>1.7+ </td></tr></tbody></table> <p>魔术字<tt><span class="anchor" id="BASEPAGENAME"></span><code>{{BASEPAGENAME}}</code></tt>和<tt><span class="anchor" id="SUBPAGENAME"></span><code>{{SUBPAGENAME}}</code></tt>仅在允许子页面出现的命名空间中有效。参见<a href="https://www.mediawiki.org/wiki/Manual:$wgNamespacesWithSubpages" class="extiw" title="mw:Manual:$wgNamespacesWithSubpages">mw:Manual:$wgNamespacesWithSubpages</a>。 </p><p>以下类似的魔术字返回URL编码结果: </p> <ul><li><tt><span class="anchor" id="FULLPAGENAMEE"></span><code>{{FULLPAGENAMEE}}</code></tt></li> <li><tt><span class="anchor" id="PAGENAMEE"></span><code>{{PAGENAMEE}}</code></tt></li> <li><tt><span class="anchor" id="BASEPAGENAMEE"></span><code>{{BASEPAGENAMEE}}</code></tt></li> <li><tt><span class="anchor" id="SUBPAGENAMEE"></span><code>{{SUBPAGENAMEE}}</code></tt></li> <li><tt><span class="anchor" id="SUBJECTPAGENAMEE"></span><code>{{SUBJECTPAGENAMEE}}</code></tt></li> <li><tt><span class="anchor" id="TALKPAGENAMEE"></span><code>{{TALKPAGENAMEE}}</code></tt></li></ul> <p>在<a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/46662" class="extiw" title="rev:46662">1.15+</a>版本中,这些魔术字均可通过参数来指明特定页面: </p> <ul><li><tt><span class="anchor" id="PAGENAME"></span><code>{{PAGENAME:Template:Main Page}}</code></tt> → <b>Main Page</b></li></ul> <div class="mw-heading mw-heading3"><h3 id="命名空间" data-mw-thread-id="h-命名空间-变量"><span id=".E5.91.BD.E5.90.8D.E7.A9.BA.E9.97.B4"></span><span data-mw-comment-start="" id="h-命名空间-变量"></span>命名空间<span data-mw-comment-end="h-命名空间-变量"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=8" title="编辑章节:命名空间"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <table class="wikitable"> <tbody><tr> <th>变量 </th> <th>输出 </th> <th>描述 </th> <th>版本 </th></tr> <tr> <td><tt><span class="anchor" id="NAMESPACE"></span><code>{{NAMESPACE}}</code></tt> </td> <td>Help </td> <td>命名空间 </td> <td> </td></tr> <tr> <td><tt><span class="anchor" id="SUBJECTSPACE"></span><code>{{SUBJECTSPACE}}</code></tt><br/><tt><span class="anchor" id="ARTICLESPACE"></span><code>{{ARTICLESPACE}}</code></tt> </td> <td>Help<br/>Help </td> <td>当前页面对应的内容页面命名空间 </td> <td>1.7+ </td></tr> <tr> <td><tt><span class="anchor" id="TALKSPACE"></span><code>{{TALKSPACE}}</code></tt> </td> <td>Help talk </td> <td>当前页面对应的讨论页命名空间 </td> <td>1.7+ </td></tr></tbody></table> <p>以下类似的魔术字返回URL编码结果: </p> <ul><li><tt><span class="anchor" id="NAMESPACEE"></span><code>{{NAMESPACEE}}</code></tt></li> <li><tt><span class="anchor" id="SUBJECTSPACEE"></span><code>{{SUBJECTSPACEE}}</code></tt></li> <li><tt><span class="anchor" id="TALKSPACEE"></span><code>{{TALKSPACEE}}</code></tt></li></ul> <p>在<a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/46662" class="extiw" title="rev:46662">1.15+</a>版本中,这些魔术字均可通过参数来指明特定页面: </p> <ul><li><tt><span class="anchor" id="NAMESPACE"></span><code>{{NAMESPACE:Template:Main Page}}</code></tt> → <b>Template</b></li></ul> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="其他特殊符號" data-mw-thread-id="h-其他特殊符號"><span id=".E5.85.B6.E4.BB.96.E7.89.B9.E6.AE.8A.E7.AC.A6.E8.99.9F"></span><span data-mw-comment-start="" id="h-其他特殊符號"></span>其他特殊符號<span data-mw-comment-end="h-其他特殊符號"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=9" title="编辑章节:其他特殊符號"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u5176\u4ed6\u7279\u6b8a\u7b26\u865f","replies":["h-\u81ea\u52d5\u66ff\u63db\u5f15-{}-\u7528\u7684\u7b26\u865f-\u5176\u4ed6\u7279\u6b8a\u7b26\u865f"]}}--></div> <table class="wikitable"> <tbody><tr> <th>变量 </th> <th>输出 </th> <th>描述 </th> <th>版本 </th></tr> <tr> <td><span class="anchor" id="!"></span><code>{{!}}</code> </td> <td style="text-align:center;">| </td> <td>在参数中代替 | </td> <td><a href="https://gerrit.wikimedia.org/r/136234" class="extiw" title="gerrit:136234">1.24+</a> </td></tr> <tr> <td><span class="anchor" id="="></span><code>{{=}}</code> </td> <td style="text-align:center;">= </td> <td>在参数中代替 = </td> <td><a href="https://phabricator.wikimedia.org/T91154" class="extiw" title="phab:T91154">phab:T91154</a> </td></tr> <tr> <td><code><a href="/wiki/Help:%E9%87%8D%E5%AE%9A%E5%90%91" title="Help:重定向">#REDIRECT</a> [[條目名稱]]</code><br/><code>#重定向 [[條目名稱]]</code> </td> <td> </td> <td>標記此條目為重新導向頁。此語法僅在條目第一行時有效。另見<a href="/wiki/Help:%E9%87%8D%E5%AE%9A%E5%90%91" title="Help:重定向">Help:重定向</a>。 </td> <td> </td></tr> <tr> <td><code>ISBN 0-12-345678-9</code> </td> <td><a href="/wiki/Special:%E7%BD%91%E7%BB%9C%E4%B9%A6%E6%BA%90/0123456789" class="internal mw-magiclink-isbn">ISBN 0-12-345678-9</a> </td> <td>同樣是MediaWiki軟體所辨識的特定字串,並且符合條件時會自動轉換為連結。目前中文維基百科支援的此類魔術語法有<a href="/wiki/Help:%E5%90%84%E9%A1%9E%E6%9B%B8%E8%99%9F" title="Help:各類書號">ISBN</a>、<a href="/wiki/PMID" title="PMID">PMID</a>以及<a href="/wiki/RFC" title="RFC">RFC</a>。參見<a href="/wiki/Help:%E9%AD%94%E8%A1%93%E9%80%A3%E7%B5%90" title="Help:魔術連結">Help:魔術連結</a>。 </td> <td> </td></tr></tbody></table> <div class="mw-heading mw-heading3"><h3 id="自動替換引-{}-用的符號" data-mw-thread-id="h-自動替換引-{}-用的符號-其他特殊符號"><span id=".E8.87.AA.E5.8B.95.E6.9B.BF.E6.8F.9B.E5.BC.95-.7B.7D-.E7.94.A8.E7.9A.84.E7.AC.A6.E8.99.9F"></span><span data-mw-comment-start="" id="h-自動替換引-{}-用的符號-其他特殊符號"></span>自動替換引用的符號<span data-mw-comment-end="h-自動替換引-{}-用的符號-其他特殊符號"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=10" title="编辑章节:自動替換引用的符號"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>部分特殊符號或魔術字會在儲存編輯的當下自動替換引用(見過濾器紀錄的原始編輯內容<a href="/wiki/Special:%E6%BB%A5%E7%94%A8%E6%97%A5%E5%BF%97/3876535" title="Special:滥用日志/3876535">Special:滥用日志/3876535</a>與實際儲存後的編輯內容<a href="/wiki/Special:%E5%B7%AE%E5%BC%82/67182296" title="Special:差异/67182296">Special:Diff/67182296</a>),部分功能可利用<includeonly></includeonly>標籤包裹來防止轉換,部分功能要透過其他符號將之斷開才能防止轉換。 </p> <table class="wikitable"> <tbody><tr> <th>变量 </th> <th>输出 </th> <th>描述 </th> <th>版本 </th></tr> <tr> <td><code><a href="/wiki/Delete%E5%AD%97%E7%AC%A6" title="Delete字符">␡</a>'"`UNIQ--擴展標籤名稱-實體編號-QINU`"'<a href="/wiki/Delete%E5%AD%97%E7%AC%A6" title="Delete字符">␡</a></code><sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> </td> <td style="text-align:center;">(依實際實體標籤而定) </td> <td>若儲存的原始碼內容中直接存在此字串且存在對應編號的擴展標籤實體,則會自動被替換為對應擴展標籤內容<sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup>。此外所有擴展標籤在模板解析處理過程中皆會以此種特殊符號儲存,這也是使用<code>{{#ifeq:}}</code>比較兩個內容相同且包含擴展標籤(如<code><math></code>﹑<code><nowiki></code>或<code><ref></code>等)的字串會失敗的原因。另見<a href="https://www.mediawiki.org/wiki/Strip_marker" class="extiw" title="mw:Strip marker">mw:Strip marker</a>。這個自動替換引用的過程在<includeonly></includeonly>標籤內不起作用<sup id="cite_ref-3" class="reference"><a href="#cite_note-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup> </td> <td><a href="https://gerrit.wikimedia.org/r/214404" class="extiw" title="gerrit:214404">1.26+</a> </td></tr> <tr> <td><code>~~~</code> </td> <td>(因用戶而異) </td> <td>自動替換為用戶的簽名。另見<a href="/wiki/Wikipedia:%E7%B0%BD%E5%90%8D" class="mw-redirect" title="Wikipedia:簽名">WP:簽名</a>。 </td> <td> </td></tr> <tr> <td><code>~~~~</code> </td> <td>(因用戶而異) </td> <td>自動替換為用戶的簽名及時間。另見<a href="/wiki/Wikipedia:%E7%B0%BD%E5%90%8D" class="mw-redirect" title="Wikipedia:簽名">WP:簽名</a>。 </td> <td> </td></tr> <tr> <td><code>~~~~~</code> </td> <td><span class="nowrap">2024年11月19日 (二) 05:05 (UTC)</span> </td> <td>自動替換為儲存編輯時的時間。另見<a href="/wiki/Wikipedia:%E7%B0%BD%E5%90%8D" class="mw-redirect" title="Wikipedia:簽名">WP:簽名</a>。 </td> <td> </td></tr></tbody></table> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="解析器函数" data-mw-thread-id="h-解析器函数"><span id=".E8.A7.A3.E6.9E.90.E5.99.A8.E5.87.BD.E6.95.B0"></span><span data-mw-comment-start="" id="h-解析器函数"></span>解析器函数<span data-mw-comment-end="h-解析器函数"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=11" title="编辑章节:解析器函数"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u89e3\u6790\u5668\u51fd\u6570","replies":["h-URL\u6570\u636e-\u89e3\u6790\u5668\u51fd\u6570","h-\u547d\u540d\u7a7a\u95f4_2-\u89e3\u6790\u5668\u51fd\u6570","h-\u683c\u5f0f-\u89e3\u6790\u5668\u51fd\u6570","h-\u6742\u9879-\u89e3\u6790\u5668\u51fd\u6570"]}}--></div> <p>解析器函数与变量十分类似,但是有一个或多个参数(技术上来看,所有使用参数的魔术字均为解析器函数),且魔术字的名称前往往会有一个#号,以将它们与一般的模版区分开来。 </p><p>这一页仅列出了整合在MediaWiki软件中的解析器函数。其他扩展(例如<a href="https://www.mediawiki.org/wiki/Extension:ParserFunctions" class="extiw" title="mw:Extension:ParserFunctions">ParserFunctions extension</a>)可能为MediaWiki加入更多的解析器函数。请参见<a href="/wiki/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" title="Help:解析器函数">Help:解析器函数</a>了解更多的解析器函数。 </p> <div class="mw-heading mw-heading3"><h3 id="URL数据" data-mw-thread-id="h-URL数据-解析器函数"><span id="URL.E6.95.B0.E6.8D.AE"></span><span data-mw-comment-start="" id="h-URL数据-解析器函数"></span>URL数据<span data-mw-comment-end="h-URL数据-解析器函数"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=12" title="编辑章节:URL数据"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <table class="wikitable"> <tbody><tr> <th>魔术字 </th> <th>输出 </th> <th>描述 </th> <th>版本 </th></tr> <tr> <td><tt><span class="anchor" id="localurl"></span><code>{{localurl:<i>页面标题</i>}}</code></tt><br/><tt><span class="anchor" id="localurl"></span><code>{{localurl:<i>页面标题</i>|<i>字符串</i>}}</code></tt> </td> <td>/wiki/%E9%A1%B5%E9%9D%A2%E6%A0%87%E9%A2%98<br/>/w/index.php?title=%E9%A1%B5%E9%9D%A2%E6%A0%87%E9%A2%98&字符串 </td> <td>指定标题的相对路径 </td> <td> </td></tr> <tr> <td><tt><span class="anchor" id="fullurl"></span><code>{{fullurl:<i>页面标题</i>}}</code></tt><br/><tt><span class="anchor" id="fullurl"></span><code>{{fullurl:<i>页面标题</i>|<i>字符串</i>}}</code></tt><br/><tt><span class="anchor" id="fullurl"></span><code>{{fullurl:<i>跨维基链接:页面标题</i>|<i>字符串</i>}}</code></tt> </td> <td>//zh.wikipedia.org/wiki/Category:%E5%B8%AE%E5%8A%A9%E6%96%87%E6%A1%A3<br/> <p>//zh.wikipedia.org/w/index.php?title=Category:%E5%B8%AE%E5%8A%A9%E6%96%87%E6%A1%A3&action=edit<br/> <a class="external free" href="https://en.wikipedia.org/wiki/Category:Help?action=edit">https://en.wikipedia.org/wiki/Category:Help?action=edit</a> </p> </td> <td>指定标题的绝对路径,同时处理跨维基前缀。 </td> <td>1.5+ </td></tr> <tr> <td><tt><span class="anchor" id="filepath"></span><code>{{filepath:<i>文件名</i>}}</code></tt><br/><tt><span class="anchor" id="filepath"></span><code>{{filepath:文件名|nowiki}}</code></tt> </td> <td>//upload.wikimedia.org/wikipedia/zh/b/bc/Wiki.png<br/>//upload.wikimedia.org/wikipedia/zh/b/bc/Wiki.png </td> <td>指定多媒体文件的绝对路径 </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/25854" class="extiw" title="rev:25854">1.12+</a> </td></tr> <tr> <td><tt><span class="anchor" id="urlencode"></span><code>{{urlencode:<i>字 符 串</i>}}</code></tt><br/><tt><span class="anchor" id="urlencode"></span><code>{{urlencode:x y z 一二三}}</code></tt> </td> <td>%E5%AD%97+%E7%AC%A6+%E4%B8%B2 <br/>x+y+z+%E4%B8%80%E4%BA%8C%E4%B8%89 </td> <td>将字符串以<a href="/wiki/%E7%99%BE%E5%88%86%E5%8F%B7%E7%BC%96%E7%A0%81" title="百分号编码">百分号编码</a>以供URL使用。 </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/14273" class="extiw" title="rev:14273">1.7+</a> </td></tr> <tr> <td><tt><span class="anchor" id="anchorencode"></span><code>{{anchorencode:<i>字 符 串</i>}}</code></tt><br/><tt><span class="anchor" id="anchorencode"></span><code>{{anchorencode:x y z 一二三}}</code></tt> </td> <td>字_符_串 <br/>x_y_z一二三 </td> <td>将字符串编码以供URL锚点(URL中#号后面的部分)使用。 </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/16279" class="extiw" title="rev:16279">1.8+</a> </td></tr></tbody></table> <div class="mw-heading mw-heading3"><h3 id="命名空间_2" data-mw-thread-id="h-命名空间_2-解析器函数"><span id=".E5.91.BD.E5.90.8D.E7.A9.BA.E9.97.B4_2"></span><span data-mw-comment-start="" id="h-命名空间_2-解析器函数"></span>命名空间<span data-mw-comment-end="h-命名空间_2-解析器函数"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=13" title="编辑章节:命名空间"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><tt><code style="white-space:nowrap;">{{ns:}}</code></tt>返回指定索引编号所对应命名空间的本地名称。 </p> <table class="wikitable"> <tbody><tr> <th colspan="2">内容页面命名空间 </th> <th colspan="2">讨论页命名空间 </th></tr> <tr> <th>用法 </th> <th>输出 </th> <th>用法 </th> <th>输出 </th></tr> <tr> <td><tt><span class="anchor" id="ns:-2"></span><code>{{ns:-2}}</code></tt>或<tt><span class="anchor" id="ns:media"></span><code>{{ns:media}}</code></tt> </td> <td>Media </td> <td data-sort-value="" style="background: var(--background-color-disabled-subtle,#ececec); color: var(--color-disabled,#2c2c2c); vertical-align: middle; font-size: smaller; text-align: center;" class="table-na skin-invert">不適用 </td> <td data-sort-value="" style="background: var(--background-color-disabled-subtle,#ececec); color: var(--color-disabled,#2c2c2c); vertical-align: middle; font-size: smaller; text-align: center;" class="table-na skin-invert">不適用 </td></tr> <tr> <td><tt><span class="anchor" id="ns:-1"></span><code>{{ns:-1}}</code></tt>或<tt><span class="anchor" id="ns:Special"></span><code>{{ns:Special}}</code></tt> </td> <td>Special </td> <td data-sort-value="" style="background: var(--background-color-disabled-subtle,#ececec); color: var(--color-disabled,#2c2c2c); vertical-align: middle; font-size: smaller; text-align: center;" class="table-na skin-invert">不適用 </td> <td data-sort-value="" style="background: var(--background-color-disabled-subtle,#ececec); color: var(--color-disabled,#2c2c2c); vertical-align: middle; font-size: smaller; text-align: center;" class="table-na skin-invert">不適用 </td></tr> <tr> <td><tt><span class="anchor" id="ns:0"></span><code>{{ns:0}}</code></tt> </td> <td> </td> <td><tt><span class="anchor" id="ns:1"></span><code>{{ns:1}}</code></tt>或<tt><span class="anchor" id="ns:Talk"></span><code>{{ns:Talk}}</code></tt> </td> <td>Talk </td></tr> <tr> <td><tt><span class="anchor" id="ns:2"></span><code>{{ns:2}}</code></tt>或<tt><span class="anchor" id="ns:User"></span><code>{{ns:User}}</code></tt> </td> <td>User </td> <td><tt><span class="anchor" id="ns:3"></span><code>{{ns:3}}</code></tt>或<tt><span class="anchor" id="ns:User_talk"></span><code>{{ns:User talk}}</code></tt> </td> <td>User talk </td></tr> <tr> <td><tt><span class="anchor" id="ns:4"></span><code>{{ns:4}}</code></tt>或<tt><span class="anchor" id="ns:Project"></span><code>{{ns:Project}}</code></tt> </td> <td>Wikipedia </td> <td><tt><span class="anchor" id="ns:5"></span><code>{{ns:5}}</code></tt>或<tt><span class="anchor" id="ns:Project_talk"></span><code>{{ns:Project talk}}</code></tt> </td> <td>Wikipedia talk </td></tr> <tr> <td><tt><span class="anchor" id="ns:6"></span><code>{{ns:6}}</code></tt>或<tt><span class="anchor" id="ns:File"></span><code>{{ns:File}}</code></tt>或<tt><span class="anchor" id="ns:Image"></span><code>{{ns:Image}}</code></tt> </td> <td>File </td> <td><tt><span class="anchor" id="ns:7"></span><code>{{ns:7}}</code></tt>或<tt><span class="anchor" id="ns:File_talk"></span><code>{{ns:File talk}}</code></tt>或<tt><span class="anchor" id="ns:Image_talk"></span><code>{{ns:Image talk}}</code></tt> </td> <td>File talk </td></tr> <tr> <td><tt><span class="anchor" id="ns:8"></span><code>{{ns:8}}</code></tt>或<tt><span class="anchor" id="ns:MediaWiki"></span><code>{{ns:MediaWiki}}</code></tt> </td> <td>MediaWiki </td> <td><tt><span class="anchor" id="ns:9"></span><code>{{ns:9}}</code></tt>或<tt><span class="anchor" id="ns:MediaWiki_talk"></span><code>{{ns:MediaWiki talk}}</code></tt> </td> <td>MediaWiki talk </td></tr> <tr> <td><tt><span class="anchor" id="ns:10"></span><code>{{ns:10}}</code></tt>或<tt><span class="anchor" id="ns:Template"></span><code>{{ns:Template}}</code></tt> </td> <td>Template </td> <td><tt><span class="anchor" id="ns:11"></span><code>{{ns:11}}</code></tt>或<tt><span class="anchor" id="ns:Template_talk"></span><code>{{ns:Template talk}}</code></tt> </td> <td>Template talk </td></tr> <tr> <td><tt><span class="anchor" id="ns:12"></span><code>{{ns:12}}</code></tt>或<tt><span class="anchor" id="ns:Help"></span><code>{{ns:Help}}</code></tt> </td> <td>Help </td> <td><tt><span class="anchor" id="ns:13"></span><code>{{ns:13}}</code></tt>或<tt><span class="anchor" id="ns:Help_talk"></span><code>{{ns:Help talk}}</code></tt> </td> <td>Help talk </td></tr> <tr> <td><tt><span class="anchor" id="ns:14"></span><code>{{ns:14}}</code></tt>或<tt><span class="anchor" id="ns:Category"></span><code>{{ns:Category}}</code></tt> </td> <td>Category </td> <td><tt><span class="anchor" id="ns:15"></span><code>{{ns:15}}</code></tt>或<tt><span class="anchor" id="ns:Category_talk"></span><code>{{ns:Category talk}}</code></tt> </td> <td>Category talk </td></tr> <tr> <td><tt><span class="anchor" id="ns:100"></span><code>{{ns:100}}</code></tt>或<tt><span class="anchor" id="ns:Portal"></span><code>{{ns:Portal}}</code></tt> </td> <td>Portal </td> <td><tt><span class="anchor" id="ns:101"></span><code>{{ns:101}}</code></tt>或<tt><span class="anchor" id="ns:Portal_talk"></span><code>{{ns:Portal talk}}</code></tt> </td> <td>Portal talk </td></tr> <tr> <td><tt><span class="anchor" id="ns:102"></span><code>{{ns:102}}</code></tt>或<tt><span class="anchor" id="ns:WikiProject"></span><code>{{ns:WikiProject}}</code></tt> </td> <td>WikiProject </td> <td><tt><span class="anchor" id="ns:103"></span><code>{{ns:103}}</code></tt>或<tt><span class="anchor" id="ns:WikiProject_talk"></span><code>{{ns:WikiProject talk}}</code></tt> </td> <td>WikiProject talk </td></tr> <tr> <td><tt><span class="anchor" id="ns:118"></span><code>{{ns:118}}</code></tt>或<tt><span class="anchor" id="ns:Draft"></span><code>{{ns:Draft}}</code></tt> </td> <td>Draft </td> <td><tt><span class="anchor" id="ns:119"></span><code>{{ns:119}}</code></tt>或<tt><span class="anchor" id="ns:Draft_talk"></span><code>{{ns:Draft talk}}</code></tt> </td> <td>Draft talk </td></tr> <tr> <td><tt><span class="anchor" id="ns:126"></span><code>{{ns:126}}</code></tt>或<tt><span class="anchor" id="ns:MOS"></span><code>{{ns:MOS}}</code></tt> </td> <td>MOS </td> <td><tt><span class="anchor" id="ns:127"></span><code>{{ns:127}}</code></tt>或<tt><span class="anchor" id="ns:MOS_talk"></span><code>{{ns:MOS talk}}</code></tt> </td> <td>MOS talk </td></tr> <tr> <td><tt><span class="anchor" id="ns:828"></span><code>{{ns:828}}</code></tt>或<tt><span class="anchor" id="ns:Module"></span><code>{{ns:Module}}</code></tt> </td> <td>Module </td> <td><tt><span class="anchor" id="ns:829"></span><code>{{ns:829}}</code></tt>或<tt><span class="anchor" id="ns:Module_talk"></span><code>{{ns:Module talk}}</code></tt> </td> <td>Module talk </td></tr> <tr> <td data-sort-value="" style="background: var(--background-color-disabled-subtle,#ececec); color: var(--color-disabled,#2c2c2c); vertical-align: middle; font-size: smaller; text-align: center;" class="table-na skin-invert">不適用 </td> <td data-sort-value="" style="background: var(--background-color-disabled-subtle,#ececec); color: var(--color-disabled,#2c2c2c); vertical-align: middle; font-size: smaller; text-align: center;" class="table-na skin-invert">不適用 </td> <td><tt><span class="anchor" id="ns:2600"></span><code>{{ns:2600}}</code></tt>或<tt><span class="anchor" id="ns:Topic"></span><code>{{ns:Topic}}</code></tt> </td> <td>Topic </td></tr></tbody></table> <div class="mw-heading mw-heading3"><h3 id="格式" data-mw-thread-id="h-格式-解析器函数"><span id=".E6.A0.BC.E5.BC.8F"></span><span data-mw-comment-start="" id="h-格式-解析器函数"></span>格式<span data-mw-comment-end="h-格式-解析器函数"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=14" title="编辑章节:格式"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <table class="wikitable"> <tbody><tr> <th>用法 </th> <th>输入 → 输出 </th> <th>描述 </th> <th>版本 </th></tr> <tr> <td><tt><span class="anchor" id="lc"></span><code>{{lc:<i>字符串</i>}}</code></tt> </td> <td><tt><span class="anchor" id="lc"></span><code>{{lc:DATA CENTER}}</code></tt> → data center </td> <td>转换为小写字母输出 </td> <td>1.5+ </td></tr> <tr> <td><tt><span class="anchor" id="lcfirst"></span><code>{{lcfirst:<i>字符串</i>}}</code></tt> </td> <td><tt><span class="anchor" id="lcfirst"></span><code>{{lcfirst:DATA CENTER}}</code></tt> → dATA CENTER </td> <td>将<b>字符串的第一个字符</b>转换为小写字母 </td> <td>1.5+ </td></tr> <tr> <td><tt><span class="anchor" id="uc"></span><code>{{uc:<i>字符串</i>}}</code></tt> </td> <td><tt><span class="anchor" id="uc"></span><code>{{uc:text transform}}</code></tt> → TEXT TRANSFORM </td> <td>转换为大写字母输出 </td> <td>1.5+ </td></tr> <tr> <td><tt><span class="anchor" id="ucfirst"></span><code>{{ucfirst:<i>字符串</i>}}</code></tt> </td> <td><tt><span class="anchor" id="ucfirst"></span><code>{{ucfirst:text transform}}</code></tt> → Text transform </td> <td>将<b>字符串的第一个字符</b>转换为大写字母 </td> <td>1.5+ </td></tr> <tr> <td><tt><span class="anchor" id="formatnum"></span><code>{{formatnum:<i>无格式数字</i>}}</code></tt><br/><tt><span class="anchor" id="formatnum"></span><code>{{formatnum:<i>格式化的数字</i>|R}}</code></tt> </td> <td><tt><span class="anchor" id="formatnum"></span><code>{{formatnum:-987654321.654321}}</code></tt> → −987,654,321.654321 <br/> <tt><span class="anchor" id="formatnum"></span><code>{{formatnum:-987,654,321.654321|R}}</code></tt> → -987654321.654321 </td> <td>根据本地语言的设置处理空格和逗号等数字分隔符。 </td> <td>1.7+<br/><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/32012" class="extiw" title="rev:32012">1.13+</a> </td></tr> <tr> <td> <p><span class="anchor" id="#dateformat"></span><code>{{#dateformat:<i>日期</i>}}</code> <span class="anchor" id="#formatdate"></span><code>{{#formatdate:<i>日期</i>}}</code> <span class="anchor" id="#dateformat"></span><code>{{#dateformat:<i>日期</i>|<i>格式</i>}}</code> <span class="anchor" id="#formatdate"></span><code>{{#formatdate:<i>日期</i>|<i>格式</i>}}</code> </p> </td> <td> <p><tt><span class="anchor" id="#dateformat"></span><code>{{#dateformat:11 seP 2001|ymd}}</code></tt><br/> → 11 seP 2001(您的设置),2001 SeP 11(默认)<br/> <tt><span class="anchor" id="#formatdate"></span><code>{{#formatdate:sep 11,2001|dmy}}</code></tt><br/> → sep 11,2001(您的设置),11 Sep 2001(默认)<br/> <tt><span class="anchor" id="#dateformat:1941-12-07"></span><code>{{#dateformat:1941-12-07:mdy}}</code></tt><br/> → <span class="mw-formatted-date" title="1941-12-07">12月 7, 1941</span>(您的设置),12月 7, 1941(默认)<br/> <tt><span class="anchor" id="#formatdate:2001_sep_11"></span><code>{{#formatdate:2001 sep 11:ISO 8601}}</code></tt><br/> → 2001 sep 11(您的设置)2001 sep 11(默认)<br/> </p> </td> <td>将日期显示为用户在“日期与时间”中所指定的格式。对于未登录或是未进行设置的用户,可以通过参数指定默认格式:<tt>mdy</tt>, <tt>dmy</tt>, <tt>ymd</tt>, <tt>ISO 8601</tt>(区分大小写)。如果未指定格式或格式无效,则输入格式会被作为默认格式。如果输入的日期无效,则直接输出未处理的结果。 <p>解析器函数<a href="/wiki/Help:%E6%A8%A1%E6%9D%BF%E6%93%B4%E5%B1%95%E8%AA%9E%E6%B3%95#time" class="mw-redirect" title="Help:模板擴展語法">time</a>提供了更多的格式化控制。 </p> </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/48249" class="extiw" title="rev:48249">1.15+</a> </td></tr> <tr> <td><tt><span class="anchor" id="padleft"></span><code>{{padleft:xyz|<i>字符串长度</i>}}</code></tt><br/><tt><span class="anchor" id="padleft"></span><code>{{padleft:xyz|<i>字符串长度</i>|<i>字符</i>}}</code></tt> </td> <td><tt><span class="anchor" id="padleft"></span><code>{{padleft:xyz|5}}</code></tt> → 00xyz<br/> <tt><span class="anchor" id="padleft:xyz"></span><code>{{padleft:xyz:5|_}}</code></tt> → __xyz </td> <td>自动在字符串开头用给定的字符(默认为“0”)补足到特定长度。例如<span class="anchor" id="padleft"></span><code>{{padleft:44|3|0}}</code>生成044。也用于截取字符串的一部分。 </td> <td>1.8+ </td></tr> <tr> <td><tt><span class="anchor" id="padright"></span><code>{{padright:xyz|<i>字符串长度</i>}}</code></tt><br/><tt><span class="anchor" id="padright:xyz"></span><code>{{padright:xyz:<i>字符串长度</i>|<i>字符</i>}}</code></tt> </td> <td><tt><span class="anchor" id="padright"></span><code>{{padright:xyz|5}}</code></tt> → xyz00<br/> <tt><span class="anchor" id="padright:xyz"></span><code>{{padright:xyz:5|_}}</code></tt> → xyz__ </td> <td>与padleft类似,但将字符加入到字符串的结尾。也用于截取字符串的一部分。 </td> <td> </td></tr> <tr> <td><tt><span class="anchor" id="plural"></span><code>{{plural:计数|<i>单数形式</i>|<i>复数形式</i>}}</code></tt> </td> <td><tt><span class="anchor" id="plural"></span><code>{{plural:1|他|他们}}</code></tt> → 他 </td> <td>根据首个参数,输出特定词语的单数或复数形式(根据中文)。 </td> <td> </td></tr></tbody></table> <div class="mw-heading mw-heading3"><h3 id="杂项" data-mw-thread-id="h-杂项-解析器函数"><span id=".E6.9D.82.E9.A1.B9"></span><span data-mw-comment-start="" id="h-杂项-解析器函数"></span>杂项<span data-mw-comment-end="h-杂项-解析器函数"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=15" title="编辑章节:杂项"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <table class="wikitable"> <tbody><tr> <th>魔术字 </th> <th>输出 </th> <th>描述 </th> <th>版本 </th></tr> <tr> <td><tt><span class="anchor" id="int"></span><code>{{int:<i>MediaWiki:命名空間下的頁面標題</i>}}</code> </tt></td> <td><tt><span class="anchor" id="int"></span><code>{{int:edit}}</code></tt> → <b>编辑本页</b> <br/><small>(根据界面语言而异,尝试:<a class="external text" href="https://zh.wikipedia.org/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&uselang=fr#杂项">fr</a> •<a class="external text" href="https://zh.wikipedia.org/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&uselang=ja#杂项">ja</a>)</small> </td> <td>根据界面语言版本而显示特定MediaWiki命名空间消息的内容。注意:这可能会对缓存产生影响。参见<a href="https://bugzilla.wikimedia.org/show_bug.cgi?id=14404" class="extiw" title="bugzilla:14404">bug 14404</a>(已处理)。 </td> <td> </td></tr> <tr> <td><tt><span class="anchor" id="#language"></span><code>{{#language:<i>语言代码</i>}}</code></tt><br/><tt><span class="anchor" id="#language"></span><code>{{#language:zh-hk}}</code></tt><br/><tt><span class="anchor" id="#language"></span><code>{{#language:th}}</code></tt><br/><tt><span class="anchor" id="#language"></span><code>{{#language:th|zh}}</code></tt> </td> <td>语言代码<br/>中文(香港)<br/>ไทย<br/>泰语 </td> <td>将<a href="/wiki/ISO_639" title="ISO 639">ISO 639</a>语言代码转换为此种语言的名称。有第2參數時,以第2參數的語言顯示第1參數的語言名稱。 </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/14490" class="extiw" title="rev:14490">1.7+</a> </td></tr> <tr> <td><tt><span class="anchor" id="#special"></span><code>{{#special:<i>特殊页面名称</i>}}</code><br/><span class="anchor" id="#special"></span><code>{{#special:UserLogin}}</code></tt> </td> <td>Special:特殊页面名称<br/>Special:用户登录 </td> <td>特殊页面的本地名称,可用<code>{{<a href="/wiki/Template:Special" title="Template:Special">special</a>|<i>特殊页面名称</i>}}</code>替換。 </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/17321" class="extiw" title="rev:17321">1.9+</a> </td></tr> <tr> <td><span class="anchor" id="tag語法"></span><tt><span class="anchor" id="#tag"></span><code>{{#tag:<i>标签名</i>}}</code></tt><br/><tt><span class="anchor" id="#tag"></span><code>{{#tag:<i>标签名</i>|<i>标签内容</i>}}</code></tt><br/><tt><span class="anchor" id="#tag"></span><code>{{#tag:<i>标签名</i><br/>|<i>标签内容</i>|<i>属性1=值</i><br/>|<i>属性2=值</i><br/>}}</code></tt> </td> <td>(依据标签名确定) </td> <td>以XML的方式生成标签,并解析成wiki代码,有属性的按照<code><<b><style data-mw-deduplicate="TemplateStyles:r83933911">@media screen{html.skin-theme-clientpref-night .mw-parser-output div:not(.notheme)>.tmp-color,html.skin-theme-clientpref-night .mw-parser-output p>.tmp-color,html.skin-theme-clientpref-night .mw-parser-output table:not(.notheme) .tmp-color{color:inherit!important}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output div:not(.notheme)>.tmp-color,html.skin-theme-clientpref-os .mw-parser-output p>.tmp-color,html.skin-theme-clientpref-os .mw-parser-output table:not(.notheme) .tmp-color{color:inherit!important}}</style><span class="tmp-color" style="color:#008000">tagname</span></b> <b><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r83933911"><span class="tmp-color" style="color:#d0ac29">attribute</span></b>=<b><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r83933911"><span class="tmp-color" style="color:#ba2121">"value"</span></b>></code><tt>對應<span class="anchor" id="#tag"></span><code>{{#tag:tagname|attribute=value}}</code></tt>编写,有内容值则按照<code><<b><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r83933911"><span class="tmp-color" style="color:#008000">tagname</span></b>>content</<b><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r83933911"><span class="tmp-color" style="color:#008000">tagname</span></b>></code>对应<tt><span class="anchor" id="#tag"></span><code>{{#tag:tagname|content}}</code></tt>编写,用于解决不能标签嵌套的问题,如ref标签。 </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/29482" class="extiw" title="rev:29482">1.12+</a> </td></tr> <tr> <td><tt><span class="anchor" id="gender"></span><code>{{gender:<i>用户名</i><br/>|<i>用户为男性的返回值</i><br/>|<i>用户为女性的返回值</i><br/>|<i>若用户<a href="/wiki/%E6%80%A7%E5%88%A5%E4%B8%AD%E7%AB%8B" title="性別中立">未指定其性别</a>时的返回值</i>}}</code></tt> </td> <td><tt><span class="anchor" id="gender"></span><code>{{gender:Bencmq|他|她|TA}}</code></tt> → 他 </td> <td>根据<a href="/wiki/Special:%E5%8F%82%E6%95%B0%E8%AE%BE%E7%BD%AE" title="Special:参数设置">Special:参数设置</a>中设置的性别进行判断 </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/46247" class="extiw" title="rev:46247">1.15+</a> </td></tr> <tr> <td><tt><span class="anchor" id="groupconvert"></span><code>{{groupconvert:<i>转换组名称</i>}}</code></tt> </td> <td> </td> <td>启用<b>MediaWiki:Groupconversiontable-''转换组名称''/''语言代码''</b>中定义的字词转换。但中文維基百科現使用<code>{{<a href="/wiki/Template:NoteTA" title="Template:NoteTA">NoteTA</a>}}</code>,因此無反應。 </td> <td><a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/48984" class="extiw" title="rev:48984">1.15+</a> </td></tr> <tr> <td><tt><span class="anchor" id="PAGEID"></span><code>{{PAGEID}}</code></tt> </td> <td>1048886 </td> <td>返回该页面ID </td> <td>1.20+ </td></tr> <tr> <td><tt><span class="anchor" id="noexternallanglinks"></span><code>{{noexternallanglinks}}</code></tt> </td> <td><span class="anchor" id="noexternallanglinks"></span><code>{{noexternallanglinks:<语言代码,以管道符分隔>}}</code> </td> <td>完全禁止某页面使用维基数据的链接。 </td> <td>使用<a href="https://www.mediawiki.org/wiki/Extension:Wikibase_Client" class="extiw" title="mw:Extension:Wikibase Client">维基数据库客户端插件</a> </td></tr></tbody></table> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="借助魔术字呼叫解析器函數" data-mw-thread-id="h-借助魔术字呼叫解析器函數"><span id=".E5.80.9F.E5.8A.A9.E9.AD.94.E6.9C.AF.E5.AD.97.E5.91.BC.E5.8F.AB.E8.A7.A3.E6.9E.90.E5.99.A8.E5.87.BD.E6.95.B8"></span><span data-mw-comment-start="" id="h-借助魔术字呼叫解析器函數"></span>借助魔术字呼叫解析器函數<span data-mw-comment-end="h-借助魔术字呼叫解析器函數"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=16" title="编辑章节:借助魔术字呼叫解析器函數"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u501f\u52a9\u9b54\u672f\u5b57\u547c\u53eb\u89e3\u6790\u5668\u51fd\u6578","replies":[]}}--></div> <p><span class="anchor" id="借助魔术字进行数值计算"></span> </p> <table class="wikitable"> <tbody><tr> <th>魔术字 </th> <th>输出 </th> <th>描述 </th></tr> <tr> <td><tt><code>{{#xyz:主參數|副參數}}</code></tt> </td> <td> </td> <td>調用名為xyz的解析器函數。關於中文維基百科能用的所有解析器函數詳見<a href="/wiki/Special:%E7%89%88%E6%9C%AC#mw-version-parser-function-hooks" title="Special:版本">Special:版本#mw-version-parser-function-hooks</a>。另見<a href="/wiki/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" title="Help:解析器函数">Help:解析器函数</a>。 </td></tr> <tr> <td><tt><code>{{<a href="/wiki/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0#expr" title="Help:解析器函数">#expr</a>:05+8}}</code></tt> </td> <td><tt>13</tt> </td> <td>使用“#expr”对数值进行计算 </td></tr> <tr> <td><tt><code>{{<a href="/wiki/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0#expr" title="Help:解析器函数">#expr</a>:floor(100*24/217)}}</code>%</tt> </td> <td><tt>11%</tt> </td> <td>使用“#expr”及“floor”的计算 </td></tr> <tr> <td><tt><code>{{<a href="/wiki/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0#if" title="Help:解析器函数">#if</a>:檢查字串|有值時輸出|無值時輸出}}</code></tt><br/><tt><code>{{<a href="/wiki/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0#if" title="Help:解析器函数">#if</a>|yes|no}}</code></tt><br/><tt><code>{{<a href="/wiki/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0#if" title="Help:解析器函数">#if</a>:foo|yes|no}}</code></tt> </td> <td><tt>有值時輸出</tt><br/><tt>no</tt><br/><tt>yes</tt> </td> <td>檢查輸入是否有值 </td></tr> <tr> <td><tt><code>{{<a href="/wiki/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0#ifeq" title="Help:解析器函数">#ifeq</a>:a|b|相等|不相等}}</code></tt><br/><tt><code>{{<a href="/wiki/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0#ifeq" title="Help:解析器函数">#ifeq</a>:a|a|相等|不相等}}</code></tt> </td> <td><tt>不相等</tt><br/><tt>相等</tt> </td> <td>檢查兩輸入是否相等 </td></tr> <tr> <td><tt><code>{{#property:P361}}</code></tt> </td> <td><tt>MediaWiki</tt> </td> <td>使用解析器函數調用維基數據的資料,其中<a href="https://www.wikidata.org/wiki/P361" class="extiw" title="d:P361">P361</a>代表本頁面的所屬實體,MediaWiki。詳細使用說明見<a href="https://www.wikidata.org/wiki/Wikidata:How_to_use_data_on_Wikimedia_projects#Parser_function" class="extiw" title="d:Wikidata:How to use data on Wikimedia projects">維基數據的相關說明</a> </td></tr> <tr> <td><tt><code>{{<a href="/wiki/Wikipedia:Lua" title="Wikipedia:Lua">#invoke</a>:<a href="/w/index.php?title=Module:%E6%A8%A1%E5%A1%8A%E5%90%8D%E7%A8%B1&action=edit&redlink=1" class="new" title="Module:模塊名稱(页面不存在)">模塊名稱</a>|函數名稱}}</code></tt> </td> <td> </td> <td>使用解析器函數調用<a href="/wiki/Wikipedia:Lua" title="Wikipedia:Lua">模組命名空間</a>中的函數。詳細使用說明見<a href="/wiki/Wikipedia:Lua" title="Wikipedia:Lua">WP:Lua</a>。 </td></tr></tbody></table> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="嵌入包含修飾詞" data-mw-thread-id="h-嵌入包含修飾詞"><span id=".E5.B5.8C.E5.85.A5.E5.8C.85.E5.90.AB.E4.BF.AE.E9.A3.BE.E8.A9.9E"></span><span data-mw-comment-start="" id="h-嵌入包含修飾詞"></span>嵌入包含修飾詞<span data-mw-comment-end="h-嵌入包含修飾詞"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=17" title="编辑章节:嵌入包含修飾詞"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u5d4c\u5165\u5305\u542b\u4fee\u98fe\u8a5e","replies":["h-\u7279\u6b8a\u7684\u5d4c\u5165\u5305\u542b\u65b9\u5f0f-\u5d4c\u5165\u5305\u542b\u4fee\u98fe\u8a5e"]}}--></div> <p><code>{{<i>頁面名稱</i>|<i>可選參數</i>}}</code>通常會嵌入包含其他頁面的內容,預設是嵌入包含自Template:模板命名空間。 </p><p>嵌入包含修飾詞類的魔術字可以改變嵌入包含時的行為。 </p><p>以上任何以<code>{{魔術字名稱}}</code>或<code>{{#魔術字名稱}}</code>調用的魔術字,皆可以使用這些修飾詞進行調整。 </p> <table class="wikitable"> <tbody><tr> <th>用法 </th> <th>輸出 </th> <th>說明 </th> <th>版本 </th></tr> <tr> <td><code>{{:xyz}}</code> </td> <td>非來自預設Template:模板命名空間的嵌入包含 </td> <td>表示更改嵌入包含命名空間的語法。單一冒號一般不會視為模板修飾詞,而是條目命名空間的前綴。 由於嵌入包含預設是使用Template命名空間,因此您可以使用<code>{{:UTC}}</code>(s. <code>{{UTC}}</code>)來包含主命名空間條目<a href="/wiki/UTC" class="mw-redirect" title="UTC">UTC</a>的內文,而不是{{<a href="/wiki/Template:UTC" title="Template:UTC">UTC</a>}}。 </td> <td> </td></tr> <tr> <td><code>{{int:xyz}}</code> </td> <td>介面語言訊息的內容 </td> <td>表示介面語言版本而顯示特定MediaWiki命名空間訊息的內容。同於<code>{{MediaWiki:xyz}}</code>, except standard message translation is applied depending on subpages and content/user/uselang language. Another difference is: this doesn't appear under "本页<a href="/wiki/Wikipedia:%E5%B5%8C%E5%85%A5%E5%8C%85%E5%90%AB" title="Wikipedia:嵌入包含">嵌入包含</a>了$1个页面:". Rendered as ⧼xyz⧽ if <span style="color:#BA0000; cursor: default;" title="不要创建「MediaWiki:xyz」!">MediaWiki:xyz</span> doesn't exist. See also <a href="https://www.mediawiki.org/wiki/Help:System_message" class="extiw" title="mw:Help:System message">mw:Help:System message</a>. </td> <td> </td></tr> <tr> <td><code>{{msg:xyz}}</code> </td> <td>優先引用模板內容 </td> <td>表示以嵌入包含為優先。 若存在一個名為"xyz"的魔術字,僅要使用msg:魔術字修飾詞,則會以<a href="/w/index.php?title=Template:Xyz&action=edit&redlink=1" class="new" title="Template:Xyz(页面不存在)">template:xyz</a>為優先(與<code>{{template:xyz}}</code>等價)。 一般情況下,若無使用本魔術字修飾詞,且模板名稱與魔術字衝突時,會以魔術字為優先。 </td> <td> </td></tr> <tr> <td><code>{{raw:xyz}}</code> </td> <td>僅使用模板內容 </td> <td>表示只做嵌入包含。 在中文維基百科的一般情況下,使用msg:與使用raw:魔術字修飾詞相同。然而在<a href="https://www.mediawiki.org/wiki/manual:$wgEnableScaryTranscluding" class="extiw" title="mw:manual:$wgEnableScaryTranscluding">$wgEnableScaryTranscluding</a>有啟用的維基中,此魔術字修飾詞可以實現跨維基引用,並且會引用其他維基媒體網站的維基代碼,而非純粹的HTML碼。 </td> <td><a href="/w/index.php?title=Template:MW_version&action=edit&redlink=1" class="new" title="Template:MW version(页面不存在)">Template:MW version</a> </td></tr> <tr> <td><code>{{msgnw:xyz}}</code> </td> <td>僅模板原使碼,不做解析 </td> <td>表示只做嵌入包含,不做維基代碼的解析。 使用此魔術字修飾詞會輸出未展開的維基代碼,包含<code><nowiki></code>、<code><noinclude></code>、<code><includeonly></code>、<code><onlyinclude></code>等代碼都會原封不動地輸出。唯須注意的是,此結果輸入到Lua模塊內會以<a href="https://en.wikipedia.org/wiki/Character_encodings_in_HTML#Character_references" class="extiw" title="en:Character encodings in HTML">HTML entities</a>的方式表示。 (more or less, for details see <a href="https://www.mediawiki.org/wiki/Help:Template#Usage" class="extiw" title="mw:Help:Template">mw:Help:Template#Usage</a>). </td> <td> </td></tr> <tr> <td><code>{{subst:xyz}}</code> </td> <td>替換引用結果。 </td> <td>In the wikitext, the tag is substituted by the <i>content</i> (single-level evaluation only), see <a href="/wiki/Help:%E6%9B%BF%E6%8D%A2%E5%BC%95%E7%94%A8" title="Help:替换引用">Help:替换引用</a>. </td> <td> </td></tr> <tr> <td><code>{{safesubst:xyz}}</code> </td> <td>替換引用結果或嵌入包含。 </td> <td>有例外處理的替換引用。使用一般subst魔術字修飾詞時,若替換引用失敗則會變為未解析模式如{{subst:xyz}},然而若使用safesubst魔術字修飾詞替換引用失敗則會變為普通的嵌入包含模式,即若<code>{{subst:xyz}}</code>失敗了,則會改為輸出<code>{{xyz}}</code>。另請參考<a href="https://www.mediawiki.org/wiki/Help:Template#Usage" class="extiw" title="mw:Help:Template">mw:Help:Template#Usage</a>。 </td> <td> </td></tr></tbody></table> <div class="mw-heading mw-heading3"><h3 id="特殊的嵌入包含方式" data-mw-thread-id="h-特殊的嵌入包含方式-嵌入包含修飾詞"><span id=".E7.89.B9.E6.AE.8A.E7.9A.84.E5.B5.8C.E5.85.A5.E5.8C.85.E5.90.AB.E6.96.B9.E5.BC.8F"></span><span data-mw-comment-start="" id="h-特殊的嵌入包含方式-嵌入包含修飾詞"></span>特殊的嵌入包含方式<span data-mw-comment-end="h-特殊的嵌入包含方式-嵌入包含修飾詞"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=18" title="编辑章节:特殊的嵌入包含方式"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <table class="wikitable"> <tbody><tr> <th>用法 </th> <th>輸出 </th> <th>說明 </th> <th>版本 </th></tr> <tr> <td><code>{{special:xyz}}</code> </td> <td>顯示特殊頁面內容於目標位置 </td> <td>顯示特殊頁面內容的語法。僅能顯示特殊頁面內容,不支援<a href="/wiki/Help:%E6%9B%BF%E6%8D%A2%E5%BC%95%E7%94%A8" title="Help:替换引用">Help:替換引用</a>。對此類嵌入包含使用msg、raw、msgnw和safesubst的效果與未使用修飾詞時是相同的。目前支援嵌入包含的特殊頁面有<a href="/wiki/Special:%E6%89%80%E6%9C%89%E9%A1%B5%E9%9D%A2" title="Special:所有页面">Special:AllPages</a>、<a href="/wiki/Special:%E5%89%8D%E7%BC%80%E7%B4%A2%E5%BC%95" title="Special:前缀索引">Special:PrefixIndex</a>、<a href="/wiki/Special:%E6%96%B0%E5%BB%BA%E6%96%87%E4%BB%B6" title="Special:新建文件">Special:NewFiles</a>、<a href="/wiki/Special:%E6%9C%80%E6%96%B0%E9%A1%B5%E9%9D%A2" title="Special:最新页面">Special:NewPages</a>、<a href="/wiki/Special:%E6%9C%80%E8%BF%91%E6%9B%B4%E6%94%B9" title="Special:最近更改">Special:RecentChanges</a>以及<a href="/wiki/Special:%E9%93%BE%E5%87%BA%E6%9B%B4%E6%94%B9" title="Special:链出更改">Special:RecentChangesLinked</a>。 </td> <td> </td></tr> <tr> <td><code>{{/xyz}}</code> </td> <td>嵌入相對的子頁面 </td> <td>嵌入以此頁面為準的相對路徑之子頁面,以<code>{{/xyz}}</code>為例,在此頁的效果等同於<code>{{Help:魔术字/xyz}}</code>。 </td> <td> </td></tr> <tr> <td><code>{{#lst:xyz|foo}}</code> </td> <td>嵌入對應頁面中被<section>標籤標記的內容。 </td> <td>嵌入在對應頁面中,包覆於<section begin=foo/>與<section end=foo/>之間的內容,支援替換引用,但不支援模板參數套用。目前用於<a href="/wiki/Wikipedia:AFD" class="mw-redirect" title="Wikipedia:AFD">WP:AFD</a>等討論的集中討論區。建议在条目中使用{{<a href="/wiki/Template:Excerpt" title="Template:Excerpt">Excerpt</a>}}模板,而不是此魔术字,以引导贡献者到原始页面编辑来促进合作。 </td> <td> </td></tr> <tr> <td><code>{{#lstx:xyz|foo}}</code> </td> <td>嵌入對應頁面中除了<code>{{#lst:xyz|foo}}</code>之外的內容 </td> <td>嵌入在對應頁面中除了<code>{{#lst:xyz|foo}}</code>之外的內容,並可以透過<code>{{#lstx:xyz|foo|要替換的內容}}</code>將對應內容以替代內容顯示。支援替換引用,但不支援模板中參數的引用。 </td> <td> </td></tr> <tr> <td><code>{{#lsth:xyz|章節1|章節2}}</code> </td> <td>嵌入對應頁面中的特定章節 </td> <td>嵌入在對應頁面中的特定章節,若未填寫章節,則顯示首段或導言。支援替換引用,但不支援模板中參數的引用。建议在条目中使用{{<a href="/wiki/Template:Excerpt" title="Template:Excerpt">Excerpt</a>}}模板,而不是此魔术字,以引导贡献者到原始页面编辑来促进合作。 </td> <td> </td></tr></tbody></table> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="参见" data-mw-thread-id="h-参见"><span id=".E5.8F.82.E8.A7.81"></span><span data-mw-comment-start="" id="h-参见"></span>参见<span data-mw-comment-end="h-参见"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=19" title="编辑章节:参见"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u53c2\u89c1","replies":[]}}--></div> <ul><li><a href="/wiki/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" title="Help:解析器函数">Help:解析器函数</a></li></ul> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="註釋" data-mw-thread-id="h-註釋"><span id=".E8.A8.BB.E9.87.8B"></span><span data-mw-comment-start="" id="h-註釋"></span>註釋<span data-mw-comment-end="h-註釋"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=20" title="编辑章节:註釋"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u8a3b\u91cb","replies":[]}}--></div> <div class="reflist" style="list-style-type: decimal;"> <ol class="references"> <li id="cite_note-1"><span class="mw-cite-backlink"><b><a href="#cite_ref-1">^</a></b></span> <span class="reference-text">「␡」須改輸入為ASCII版本的字元才會生效,例如<code>?'"`UNIQ--math-00000002-QINU`"'?</code>(需在編輯模式複製才有效),見<a href="/wiki/Special:%E5%9B%BA%E5%AE%9A%E9%93%BE%E6%8E%A5/58346519" title="Special:固定链接/58346519">測試樣例</a>。</span> </li> <li id="cite_note-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-2">^</a></b></span> <span class="reference-text">見過濾器紀錄的原始編輯內容<a href="/wiki/Special:%E6%BB%A5%E7%94%A8%E6%97%A5%E5%BF%97/3875674" title="Special:滥用日志/3875674">Special:滥用日志/3875674</a>與實際儲存後的編輯內容<a href="/wiki/Special:%E5%B7%AE%E5%BC%82/67174865" title="Special:差异/67174865">Special:Diff/67174865</a></span> </li> <li id="cite_note-3"><span class="mw-cite-backlink"><b><a href="#cite_ref-3">^</a></b></span> <span class="reference-text">見過濾器紀錄的原始編輯內容<a href="/wiki/Special:%E6%BB%A5%E7%94%A8%E6%97%A5%E5%BF%97/3875681" title="Special:滥用日志/3875681">Special:滥用日志/3875681</a>與實際儲存後的編輯內容<a href="/wiki/Special:%E5%B7%AE%E5%BC%82/67174958" title="Special:差异/67174958">Special:Diff/67174958</a></span> </li> </ol></div> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="外部链接" data-mw-thread-id="h-外部链接"><span id=".E5.A4.96.E9.83.A8.E9.93.BE.E6.8E.A5"></span><span data-mw-comment-start="" id="h-外部链接"></span>外部链接<span data-mw-comment-end="h-外部链接"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&action=edit&section=21" title="编辑章节:外部链接"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u5916\u90e8\u94fe\u63a5","replies":[]}}--></div> <ul><li class="mw-empty-elt"></li> <li class="mw-empty-elt"></li> <li><a class="external text" href="https://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3/includes/MagicWord.php">MagicWord.php的源代码</a></li></ul> <div class="navbox-styles"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r84265675"><style data-mw-deduplicate="TemplateStyles:r84261037">.mw-parser-output .navbox{box-sizing:border-box;border:1px solid #a2a9b1;width:100%;clear:both;font-size:88%;text-align:center;padding:1px;margin:1em auto 0}.mw-parser-output .navbox .navbox{margin-top:0}.mw-parser-output .navbox+.navbox,.mw-parser-output .navbox+.navbox-styles+.navbox{margin-top:-1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox-group,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{text-align:center;padding-left:1em;padding-right:1em}.mw-parser-output .navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background-color:#fdfdfd}.mw-parser-output .navbox-list{border-color:#fdfdfd}.mw-parser-output .navbox-list-with-group{text-align:left;border-left-width:2px;border-left-style:solid}.mw-parser-output tr+tr>.navbox-abovebelow,.mw-parser-output tr+tr>.navbox-group,.mw-parser-output tr+tr>.navbox-image,.mw-parser-output tr+tr>.navbox-list{border-top:2px solid #fdfdfd}.mw-parser-output .navbox-title{background-color:#ccf;position:relative}.mw-parser-output .navbox-abovebelow,.mw-parser-output .navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background-color:#ddf}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background-color:#e6e6ff}.mw-parser-output .navbox-even{background-color:#f7f7f7}.mw-parser-output .navbox-odd{background-color:transparent}.mw-parser-output .navbox .hlist td dl,.mw-parser-output .navbox .hlist td ol,.mw-parser-output .navbox .hlist td ul,.mw-parser-output .navbox td.hlist dl,.mw-parser-output .navbox td.hlist ol,.mw-parser-output .navbox td.hlist ul{padding:0.125em 0}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em;width:auto;padding-left:0.2em;position:absolute;left:1em}.mw-parser-output .navbox .mw-collapsible-toggle{margin-left:0.5em;position:absolute;right:1em}body.skin--responsive .mw-parser-output .navbox-image img{max-width:none!important}@media print{body.ns-0 .mw-parser-output .navbox{display:none!important}}</style><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r83933911"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r83933911"></div><div role="navigation" class="navbox" aria-labelledby="維基百科-&#123;zh-cn:帮助;_zh-hk:幫助;_zh-tw:說明;&#125;-页面" style="padding:3px"><table class="nowraplinks hlist mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="collapsible-title navbox-title" colspan="2"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r84265675"><style data-mw-deduplicate="TemplateStyles:r84244141">.mw-parser-output .navbar{display:inline;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar a>span,.mw-parser-output .navbar a>abbr{text-decoration:inherit}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:110%;margin:0 8em}.mw-parser-output .navbar-ct-mini{font-size:110%;margin:0 5em}html.skin-theme-clientpref-night .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}@media(prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}}@media print{.mw-parser-output .navbar{display:none!important}}</style><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:%E7%BB%B4%E5%9F%BA%E5%B8%AE%E5%8A%A9%E5%AF%BC%E8%88%AA" title="Template:维基帮助导航"><abbr title="查看该模板">查</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:%E7%BB%B4%E5%9F%BA%E5%B8%AE%E5%8A%A9%E5%AF%BC%E8%88%AA" title="Template talk:维基帮助导航"><abbr title="讨论该模板">论</abbr></a></li><li class="nv-edit"><a href="/wiki/Special:%E7%BC%96%E8%BE%91%E9%A1%B5%E9%9D%A2/Template:%E7%BB%B4%E5%9F%BA%E5%B8%AE%E5%8A%A9%E5%AF%BC%E8%88%AA" title="Special:编辑页面/Template:维基帮助导航"><abbr title="编辑该模板">编</abbr></a></li></ul></div><div id="維基百科-&#123;zh-cn:帮助;_zh-hk:幫助;_zh-tw:說明;&#125;-页面" style="font-size:110%;margin:0 5em"><a href="/wiki/Help:%E7%9B%AE%E5%BD%95" title="Help:目录">維基百科帮助页面</a></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%;text-align:center;">论述指引</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Wikipedia:%E5%85%B3%E4%BA%8E" title="Wikipedia:关于">关于维基百科</a> <ul><li><a href="/wiki/Help:%E7%9B%AE%E5%BD%95" title="Help:目录">帮助目录</a></li> <li><a href="/wiki/Wikipedia:%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E8%A7%A3%E7%AD%94" title="Wikipedia:常见问题解答">常见问题</a></li></ul></li> <li><a href="/wiki/Wikipedia:%E5%91%BD%E5%90%8D%E7%A9%BA%E9%97%B4" title="Wikipedia:命名空间">命名空間</a> <ul><li><a href="/wiki/Wikipedia:%E6%8D%B7%E5%BE%91#偽命名空間" title="Wikipedia:捷徑">伪命名空间</a></li></ul></li> <li><a href="/wiki/Help:%E6%90%9C%E7%B4%A2" title="Help:搜索">搜索</a></li> <li><a href="/wiki/Help:%E7%AB%A0%E8%8A%82" title="Help:章节">章节</a></li> <li><a href="/wiki/Help:%E5%88%86%E7%B1%BB" title="Help:分类">分类</a></li> <li><a href="/wiki/Help:%E9%93%BE%E6%8E%A5" title="Help:链接">链接</a> <ul><li><a href="/wiki/Help:%E8%B7%A8%E8%AF%AD%E8%A8%80%E9%93%BE%E6%8E%A5" title="Help:跨语言链接">跨语言链接</a></li></ul></li> <li><a href="/wiki/Help:URL" title="Help:URL">URL</a></li> <li><a href="/wiki/Help:%E9%9A%8F%E6%9C%BA%E9%A1%B5%E9%9D%A2" title="Help:随机页面">随机条目</a></li> <li><a href="/wiki/Help:%E7%89%B9%E6%AE%8A%E9%A1%B5%E9%9D%A2" title="Help:特殊页面">特殊页面</a></li> <li><a href="/wiki/Wikipedia:%E8%AE%A8%E8%AE%BA%E9%A1%B5" title="Wikipedia:讨论页">讨论页</a></li> <li><a href="/wiki/Wikipedia:%E8%A1%8C%E5%8B%95%E5%AD%98%E5%8F%96" title="Wikipedia:行動存取">移动访问</a></li> <li><a href="/wiki/Help:%E5%85%B6%E4%BB%96%E8%AA%9E%E8%A8%80" title="Help:其他語言">其他语言</a></li> <li><a href="/wiki/Help:%E5%AD%B8%E7%94%9F%E5%B9%AB%E5%8A%A9" title="Help:學生幫助">学生帮助</a></li> <li><a href="/wiki/Help:%E5%90%84%E9%A1%9E%E6%9B%B8%E8%99%9F" title="Help:各類書號">ISBN</a></li> <li><a href="/wiki/Help:%E8%A7%84%E8%8C%83%E6%8E%A7%E5%88%B6" title="Help:规范控制">规范控制</a></li> <li><span class="nowrap"><a href="/wiki/Help:%E4%BF%A1%E6%81%AF%E6%A1%86" title="Help:信息框">信息框</a>(<a href="/wiki/Help:%E5%A6%82%E4%BD%95%E9%96%B1%E8%AE%80%E7%94%9F%E7%89%A9%E8%B3%87%E8%A8%8A%E6%A1%86" title="Help:如何閱讀生物資訊框">生物資訊框</a>)</span></li> <li><a href="/wiki/Help:%E5%88%86%E9%A1%9E%E5%96%AE%E5%85%83%E8%AD%98%E5%88%A5%E7%A2%BC" title="Help:分類單元識別碼">分類單元識別碼</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%;text-align:center;">账户相关</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Help:%E5%A6%82%E4%BD%95%E8%AE%BF%E9%97%AE%E7%BB%B4%E5%9F%BA%E7%99%BE%E7%A7%91" title="Help:如何访问维基百科">访问</a></li> <li><a href="/wiki/Help:%E7%99%BB%E5%BD%95" title="Help:登录">登录</a></li> <li><a href="/wiki/Help:%E5%8F%82%E6%95%B0%E8%AE%BE%E7%BD%AE" title="Help:参数设置">参数设置</a></li> <li><a href="/wiki/Help:%E7%94%A8%E6%88%B7%E6%A0%B7%E5%BC%8F" title="Help:用户样式">用户样式</a></li> <li><a href="/wiki/Help:%E7%94%A8%E6%88%B7%E9%A1%B5" title="Help:用户页">用户页</a></li> <li><a href="/wiki/Help:%E7%94%B5%E5%AD%90%E9%82%AE%E4%BB%B6%E7%A1%AE%E8%AE%A4" title="Help:电子邮件确认">电子邮件确认</a></li> <li><a href="/wiki/Help:%E6%88%91%E8%A2%AB%E5%B0%81%E7%A6%81%E4%BA%86" title="Help:我被封禁了">我被封禁了</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%;text-align:center;">追踪更改</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Help:%E9%A1%B5%E9%9D%A2%E5%8E%86%E5%8F%B2" title="Help:页面历史">页面历史</a></li> <li><a href="/wiki/Help:%E5%B7%AE%E5%BC%82" title="Help:差异">差异</a></li> <li><a href="/wiki/Help:%E9%93%BE%E5%85%A5%E9%A1%B5%E9%9D%A2" title="Help:链入页面">链入页面</a></li> <li><a href="/wiki/Help:%E9%93%BE%E5%87%BA%E6%9B%B4%E6%94%B9" title="Help:链出更改">相关更改</a></li> <li><a href="/wiki/Help:%E6%9C%80%E8%BF%91%E6%9B%B4%E6%94%B9" title="Help:最近更改">最近更改</a></li> <li><a href="/wiki/Help:%E7%9B%91%E8%A7%86%E5%88%97%E8%A1%A8" title="Help:监视列表">监视列表</a></li> <li><a href="/wiki/Help:%E7%BC%96%E8%BE%91%E6%91%98%E8%A6%81" title="Help:编辑摘要">编辑摘要</a></li> <li><a href="/wiki/Help:%E4%BD%BF%E7%94%A8%E8%80%85%E8%B2%A2%E7%8D%BB" title="Help:使用者貢獻">用户贡献</a></li> <li><a href="/wiki/Help:%E5%B0%8F%E4%BF%AE%E6%94%B9" title="Help:小修改">小修改</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%;text-align:center;"><a href="/wiki/Help:%E7%BC%96%E8%BE%91%E6%89%8B%E5%86%8C" title="Help:编辑手册">编辑问题</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Help:%E5%88%9B%E5%BB%BA%E6%96%B0%E6%9D%A1%E7%9B%AE" title="Help:创建新条目">创建新頁面</a></li> <li><a href="/wiki/Wikipedia:%E5%91%BD%E5%90%8D%E5%B8%B8%E8%A7%84" title="Wikipedia:命名常规">页面名称</a></li> <li><a href="/wiki/Help:%E7%BC%96%E8%BE%91%E9%A1%B5%E9%9D%A2" title="Help:编辑页面">编辑页面</a></li> <li><a href="/wiki/Help:%E9%93%BE%E6%8E%A5%E9%A2%9C%E8%89%B2" title="Help:链接颜色">链接颜色</a></li> <li><a href="/wiki/Help:%E5%88%97%E8%A1%A8" title="Help:列表">列表</a></li> <li><a href="/wiki/Help:%E8%A1%A8%E6%A0%BC" title="Help:表格">表格</a></li> <li><a href="/wiki/Help:%E5%9B%BE%E5%83%8F" title="Help:图像">图像</a></li> <li>模板(<a href="/wiki/Help:%E6%A8%A1%E6%9D%BF" title="Help:模板">模板原理</a></li> <li><a href="/wiki/Category:%E7%B6%AD%E5%9F%BA%E7%99%BE%E7%A7%91%E6%A8%A1%E6%9D%BF" title="Category:維基百科模板">模板分类</a></li> <li><a href="/wiki/Wikipedia:%E6%A8%A1%E6%9D%BF%E6%B6%88%E6%81%AF" title="Wikipedia:模板消息">模板消息</a>)</li> <li><a href="/wiki/Help:HTML" title="Help:HTML">HTML</a></li> <li><a href="/wiki/Help:%E9%A1%B5%E9%9D%A2%E9%87%8D%E5%91%BD%E5%90%8D" title="Help:页面重命名">页面移动或重命名</a></li> <li><a href="/wiki/Help:%E7%89%B9%E6%AE%8A%E5%AD%97%E6%AF%8D%E8%88%87%E7%AC%A6%E8%99%9F" title="Help:特殊字母與符號">特殊字符</a></li> <li><a href="/wiki/Help:%E5%9B%9E%E9%80%80" title="Help:回退">回退</a></li> <li><span class="nowrap"><a href="/wiki/Help:%E8%84%9A%E6%B3%A8" title="Help:脚注">脚注</a>(<a href="/wiki/Help:%E5%A6%82%E4%BD%95%E5%BC%95%E7%94%A8%E6%9D%A5%E6%BA%90" title="Help:如何引用来源">如何引用来源</a></span></li> <li><span class="nowrap"><a href="/wiki/Help:%E5%8F%83%E8%80%83%E6%96%87%E7%8D%BB%E5%B7%A5%E5%85%B7" title="Help:參考文獻工具">相关工具</a>)</span></li> <li><a href="/wiki/Help:%E5%90%84%E9%A1%9E%E6%9B%B8%E8%99%9F" title="Help:各類書號">各類書號</a></li> <li><a href="/wiki/Wikipedia:%E7%AD%BE%E5%90%8D" title="Wikipedia:签名">签名</a></li> <li><a href="/wiki/Help:%E9%AB%98%E7%BA%A7%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2%E8%AF%AD%E6%B3%95" title="Help:高级字词转换语法">高级字词转换</a></li> <li><a href="/wiki/Wikipedia:%E6%B6%88%E6%AD%A7%E4%B9%89" title="Wikipedia:消歧义">消歧义</a></li> <li><a href="/wiki/Help:%E9%87%8D%E5%AE%9A%E5%90%91" title="Help:重定向">重定向</a></li> <li><a href="/wiki/Wikipedia:%E5%8F%AF%E8%A7%86%E5%8C%96%E7%BC%96%E8%BE%91%E5%99%A8/%E7%94%A8%E6%88%B7%E6%8C%87%E5%8D%97" title="Wikipedia:可视化编辑器/用户指南">可视化编辑器</a></li> <li><a href="/wiki/Help:%E7%BF%BB%E8%AF%91" title="Help:翻译">翻译</a></li> <li><a href="/wiki/Help:%E6%9B%B4%E6%96%B0%E6%90%9C%E7%B4%A2%E5%BC%95%E6%93%8E%E7%BB%93%E6%9E%9C" title="Help:更新搜索引擎结果">更新搜尋引擎結果</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%;text-align:center;">進階功能</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a class="mw-selflink selflink">魔术字</a></li> <li><a href="/wiki/Help:%E9%BB%98%E8%AE%A4%E5%8F%82%E6%95%B0" title="Help:默认参数">默认参数</a></li> <li><a href="/wiki/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" title="Help:解析器函数">解析器函数</a>(<a href="/wiki/Help:%E6%99%82%E9%96%93%E5%BA%8F%E8%99%9F" title="Help:時間序號">時間序號</a></li> <li><a href="/wiki/Help:%E9%9A%A8%E6%A9%9F%E9%A1%AF%E7%A4%BA" title="Help:隨機顯示">隨機功能</a>)</li> <li><a href="/wiki/Help:%E6%9B%BF%E6%8D%A2%E5%BC%95%E7%94%A8" title="Help:替换引用">替换引用</a></li> <li><a href="/wiki/Help:%E4%B9%90%E8%B0%B1" title="Help:乐谱">乐谱</a></li> <li><a href="/wiki/Help:%E8%AE%A1%E7%AE%97" title="Help:计算">计算</a></li> <li><a href="/wiki/Help:%E6%95%B0%E5%AD%A6%E5%85%AC%E5%BC%8F" title="Help:数学公式">数学公式</a></li> <li><a href="/wiki/Help:%E7%AE%80%E6%98%93%E6%97%B6%E9%97%B4%E7%BA%BF%E8%AF%AD%E6%B3%95" title="Help:简易时间线语法">简易时间线语法</a></li> <li><a href="/wiki/Help:%E8%BE%93%E5%85%A5%E6%A1%86" title="Help:输入框">输入框</a></li> <li><a href="/wiki/Help:%E8%87%AA%E8%A8%82%E9%A6%96%E9%A0%81" title="Help:自訂首頁">自定义首頁</a></li> <li><a href="/wiki/Help:%E5%B0%8F%E6%B8%AC" title="Help:小測">小測</a></li> <li><a href="/wiki/Help:%E6%93%B4%E5%B1%95" title="Help:擴展">擴展</a></li> <li><a href="/wiki/Help:LiquidThreads" title="Help:LiquidThreads"><span class="tmp-color" style="color:grey">LiquidThreads</span></a></li> <li><a href="/wiki/Wikipedia:%E7%B5%90%E6%A7%8B%E5%BC%8F%E8%A8%8E%E8%AB%96" title="Wikipedia:結構式討論"><span class="tmp-color" style="color:grey">結構式討論(Flow)</span></a></li> <li><a href="/wiki/Help:%E5%B1%82%E5%8F%A0%E6%A0%B7%E5%BC%8F%E8%A1%A8" title="Help:层叠样式表">层叠样式表(CSS)</a></li> <li><a href="/wiki/Wikipedia:%E6%A8%A1%E6%9D%BF%E6%95%B0%E6%8D%AE" title="Wikipedia:模板数据">模板数据</a></li> <li><a href="/wiki/Help:%E6%89%8B%E5%B7%A5%E5%AD%97%E8%A9%9E%E8%BD%89%E6%8F%9B" title="Help:手工字詞轉換">手工字词转换</a></li> <li><a href="/wiki/Help:%E4%B8%AD%E6%96%87%E7%BB%B4%E5%9F%BA%E7%99%BE%E7%A7%91%E7%9A%84%E7%B9%81%E7%AE%80%E3%80%81%E5%9C%B0%E5%8C%BA%E8%AF%8D%E5%A4%84%E7%90%86" title="Help:中文维基百科的繁简、地区词处理">中文维基百科的繁简、地区词处理</a></li> <li><a href="/wiki/Help:%E6%91%BA%E7%96%8A%E9%A1%AF%E7%A4%BA" title="Help:摺疊顯示">折叠显示</a></li> <li><a href="/wiki/Wikipedia:%E9%93%81%E8%B7%AF%E7%B3%BB%E7%BB%9F%E6%A0%87%E7%A4%BA" title="Wikipedia:铁路系统标示">铁路系统标示</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%;text-align:center;">姊妹项目</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="https://meta.wikimedia.org/wiki/%E9%A6%96%E9%A1%B5" class="extiw" title="m:首页">元维基</a></li> <li><a href="https://zh.wikinews.org/wiki/Wikinews:%E5%B8%AE%E5%8A%A9" class="extiw" title="n:Wikinews:帮助">維基新聞</a></li> <li><a href="https://zh.wikiquote.org/wiki/Help:%E5%B8%AE%E5%8A%A9" class="extiw" title="q:Help:帮助">維基語錄</a></li> <li><a href="https://zh.wiktionary.org/wiki/Wiktionary:%E5%B8%AE%E5%8A%A9" class="extiw" title="wikt:Wiktionary:帮助">維基詞典</a></li> <li><a href="https://zh.wikibooks.org/wiki/Wikibooks:%E5%B8%AE%E5%8A%A9" class="extiw" title="b:Wikibooks:帮助">維基教科書</a></li> <li><a href="https://zh.wikisource.org/wiki/Help:%E7%9B%AE%E5%BD%95" class="extiw" title="s:Help:目录">維基文庫</a></li> <li><a href="https://commons.wikimedia.org/wiki/%E9%A6%96%E9%A1%B5" class="extiw" title="commons:首页">维基共享资源</a></li> <li><a href="https://species.wikimedia.org/wiki/%E9%A6%96%E9%A1%B5" class="extiw" title="wikispecies:首页">維基物種</a></li> <li><a href="https://zh.wikiversity.org/wiki/%E9%A6%96%E9%A1%B5" class="extiw" title="v:首页">維基學院</a></li> <li><a href="https://zh.wikivoyage.org/wiki/Wikivoyage:%E5%B8%AE%E5%8A%A9" class="extiw" title="voy:Wikivoyage:帮助">維基導遊</a></li> <li><a href="https://www.wikidata.org/wiki/Help:%E7%9B%AE%E5%BD%95" class="extiw" title="wikidata:Help:目录">维基数据</a></li> <li><a href="https://www.mediawiki.org/wiki/Help:Contents/zh" class="extiw" title="mw:Help:Contents/zh">MediaWiki</a></li></ul> </div></td></tr><tr><td class="navbox-abovebelow" colspan="2"><div> <ul><li>另请参阅:<a href="/wiki/Template:Wikipedia_policies_and_guidelines" title="Template:Wikipedia policies and guidelines">方針與指引</a></li> <li><a href="/wiki/Template:%E6%A0%BC%E5%BC%8F%E6%89%8B%E5%86%8A" title="Template:格式手冊">格式手冊</a></li> <li><a href="/wiki/Wikipedia:%E6%9C%AF%E8%AF%AD%E8%A1%A8" title="Wikipedia:术语表">术语表</a></li> <li><a href="/wiki/Wikipedia:%E8%AF%BB%E8%80%85%E7%B4%A2%E5%BC%95" title="Wikipedia:读者索引">读者索引</a></li></ul> </div></td></tr></tbody></table></div> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐749c85c58b‐tprc5 Cached time: 20241119050521 Cache expiry: 3286 Reduced expiry: true Complications: [vary‐user, vary‐page‐id, show‐toc] DiscussionTools time usage: 0.128 seconds CPU time usage: 1.202 seconds Real time usage: 1.433 seconds Preprocessor visited node count: 9676/1000000 Post‐expand include size: 557700/2097152 bytes Template argument size: 11958/2097152 bytes Highest expansion depth: 25/100 Expensive parser function count: 11/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 23548/5000000 bytes Lua time usage: 0.326/10.000 seconds Lua memory usage: 5092936/52428800 bytes Number of Wikibase entities loaded: 1/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 976.665 1 -total 28.87% 281.970 233 Help:魔术字/tlm 21.37% 208.708 235 Template:Anchor 9.73% 95.069 1 Template:NoteTA/MediaWiki 9.44% 92.241 1 Template:NoteTA 9.31% 90.896 1 Template:更新 6.93% 67.726 1 Template:IFUT 6.93% 67.703 1 Template:Ambox 6.48% 63.279 1 Template:If_subst 6.29% 61.466 1 Template:H-f_Help --> <!-- Saved in parser cache with key zhwiki:pcache:idhash:1048886-0!dateformat=default!zh and timestamp 20241119050521 and revision id 84168181. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">检索自“<a dir="ltr" href="https://zh.wikipedia.org/w/index.php?title=Help:魔术字&oldid=84168181">https://zh.wikipedia.org/w/index.php?title=Help:魔术字&oldid=84168181</a>”</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Special:%E9%A1%B5%E9%9D%A2%E5%88%86%E7%B1%BB" title="Special:页面分类">分类</a>:<ul><li><a href="/wiki/Category:%E5%B8%AE%E5%8A%A9%E6%96%87%E6%A1%A3" title="Category:帮助文档">帮助文档</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">隐藏分类:<ul><li><a href="/wiki/Category:%E4%BD%BF%E7%94%A8ISBN%E9%AD%94%E6%9C%AF%E9%93%BE%E6%8E%A5%E7%9A%84%E9%A1%B5%E9%9D%A2" title="Category:使用ISBN魔术链接的页面">使用ISBN魔术链接的页面</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> 本页面最后修订于2024年9月11日 (星期三) 01:21。</li> <li id="footer-info-copyright">本站的全部文字在<a rel="nofollow" class="external text" href="//creativecommons.org/licenses/by-sa/4.0/deed.zh">知识共享 署名-相同方式共享 4.0协议</a>之条款下提供,附加条款亦可能应用。(请参阅<a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">使用条款</a>)<br /> Wikipedia®和维基百科标志是<a rel="nofollow" class="external text" href="https://wikimediafoundation.org/zh">维基媒体基金会</a>的注册商标;维基™是维基媒体基金会的商标。<br /> 维基媒体基金会是按美国国內稅收法501(c)(3)登记的<a class="external text" href="https://donate.wikimedia.org/wiki/Special:MyLanguage/Tax_deductibility">非营利慈善机构</a>。<br /></li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">隐私政策</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:%E5%85%B3%E4%BA%8E">关于维基百科</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:%E5%85%8D%E8%B4%A3%E5%A3%B0%E6%98%8E">免责声明</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">行为准则</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">开发者</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/zh.wikipedia.org">统计</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie声明</a></li> <li id="footer-places-mobileview"><a href="//zh.m.wikipedia.org/w/index.php?title=Help:%E9%AD%94%E6%9C%AF%E5%AD%97&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">手机版视图</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-749c85c58b-tprc5","wgBackendResponseTime":1626,"wgDiscussionToolsPageThreads":[{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-大致資訊","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-状态开关","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-变量","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-日期与时间-变量","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-技术元数据-变量","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-统计-变量","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-页面标题-变量","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-命名空间-变量","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-其他特殊符號","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-自動替換引-{}-用的符號-其他特殊符號","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-解析器函数","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-URL数据-解析器函数","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-命名空间_2-解析器函数","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-格式-解析器函数","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-杂项-解析器函数","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-借助魔术字呼叫解析器函數","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-嵌入包含修飾詞","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-特殊的嵌入包含方式-嵌入包含修飾詞","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-参见","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-註釋","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-外部链接","replies":[]}],"wgPageParseReport":{"discussiontools":{"limitreport-timeusage":"0.128"},"limitreport":{"cputime":"1.202","walltime":"1.433","ppvisitednodes":{"value":9676,"limit":1000000},"postexpandincludesize":{"value":557700,"limit":2097152},"templateargumentsize":{"value":11958,"limit":2097152},"expansiondepth":{"value":25,"limit":100},"expensivefunctioncount":{"value":11,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":23548,"limit":5000000},"entityaccesscount":{"value":1,"limit":400},"timingprofile":["100.00% 976.665 1 -total"," 28.87% 281.970 233 Help:魔术字/tlm"," 21.37% 208.708 235 Template:Anchor"," 9.73% 95.069 1 Template:NoteTA/MediaWiki"," 9.44% 92.241 1 Template:NoteTA"," 9.31% 90.896 1 Template:更新"," 6.93% 67.726 1 Template:IFUT"," 6.93% 67.703 1 Template:Ambox"," 6.48% 63.279 1 Template:If_subst"," 6.29% 61.466 1 Template:H-f_Help"]},"scribunto":{"limitreport-timeusage":{"value":"0.326","limit":"10.000"},"limitreport-memusage":{"value":5092936,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-749c85c58b-tprc5","timestamp":"20241119050521","ttl":3286,"transientcontent":true}}});});</script> </body> </html>