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":"c570c58f-d0f2-4f6c-82f8-c15d47047517","wgCanonicalNamespace":"Help","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":12,"wgPageName":"Help:解析器函数","wgTitle":"解析器函数","wgCurRevisionId":84688837,"wgRevisionId":84688837,"wgArticleId":271489,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["維基百科模板","维基百科指南"],"wgPageViewLanguage":"zh","wgPageContentLanguage":"zh","wgPageContentModel":"wikitext","wgRelevantPageName":"Help:解析器函数","wgRelevantArticleId":271489,"wgUserVariant":"zh","wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"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":20000,"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":"Q8614470","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","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.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=["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&amp;modules=ext.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&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=zh&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=zh&amp;modules=ext.gadget.large-font&amp;only=styles&amp;skin=vector-2022"> <link rel="stylesheet" href="/w/load.php?lang=zh&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0"> <link rel="alternate" type="application/x-wiki" title="编辑本页" href="/w/index.php?title=Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0"> <link rel="alternate" hreflang="zh" href="https://zh.wikipedia.org/wiki/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0"> <link rel="alternate" hreflang="zh-Hans" href="https://zh.wikipedia.org/zh-hans/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0"> <link rel="alternate" hreflang="zh-Hans-CN" href="https://zh.wikipedia.org/zh-cn/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0"> <link rel="alternate" hreflang="zh-Hans-MY" href="https://zh.wikipedia.org/zh-my/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0"> <link rel="alternate" hreflang="zh-Hans-SG" href="https://zh.wikipedia.org/zh-sg/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0"> <link rel="alternate" hreflang="zh-Hant" href="https://zh.wikipedia.org/zh-hant/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0"> <link rel="alternate" hreflang="zh-Hant-HK" href="https://zh.wikipedia.org/zh-hk/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0"> <link rel="alternate" hreflang="zh-Hant-MO" href="https://zh.wikipedia.org/zh-mo/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0"> <link rel="alternate" hreflang="zh-Hant-TW" href="https://zh.wikipedia.org/zh-tw/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0"> <link rel="alternate" hreflang="x-default" href="https://zh.wikipedia.org/wiki/Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0"> <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&amp;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&amp;utm_medium=sidebar&amp;utm_campaign=spontaneous&amp;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&amp;returnto=Help%3A%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" 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&amp;returnto=Help%3A%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" 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&amp;utm_medium=sidebar&amp;utm_campaign=spontaneous&amp;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&amp;returnto=Help%3A%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" 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&amp;returnto=Help%3A%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" 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> <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-expr" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#expr"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1</span> <span>expr</span> </div> </a> <ul id="toc-expr-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-if" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#if"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.2</span> <span>if</span> </div> </a> <ul id="toc-if-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-ifeq" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#ifeq"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.3</span> <span>ifeq</span> </div> </a> <ul id="toc-ifeq-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-ifexist" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#ifexist"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.4</span> <span>ifexist</span> </div> </a> <ul id="toc-ifexist-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-ifexpr" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#ifexpr"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.5</span> <span>ifexpr</span> </div> </a> <ul id="toc-ifexpr-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-switch" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#switch"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.6</span> <span>switch</span> </div> </a> <ul id="toc-switch-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-time" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#time"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.7</span> <span>time</span> </div> </a> <ul id="toc-time-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-timef" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#timef"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.8</span> <span>timef</span> </div> </a> <ul id="toc-timef-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-language" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#language"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.9</span> <span>language</span> </div> </a> <ul id="toc-language-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-babel" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#babel"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.10</span> <span>babel</span> </div> </a> <ul id="toc-babel-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-invoke" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#invoke"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.11</span> <span>invoke</span> </div> </a> <ul id="toc-invoke-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-subst" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#subst"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>subst</span> </div> </a> <ul id="toc-subst-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> <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">4</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="前往另一种语言写成的文章。23种语言可用" > <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-23" 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">23种语言</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/Hilfe:Vorlagenprogrammierung" title="Hilfe:Vorlagenprogrammierung – 德语" lang="de" hreflang="de" data-title="Hilfe:Vorlagenprogrammierung" data-language-autonym="Deutsch" data-language-local-name="德语" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-dsb mw-list-item"><a href="https://dsb.wikipedia.org/wiki/Pomoc:P%C5%9Bed%C5%82ogowe_programowanje" title="Pomoc:Pśedłogowe programowanje – 下索布语" lang="dsb" hreflang="dsb" data-title="Pomoc:Pśedłogowe programowanje" data-language-autonym="Dolnoserbski" data-language-local-name="下索布语" class="interlanguage-link-target"><span>Dolnoserbski</span></a></li><li class="interlanguage-link interwiki-en mw-list-item"><a href="https://en.wikipedia.org/wiki/Help:Conditional_expressions" title="Help:Conditional expressions – 英语" lang="en" hreflang="en" data-title="Help:Conditional expressions" data-language-autonym="English" data-language-local-name="英语" class="interlanguage-link-target"><span>English</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Aide:Fonctions_parseur" title="Aide:Fonctions parseur – 法语" lang="fr" hreflang="fr" data-title="Aide:Fonctions parseur" data-language-autonym="Français" data-language-local-name="法语" class="interlanguage-link-target"><span>Français</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%94%D7%95%D7%A8%D7%90%D7%95%D7%AA_%D7%AA%D7%A0%D7%90%D7%99" 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-hr mw-list-item"><a href="https://hr.wikipedia.org/wiki/Pomo%C4%87:Funkcije_parsera" title="Pomoć:Funkcije parsera – 克罗地亚语" lang="hr" hreflang="hr" data-title="Pomoć:Funkcije parsera" data-language-autonym="Hrvatski" data-language-local-name="克罗地亚语" class="interlanguage-link-target"><span>Hrvatski</span></a></li><li class="interlanguage-link interwiki-hsb mw-list-item"><a href="https://hsb.wikipedia.org/wiki/Pomoc:P%C5%99ed%C5%82ohowe_programowanje" title="Pomoc:Předłohowe programowanje – 上索布语" lang="hsb" hreflang="hsb" data-title="Pomoc:Předłohowe programowanje" data-language-autonym="Hornjoserbsce" data-language-local-name="上索布语" class="interlanguage-link-target"><span>Hornjoserbsce</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/Bantuan:Ungkapan_bersyarat" title="Bantuan:Ungkapan bersyarat – 印度尼西亚语" lang="id" hreflang="id" data-title="Bantuan:Ungkapan bersyarat" data-language-autonym="Bahasa Indonesia" data-language-local-name="印度尼西亚语" class="interlanguage-link-target"><span>Bahasa Indonesia</span></a></li><li class="interlanguage-link interwiki-inh mw-list-item"><a href="https://inh.wikipedia.org/wiki/%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8:%D0%9F%D0%B0%D1%80%D1%81%D0%B5%D1%80%D0%B0_%D1%84%D1%83%D0%BD%D0%BA%D1%86%D0%B5%D1%88" title="Википеди:Парсера функцеш – 印古什语" lang="inh" hreflang="inh" data-title="Википеди:Парсера функцеш" data-language-autonym="ГӀалгӀай" data-language-local-name="印古什语" class="interlanguage-link-target"><span>ГӀалгӀай</span></a></li><li class="interlanguage-link interwiki-is mw-list-item"><a href="https://is.wikipedia.org/wiki/Hj%C3%A1lp:%C3%9E%C3%A1ttunar_a%C3%B0ger%C3%B0ir" title="Hjálp:Þáttunar aðgerðir – 冰岛语" lang="is" hreflang="is" data-title="Hjálp:Þáttunar aðgerðir" data-language-autonym="Íslenska" data-language-local-name="冰岛语" class="interlanguage-link-target"><span>Íslenska</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/Aiuto:Funzioni_parser" title="Aiuto:Funzioni parser – 意大利语" lang="it" hreflang="it" data-title="Aiuto:Funzioni parser" 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:%E6%9D%A1%E4%BB%B6%E6%96%87" 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-lb mw-list-item"><a href="https://lb.wikipedia.org/wiki/H%C3%ABllef:Schablouneprogramm%C3%A9ierung" title="Hëllef:Schablouneprogramméierung – 卢森堡语" lang="lb" hreflang="lb" data-title="Hëllef:Schablouneprogramméierung" data-language-autonym="Lëtzebuergesch" data-language-local-name="卢森堡语" class="interlanguage-link-target"><span>Lëtzebuergesch</span></a></li><li class="interlanguage-link interwiki-nl mw-list-item"><a href="https://nl.wikipedia.org/wiki/Help:Parserfuncties" title="Help:Parserfuncties – 荷兰语" lang="nl" hreflang="nl" data-title="Help:Parserfuncties" data-language-autonym="Nederlands" data-language-local-name="荷兰语" class="interlanguage-link-target"><span>Nederlands</span></a></li><li class="interlanguage-link interwiki-pl mw-list-item"><a href="https://pl.wikipedia.org/wiki/Pomoc:Funkcje_parsera" title="Pomoc:Funkcje parsera – 波兰语" lang="pl" hreflang="pl" data-title="Pomoc:Funkcje parsera" 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:Fun%C3%A7%C3%B5es_sint%C3%A1ticas" title="Ajuda:Funções sintáticas – 葡萄牙语" lang="pt" hreflang="pt" data-title="Ajuda:Funções sintáticas" data-language-autonym="Português" data-language-local-name="葡萄牙语" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%8F:%D0%A4%D1%83%D0%BD%D0%BA%D1%86%D0%B8%D0%B8_%D0%BF%D0%B0%D1%80%D1%81%D0%B5%D1%80%D0%B0" title="Википедия:Функции парсера – 俄语" lang="ru" hreflang="ru" data-title="Википедия:Функции парсера" 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:Conditional_expressions" title="Help:Conditional expressions – Simple English" lang="en-simple" hreflang="en-simple" data-title="Help:Conditional expressions" 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-sl mw-list-item"><a href="https://sl.wikipedia.org/wiki/Pomo%C4%8D:ParserFunctions" title="Pomoč:ParserFunctions – 斯洛文尼亚语" lang="sl" hreflang="sl" data-title="Pomoč:ParserFunctions" data-language-autonym="Slovenščina" data-language-local-name="斯洛文尼亚语" class="interlanguage-link-target"><span>Slovenščina</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%A4%D1%83%D0%BD%D0%BA%D1%86%D1%96%D1%97_%D0%BF%D0%B0%D1%80%D1%81%D0%B5%D1%80%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-ur mw-list-item"><a href="https://ur.wikipedia.org/wiki/%D9%85%D8%B9%D8%A7%D9%88%D9%86%D8%AA:%D8%B4%D8%B1%D8%B7%DB%8C%DB%81_%D8%AC%D9%85%D9%84%DB%92" title="معاونت:شرطیہ جملے – 乌尔都语" lang="ur" hreflang="ur" data-title="معاونت:شرطیہ جملے" data-language-autonym="اردو" data-language-local-name="乌尔都语" class="interlanguage-link-target"><span>اردو</span></a></li><li class="interlanguage-link interwiki-vi mw-list-item"><a href="https://vi.wikipedia.org/wiki/Tr%E1%BB%A3_gi%C3%BAp:T%C3%ADnh_to%C3%A1n" title="Trợ giúp:Tính toán – 越南语" lang="vi" hreflang="vi" data-title="Trợ giúp:Tính toán" data-language-autonym="Tiếng Việt" data-language-local-name="越南语" class="interlanguage-link-target"><span>Tiếng Việt</span></a></li><li class="interlanguage-link interwiki-yi mw-list-item"><a href="https://yi.wikipedia.org/wiki/%D7%B0%D7%99%D7%A7%D7%99%D7%A4%D6%BC%D7%A2%D7%93%D7%99%D7%A2:%D7%A4%D7%90%D7%A8%D7%96%D7%A2%D7%A8_%D7%A4%D7%95%D7%A0%D7%A7%D7%A6%D7%99%D7%90%D7%A0%D7%A2%D7%9F" title="װיקיפּעדיע:פארזער פונקציאנען – 意第绪语" lang="yi" hreflang="yi" data-title="װיקיפּעדיע:פארזער פונקציאנען" 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/Q8614470#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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" title="查看帮助页面[c]" accesskey="c"><span>帮助</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Help_talk:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" 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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" 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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" 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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" 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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" 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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" 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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" 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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" 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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" 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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" 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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0"><span>阅读</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0"><span>阅读</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" 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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" 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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;oldid=84688837" title="此页面该修订版本的固定链接"><span>固定链接</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;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&amp;url=https%3A%2F%2Fzh.wikipedia.org%2Fwiki%2FHelp%3A%25E8%25A7%25A3%25E6%259E%2590%25E5%2599%25A8%25E5%2587%25BD%25E6%2595%25B0"><span>获取短链接</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&amp;url=https%3A%2F%2Fzh.wikipedia.org%2Fwiki%2FHelp%3A%25E8%25A7%25A3%25E6%259E%2590%25E5%2599%25A8%25E5%2587%25BD%25E6%2595%25B0"><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&amp;page=Help%3A%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;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-mediawiki mw-list-item"><a href="https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions" 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:Parser_function" 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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0" 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/Q8614470" 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-ac4a33cc" 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"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="zh" dir="ltr"><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">2018年9月5日</span>)</i></small><span class="hide-when-compact"><br/><small>請更新本文以反映近況和新增内容。完成修改後請移除本模板。</small></span><span class="hide-when-compact"></span></div></td></tr></tbody></table> <table class="plainlinks ombox ombox-notice" role="presentation"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/9/9e/Twemoji_1f527.svg/40px-Twemoji_1f527.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/9e/Twemoji_1f527.svg/60px-Twemoji_1f527.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/9e/Twemoji_1f527.svg/80px-Twemoji_1f527.svg.png 2x" data-file-width="512" data-file-height="512"/></span></span></td><td class="mbox-text">本页為<b><a href="/wiki/Wikipedia:%E8%AB%96%E8%BF%B0#操作指南、資訊頁、輔助說明" title="Wikipedia:論述">操作指南</a></b>,用於介紹中文维基百科社群的一些实现和操作方式。<br/><small>本文<b>只是<a href="/wiki/Wikipedia:%E8%AB%96%E8%BF%B0" title="Wikipedia:論述">論述</a></b>,不屬於<a href="/wiki/Wikipedia:%E6%96%B9%E9%87%9D%E8%88%87%E6%8C%87%E5%BC%95" title="Wikipedia:方針與指引">方針或指引</a>。如果本指南與方針或指引起衝突或不一致,請以方針或指引的條文為準。</small></td><td class="mbox-imageright"><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:PF"></span><span id="H:FUNC"></span></div><div class="module-omboxshortcutplain 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:PF&amp;redirect=no">H:PF</a></span></li><li><span class="plainlinks"><a class="external text" href="https://zh.wikipedia.org/w/index.php?title=Help:FUNC&amp;redirect=no">H:FUNC</a></span></li></ul></div></td></tr></tbody></table> <div id="noteTA-ac4a33cc" 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"></div></div></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:Extension:ParserFunctions/zh" class="extiw" title="mw:Help:Extension:ParserFunctions/zh">Help:Extension:ParserFunctions/zh</a></b></div></div> </div> <p><b>解析器函数</b>是MediaWiki扩展,由<a href="https://www.mediawiki.org/wiki/Extension:ParserFunctions" class="extiw" title="mw:Extension:ParserFunctions">mw:Extension:ParserFunctions</a>提供,包含多个解析函数解释器。本扩展的典型语法是: </p> <pre>{{#函数名:参数1|参数2|参数3|...}} </pre> <p>目前有预定义的函数<code>expr</code>、<code>if</code>、<code>ifeq</code>、<code>ifexpr</code>、<code>switch</code>(<code>rand</code>暂时不用)。 </p><p>各函数名都不分大小写。 </p><p>忽略语句的空格、换行等空白字符。 </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.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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;action=edit&amp;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-\u51fd\u6570","replies":["h-expr-\u51fd\u6570","h-if-\u51fd\u6570","h-ifeq-\u51fd\u6570","h-ifexist-\u51fd\u6570","h-ifexpr-\u51fd\u6570","h-switch-\u51fd\u6570","h-time-\u51fd\u6570","h-timef-\u51fd\u6570","h-language-\u51fd\u6570","h-babel-\u51fd\u6570","h-invoke-\u51fd\u6570"]}}--></div> <div class="mw-heading mw-heading3"><h3 id="expr" data-mw-thread-id="h-expr-函数"><span data-mw-comment-start="" id="h-expr-函数"></span><tt>expr</tt><span data-mw-comment-end="h-expr-函数"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;action=edit&amp;section=2" title="编辑章节:expr"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <div role="note" class="hatnote navigation-not-searchable">参见:<a href="/wiki/Help:%E8%AE%A1%E7%AE%97" title="Help:计算">Help:计算</a></div> <p><code>expr</code>函数,计算<a href="/wiki/%E6%95%B0%E5%AD%A6" title="数学">数学</a>表达式。语法为: </p> <pre>{{#expr:表达式}} </pre> <p>表达式用到以下运算符: </p> <table class="wikitable"> <tbody><tr> <th>运算符</th> <th>名称</th> <th>优先级</th> <th>元数</th> <th>结合性</th> <th>样例 </th></tr> <tr> <td><code>+</code></td> <td><a href="/wiki/%E6%AD%A3" title="正">正</a></td> <td>9</td> <td>1</td> <td>右</td> <td><code>{{<a class="mw-selflink-fragment" href="#expr">#expr</a>:+ 7}}</code> = 7 </td></tr> <tr> <td><code>-</code></td> <td><a href="/wiki/%E8%B2%A0" class="mw-redirect" title="負">负</a></td> <td>9</td> <td>1</td> <td>右</td> <td><code>{{<a class="mw-selflink-fragment" href="#expr">#expr</a>:- 7}}</code> = -7 </td></tr> <tr> <td><code>not</code></td> <td><a href="/wiki/%E9%80%BB%E8%BE%91%E9%9D%9E" title="逻辑非">逻辑非</a></td> <td>9</td> <td>1</td> <td>右</td> <td><code>{{<a class="mw-selflink-fragment" href="#expr">#expr</a>:not 7}}</code> = 0 </td></tr> <tr> <td><code>*</code></td> <td><a href="/wiki/%E4%B9%98" class="mw-redirect" title="乘">乘</a></td> <td>8</td> <td>2</td> <td>左</td> <td><code>{{<a class="mw-selflink-fragment" href="#expr">#expr</a>:30 * 7}}</code> = 210 </td></tr> <tr> <td><code>/</code></td> <td><a href="/wiki/%E9%99%A4" class="mw-redirect" title="除">除</a></td> <td>8</td> <td>2</td> <td>左</td> <td><code>{{<a class="mw-selflink-fragment" href="#expr">#expr</a>:30 / 7}}</code> = 4.2857142857143 </td></tr> <tr> <td><code>div</code></td> <td>除</td> <td>8</td> <td>2</td> <td>左</td> <td><code>{{<a class="mw-selflink-fragment" href="#expr">#expr</a>:30 div 7}}</code> = 4.2857142857143 </td></tr> <tr> <td><code>mod</code></td> <td><a href="/wiki/%E5%90%8C%E9%A4%98" title="同餘">模</a></td> <td>8</td> <td>2</td> <td>左</td> <td><code>{{<a class="mw-selflink-fragment" href="#expr">#expr</a>:30 mod 7}}</code> = 2 </td></tr> <tr> <td><code>+</code></td> <td><a href="/wiki/%E5%8A%A0" class="mw-redirect" title="加">加</a></td> <td>6</td> <td>2</td> <td>左</td> <td><code>{{<a class="mw-selflink-fragment" href="#expr">#expr</a>:30 + 7}}</code> = 37 </td></tr> <tr> <td><code>-</code></td> <td><a href="/wiki/%E5%87%8F" class="mw-redirect" title="减">减</a></td> <td>6</td> <td>2</td> <td>左</td> <td><code>{{<a class="mw-selflink-fragment" href="#expr">#expr</a>:30 - 7}}</code> = 23 </td></tr> <tr> <td><code>round</code></td> <td><a href="/wiki/%E6%95%B0%E5%80%BC%E4%BF%AE%E7%BA%A6" title="数值修约">四舍五入</a>(最大9)</td> <td>5</td> <td>2</td> <td>左</td> <td><code>{{<a class="mw-selflink-fragment" href="#expr">#expr</a>:30 / 7 round 7}}</code> = 4.2857143 </td></tr> <tr> <td><code>=</code></td> <td><a href="/wiki/%E7%AD%89%E4%BA%8E" class="mw-redirect" title="等于">等于</a></td> <td>4</td> <td>2</td> <td>左</td> <td><code>{{#expr:30 = 7}}</code> = 0 </td></tr> <tr> <td><code>&lt;</code></td> <td>小于</td> <td>4</td> <td>2</td> <td>左</td> <td><code>{{<a class="mw-selflink-fragment" href="#expr">#expr</a>:30 &lt; 7}}</code> = 0 </td></tr> <tr> <td><code>></code></td> <td>大于</td> <td>4</td> <td>2</td> <td>左</td> <td><code>{{<a class="mw-selflink-fragment" href="#expr">#expr</a>:30 > 7}}</code> = 1 </td></tr> <tr> <td><code>&lt;=</code></td> <td>小于等于</td> <td>4</td> <td>2</td> <td>左</td> <td><code>{{#expr:30 &lt;= 7}}</code> = 0 </td></tr> <tr> <td><code>>=</code></td> <td>大于等于</td> <td>4</td> <td>2</td> <td>左</td> <td><code>{{#expr:30 >= 7}}</code> = 1 </td></tr> <tr> <td><code>&lt;></code></td> <td><a href="/wiki/%E4%B8%8D%E7%AD%89%E6%96%BC" class="mw-redirect" title="不等於">不等于</a></td> <td>4</td> <td>2</td> <td>左</td> <td><code>{{<a class="mw-selflink-fragment" href="#expr">#expr</a>:30 &lt;> 7}}</code> = 1 </td></tr> <tr> <td><code>!=</code></td> <td>不等于</td> <td>4</td> <td>2</td> <td>左</td> <td><code>{{#expr:30 != 7}}</code> = 1 </td></tr> <tr> <td><code>and</code></td> <td><a href="/wiki/%E9%80%BB%E8%BE%91%E4%B8%8E" title="逻辑与">逻辑与</a></td> <td>3</td> <td>2</td> <td>左</td> <td><code>{{<a class="mw-selflink-fragment" href="#expr">#expr</a>:30 and 7}}</code> = 1 </td></tr> <tr> <td><code>or</code></td> <td><a href="/wiki/%E9%80%BB%E8%BE%91%E6%88%96" title="逻辑或">逻辑或</a></td> <td>2</td> <td>2</td> <td>左</td> <td><code>{{<a class="mw-selflink-fragment" href="#expr">#expr</a>:30 or 7}}</code> = 1 </td></tr></tbody></table> <p><code>round</code>运算对运算数正负,位数正负都有不同表现,参见下例。 </p><p>逻辑运算符把假映射为0,把真映射为非0,且返回值只有0或1。 </p><p>同一表达式中先计算高优先级运算。括号优先级高于一切。 </p> <div class="mw-heading mw-heading3"><h3 id="if" data-mw-thread-id="h-if-函数"><span data-mw-comment-start="" id="h-if-函数"></span><tt>if</tt><span data-mw-comment-end="h-if-函数"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;action=edit&amp;section=3" title="编辑章节:if"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><code>if</code>函数有<code>if-then-else</code>(如果、那么、否则)结构,和<a href="/wiki/Excel" class="mw-redirect" title="Excel">Excel</a>的<code>if</code>函数类似。语法是: </p> <pre>{{#if:判断字符串|那么字符串|否则字符串}} {{#if:判断字符串|那么字符串}} </pre> <p>若“判断字符串”不是空字符串(忽略前导或后缀空格),则函数返回“那么字符串”;若“判断字符串”是空字符串,则返回“否则字符串”。“否则字符串”可省略而不会出错,但函数在“判断字符串”为空时便会返回空字符串。 </p><p>if函数还可用在模板语法中检查有否使用某参数。若满足条件,可在调用此模板的页面中显示或不显示特定内容。 </p> <pre>{{#if:{{{1|}}}|匿名参数1不为空时输出的结果|匿名参数1为空时输出的结果}} {{#if:{{{xx|}}}{{{yy|}}}|xx或yy参数不为空时输出的结果|xx和yy参数都为空时输出的结果}} </pre> <div class="mw-heading mw-heading3"><h3 id="ifeq" data-mw-thread-id="h-ifeq-函数"><span data-mw-comment-start="" id="h-ifeq-函数"></span><tt>ifeq</tt><span data-mw-comment-end="h-ifeq-函数"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;action=edit&amp;section=4" title="编辑章节:ifeq"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><code>ifeq</code>比较两串字串,傳回比较结果。语法为: </p> <pre>{{#ifeq:字符串1|字符串2|相等时返回的字符串|不相等时返回的字符串}} </pre> <p>注意:两串空字串相等。 </p><p>示例: </p><p>假设模板<code style="white-space:nowrap;">{{Ifeq test}}</code>的内容是 </p> <pre>{{#ifeq:{{{lang}}}|zh|我使用中文|I don't use Chinese}} </pre> <p>则<code style="white-space:nowrap;">{{Ifeq test|lang=zh}}</code>的结果是“我使用中文”;而<code style="white-space:nowrap;">{{Ifeq test|lang=en}}</code>的结果是“I don't use Chinese”。 </p> <div class="mw-heading mw-heading3"><h3 id="ifexist" data-mw-thread-id="h-ifexist-函数"><span data-mw-comment-start="" id="h-ifexist-函数"></span><tt>ifexist</tt><span data-mw-comment-end="h-ifexist-函数"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;action=edit&amp;section=5" title="编辑章节:ifexist"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><code>ifexist</code>根據指定名稱的頁面是否存在,返回兩參數中的一數。用法: </p> <pre>{{#ifexist:待測頁面標題|存在文字|不存在文字}} </pre> <p>注意不能跨维基使用。 </p><p><code>ifexist</code>是高开销方法,如果超过调用次数限制,超出限制的部分默认为输出不存在时的内容。 </p><p>示例: </p><p>首先,我们已知<a href="/w/index.php?title=Test&amp;action=edit&amp;redlink=1" class="new" title="Test(页面不存在)">test</a>页面不存在,<a href="/w/index.php?title=User:%E7%94%A8%E6%88%B7%E5%90%8D&amp;action=edit&amp;redlink=1" class="new" title="User:用户名(页面不存在)">User:用户名</a>不存在,<a href="/wiki/%E7%BB%B4%E5%9F%BA%E7%99%BE%E7%A7%91" title="维基百科">维基百科</a>页面存在,英文维基百科有页面<a href="https://en.wikipedia.org/wiki/Minecraft" class="extiw" title="en:Minecraft">en:Minecraft</a>,维基词典有<a href="https://zh.wiktionary.org/wiki/hello" class="extiw" title="wikt:hello">wikt:hello</a>。 </p> <ul><li><code>{{<a class="mw-selflink-fragment" href="#ifexist">#ifexist</a>:test|有test頁面|無test頁面}}</code>→無test頁面</li> <li><code>{{<a class="mw-selflink-fragment" href="#ifexist">#ifexist</a>:User:用户名|該用戶頁存在|該用戶頁不存在}}</code>→該用戶頁不存在</li> <li><code>{{<a class="mw-selflink-fragment" href="#ifexist">#ifexist</a>:维基百科|<b>✓</b>|<b>✗</b>}}</code>→<b>✓</b></li> <li><code>{{<a class="mw-selflink-fragment" href="#ifexist">#ifexist</a>:en:Minecraft|1|0}}</code>→0</li> <li><code>{{<a class="mw-selflink-fragment" href="#ifexist">#ifexist</a>:wikt:hello|1|0}}</code>→0</li></ul> <div class="mw-heading mw-heading3"><h3 id="ifexpr" data-mw-thread-id="h-ifexpr-函数"><span data-mw-comment-start="" id="h-ifexpr-函数"></span><tt>ifexpr</tt><span data-mw-comment-end="h-ifexpr-函数"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;action=edit&amp;section=6" title="编辑章节:ifexpr"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><code>ifexpr</code>计算数学表达式,并根据计算结果返回字符串。 </p> <pre>{{#ifexpr:表达式|表达式不为0的结果|表达式为0的结果}} </pre> <p>表达式语法与<code>expr</code>相同。 </p> <div class="mw-heading mw-heading3"><h3 id="switch" data-mw-thread-id="h-switch-函数"><span data-mw-comment-start="" id="h-switch-函数"></span><tt>switch</tt><span data-mw-comment-end="h-switch-函数"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;action=edit&amp;section=7" title="编辑章节:switch"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><code>switch</code>将一值与多項预设值比较,若有匹配时则返回指定字符串,即<a href="/wiki/%E5%8F%8C%E5%B0%84" title="双射">双射</a>。语法是: </p> <pre>{{#switch:比较值 |预设值一 = 结果一 |预设值二 = 结果二 |... |预设值某 = 结果某 |#default = 缺省结果 }} </pre> <p><code>switch</code>从左往右逐一尝试,直到出现匹配。函数傳回第一个匹配值对应的结果,而忽略后面的匹配值。如果没有匹配,函数傳回缺省结果。缺省结果是指#default=后面的内容。其中#default=在结果沒有等号时可以省略。如果缺省结果没有设置,函数傳回空串。 </p><p>注意:“缺省结果”是<b>最后一个没有等号</b>的预设值或“#default”预设值对应的结果;如果期望把有“=”号的字串作为缺省结果,则必须采用“#default”预设值形式,如: </p> <pre>#default = &lt;span style="color:red;">red&lt;/span></pre> <p><code>switch</code>也可用作<a href="/wiki/%E6%BB%A1%E5%B0%84" title="满射">满射</a>(多对一,避免重复设置结果)。即某预设值后未设置结果,这样如果该预设值与比较值匹配,则函数返回<b>第一个有结果的</b>预设值的结果,如: </p> <pre>{{#switch:比较值 |预设值1 |预设值2 |预设值3 = 结果3 |缺省结果 }} </pre> <p>如果比较值与预设值1、预设值2或预设值3匹配,都将返回结果3。注意:“#default”后必须有“=”,但其他预设值可以使用“#default”的结果。 </p><p><code>switch</code>也可以与<code>invoke</code>搭配,来完成随机显示的功能,详见<b><a href="/wiki/Help:%E9%9A%A8%E6%A9%9F%E9%A1%AF%E7%A4%BA" title="Help:隨機顯示">Help:隨機顯示</a></b>。 </p> <div class="mw-heading mw-heading3"><h3 id="time" data-mw-thread-id="h-time-函数"><span data-mw-comment-start="" id="h-time-函数"></span><tt>time</tt><span data-mw-comment-end="h-time-函数"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;action=edit&amp;section=8" title="编辑章节:time"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><code>time</code>是时间日期格式函数,语法为 </p> <pre>{{#time:格式参数}} </pre> <p>或者 </p> <pre>{{#time:格式参数|时间参数}} </pre> <p>如果<b>时间参数</b>未指定,就用条目转换为HTML的时间(值)。缓存問題,这与浏览条目的时间可能会高达1星期偏差,可能要人手更新,方法是加上action=purge参数访问页面。 </p><p><b>格式参数</b>是种格式字符,与在<a rel="nofollow" class="external text" href="http://php.net/date">PHP的date</a>中的用法相似。 </p><p>下列格式代码与在PHP中的意义一样。所不同的是:如果時間未指定,则显示文章最后一次转换成HTML的时间。缓存問題,此时间和你浏览文章的时间可能有最长一星期的差别,有时可能要親自更新数据,方法是编辑文章但不修改任何內容即保存。 </p><p>以下格式代码和PHP函数<code>date()</code>同义。除了国际化(主要是语言)差别以外,所有和PHP的不同点都应报告为软件错误。其中所有的数字输出都会替换成当地语言的时间格式,可以使用<code>xn</code>(见下文)恢复成显示原来的数字。 </p> <table class="wikitable"> <tbody><tr> <th>代码</th> <th>描述</th> <th>输出(示例) </th></tr> <tr> <td><code>d</code></td> <td>一个月第n天,不足两位补0</td> <td>04 </td></tr> <tr> <td><code>D</code></td> <td>星期缩写,通常不国际化</td> <td>二 </td></tr> <tr> <td><code>j</code></td> <td>一个月第n天,不足两位不补0</td> <td>3 </td></tr> <tr> <td><code>l</code></td> <td>星期全称,通常不国际化</td> <td>星期二 </td></tr> <tr> <td><code>F</code></td> <td>月份全称,通常需要国际化</td> <td>11月 </td></tr> <tr> <td><code>m</code></td> <td>数字表示的月份,不足两位补0</td> <td>01-12 </td></tr> <tr> <td><code>M</code></td> <td>月份缩写,通常需要国际化</td> <td>11月 </td></tr> <tr> <td><code>n</code></td> <td>数字表示的月份,不足两位不补0</td> <td>1-12 </td></tr> <tr> <td><code>Y</code></td> <td>四位年份</td> <td>2024 </td></tr> <tr> <td><code>y</code></td> <td>二位年份</td> <td>24 </td></tr> <tr> <td><code>H</code></td> <td>小时,不足两位补0</td> <td>00-23 </td></tr> <tr> <td><code>i</code></td> <td>分钟,不足两位补0</td> <td>00-59 </td></tr> <tr> <td><code>s</code></td> <td>秒,不足两位补0</td> <td>00-59 </td></tr></tbody></table> <p>以下代码是对PHP的扩展: </p> <table class="wikitable"> <tbody><tr> <th>代码</th> <th>描述 </th></tr> <tr> <td><code>xn</code></td> <td>将接下来的数字代码恢复成<a href="/wiki/ASCII" title="ASCII">ASCII</a>中的阿拉伯数字,如<a href="/wiki/%E5%8D%B0%E5%9C%B0%E8%AF%AD" title="印地语">印地语</a><code>{{<a class="mw-selflink-fragment" href="#time">#time</a>:H, xnH}}</code>输出“०६, 06”。 </td></tr> <tr> <td><code>xr</code></td> <td>将接下来的数字代码显示成罗马数字。 </td></tr> <tr> <td><code>xg</code></td> <td>输出月份名字的<a href="/wiki/%E5%B1%9E%E6%A0%BC" title="属格">属格</a>,只针对那些区分主格和属格的语言。 </td></tr> <tr> <td><code>xx</code></td> <td>输出“x”。 </td></tr></tbody></table> <p>其他字符都不处理直接输出。你也可以用引号来输出未处理字串。 </p> <ul><li>引号中的字符直接输出(但不输出引号),没有配对的引号也直接输出,如 <ul><li><code>{{<a class="mw-selflink-fragment" href="#time">#time</a>:"现在是"F}}</code>→现在是11月</li> <li><code>{{<a class="mw-selflink-fragment" href="#time">#time</a>:i's"}}</code>→23'44"</li> <li><code>{{<a class="mw-selflink-fragment" href="#time">#time</a>:Y-m-d"T"H:i:s"Z"}}</code>→2024-11-19T07:23:44Z(<a href="/wiki/ISO_8601" title="ISO 8601">ISO 8601</a>)</li></ul></li> <li>像PHP的<code>date()</code>函数一样的反斜杠转义也是支持的。<code>\H</code>直接输出<code>H</code>,<code>\"</code>直接输出<code>"</code>。</li></ul> <p>未来可能会增加更多格式代码,可能是完善PHP現有功能,也可能是增加新功能。 </p><p>时间参数格式参照PHP的<code>strtotime()</code>函数。它同时支持相对时间,如「+10 hours」,用来表示时区转换。更多信息参见<a rel="nofollow" class="external text" href="http://www.gnu.org/software/tar/manual/html_node/tar_109.html">the GNU tar manual</a><sup class="noprint Inline-Template"><span style="white-space: nowrap;">[<a href="/wiki/Wikipedia:%E5%A4%B1%E6%95%88%E9%93%BE%E6%8E%A5" title="Wikipedia:失效链接"><span title="">失效連結</span></a>]</span></sup>。 </p><p>下表以國際協調时2024年11月19日(星期二)07時23分44秒(東八區時間2024年11月19日(星期二)15時23分44秒)为例说明各格式参数的作用。 </p> <table class="wikitable"> <tbody><tr> <th>格式参数</th> <th>说明</th> <th>显示结果 </th></tr> <tr> <td><code>A</code></td> <td>显示AM或PM</td> <td>AM </td></tr> <tr> <td><code>a</code></td> <td>显示am或pm</td> <td>am </td></tr> <tr> <td><code>c</code></td> <td>显示长日期</td> <td>2024-11-19T07:23:44+00:00 </td></tr> <tr> <td><code>D</code></td> <td>星期数,以一汉字显示</td> <td>二 </td></tr> <tr> <td><code>d</code></td> <td>日期日数,有0补齐</td> <td>19 </td></tr> <tr> <td><code>F</code>或<code>M</code></td> <td>月份</td> <td>11月 </td></tr> <tr> <td><code>G</code>或<code>g</code></td> <td>当前UTC时间小时数,1位或2位数</td> <td>7 </td></tr> <tr> <td><code>H</code></td> <td>小时数,2位数(24小时制)</td> <td>07 </td></tr> <tr> <td><code>h</code></td> <td>小时数,2位数 (12小时制)</td> <td>07 </td></tr> <tr> <td><code>i</code></td> <td>分钟数,2位数</td> <td>23 </td></tr> <tr> <td><code>j</code></td> <td>日数,2位数</td> <td>19 </td></tr> <tr> <td><code>L</code></td> <td>日期星期数,1位数,星期日为1,星期六为7</td> <td>1 </td></tr> <tr> <td><code>l</code></td> <td>日期星期数,3位汉字</td> <td>星期二 </td></tr> <tr> <td><code>m</code></td> <td>月份数,2位数</td> <td>11 </td></tr> <tr> <td><code>N</code></td> <td>星期数,星期一为1,星期日为7</td> <td>2 </td></tr> <tr> <td><code>n</code></td> <td>月份数,1位或2位数</td> <td>11 </td></tr> <tr> <td><code>r</code></td> <td>英文长日期格式</td> <td>Tue, 19 Nov 2024 07:23:44 +0000 </td></tr> <tr> <td><code>s</code></td> <td>秒数</td> <td>44 </td></tr> <tr> <td><code>T</code></td> <td>UTC</td> <td>UTC </td></tr> <tr> <td><code>t</code></td> <td>该月天数</td> <td>30 </td></tr> <tr> <td><code>U</code></td> <td><a href="/wiki/Help:%E6%99%82%E9%96%93%E5%BA%8F%E8%99%9F" title="Help:時間序號">時間序號</a>,1970-1-1 0:0:1为1,參見<a href="/wiki/UNIX%E6%99%82%E9%96%93" class="mw-redirect" title="UNIX時間">UNIX時間</a></td> <td>1732001024 </td></tr> <tr> <td><code>W</code></td> <td>日期周数,显示日期为当年第几周</td> <td>47 </td></tr> <tr> <td><code>w</code></td> <td>星期数,星期日为0,星期六为6</td> <td>2 </td></tr> <tr> <td><code>Y</code></td> <td>日期年份,4位数</td> <td>2024 </td></tr> <tr> <td><code>y</code></td> <td>日期年份,2位数</td> <td>24 </td></tr> <tr> <td><code>z</code></td> <td>显示日期为当年第几日</td> <td>323 </td></tr></tbody></table> <p>系统默认的时间参数为当前UTC+0时间,可以用<code>{{<a class="mw-selflink-fragment" href="#time">#time</a>:参数|+8 hours}}</code>得到当前東八區时间。 </p><p>时间参数可用绝对时间,如“<code>2008-12-31 23:59:59</code>”,也可用相对时间,如“<code>+7 days</code>”或者“<code>-5 hours</code>”得到默认时间7日之后或默认时间5小时之前的时间。也可以二者混合用,比如<code>{{<a class="mw-selflink-fragment" href="#time">#time</a>:Y-m-d H:i:s|2001-2-3 04:05:06 +1 year +2 months +3 days +4 hours +5 minutes +6 seconds}}</code>傳回“2002-04-06 08:10:12”。 </p><p>用<code>xr</code>可以在其后显示罗马数字,如<code>{{<a class="mw-selflink-fragment" href="#time">#time</a>:<b>xr</b>Y年<b>xr</b>m月<b>xr</b>d日|2008-12-31}}</code>显示为“MMVIII年XII月XXXI日”。 </p><p>生成與簽名格式相同的時間語法為<code>{{<a class="mw-selflink-fragment" href="#time">#time</a>:Y年n月j日 (D) H:i}} (UTC)</code>,顯示為「2024年11月19日 (二) 07:23 (UTC)」(亦可用參數<code>T</code>:<code>{{<a class="mw-selflink-fragment" href="#time">#time</a>:Y年n月j日 (D) H:i (T)}}</code>)。 </p> <div class="mw-heading mw-heading3"><h3 id="timef" data-mw-thread-id="h-timef-函数"><span data-mw-comment-start="" id="h-timef-函数"></span><tt>timef</tt><span data-mw-comment-end="h-timef-函数"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;action=edit&amp;section=9" title="编辑章节:timef"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><code>#timef</code>提供更便捷的指定语言化的日期时间格式化输出。 例子:<code>{{#timef: date/time object | format type | language code }}</code> </p> <ul><li><code>date/time object</code>:对应<code>{{#timef|输出格式|时间对象}}</code>的“时间对象”部分,如不指定,则为页面渲染时的当时时间。</li> <li><code>format type </code>:格式类型,枚举值,可选: <ul><li>time:只输出时间</li> <li>date:只输出日期</li> <li>both:同时输出日期和时间,不指定时的默认值</li> <li>pretty:以缩写方式只输出日期,不包括年份,部分语言没有这个格式,如果这样则等价于both</li></ul></li> <li><code>language code</code>:指定对应语言的输出格式,不指定时默认为当前页面内容语言。</li></ul> <div class="mw-heading mw-heading3"><h3 id="language" data-mw-thread-id="h-language-函数"><span data-mw-comment-start="" id="h-language-函数"></span><tt>language</tt><span data-mw-comment-end="h-language-函数"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;action=edit&amp;section=10" title="编辑章节:language"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><code>#language</code>得到指定語言代碼的語言名(以当地语言表示)。 </p> <ul><li class="mw-empty-elt"></li> <li><code>{{<a href="/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97##language" title="Help:魔术字">#language</a>:zh}}</code>→ 中文</li> <li><code>{{<a href="/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97##language" title="Help:魔术字">#language</a>:zh-cn}}</code>→ 中文(中国大陆)</li> <li><code>{{<a href="/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97##language" title="Help:魔术字">#language</a>:zh-tw}}</code>→ 中文(臺灣)</li> <li><code>{{<a href="/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97##language" title="Help:魔术字">#language</a>:zh-hk}}</code>→ 中文(香港)</li> <li><code>{{<a href="/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97##language" title="Help:魔术字">#language</a>:zh-sg}}</code>→ 中文(新加坡)</li> <li><code>{{<a href="/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97##language" title="Help:魔术字">#language</a>:de}}</code>→Deutsch</li> <li><code>{{<a href="/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97##language" title="Help:魔术字">#language</a>:en}}</code>→English</li> <li><code>{{<a href="/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97##language" title="Help:魔术字">#language</a>:ja}}</code>→ 日本語</li> <li><code>{{<a href="/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97##language" title="Help:魔术字">#language</a>:nl}}</code>→Nederlands</li></ul> <p>加入第二参数时,显示该语言在第二参数语言中的名称。 </p> <ul><li><code>{{<a href="/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97##language" title="Help:魔术字">#language</a>:de|en}}</code>→ German </li> <li><code>{{<a href="/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97##language" title="Help:魔术字">#language</a>:en|ja}}</code>→ 英語 </li> <li><code>{{<a href="/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97##language" title="Help:魔术字">#language</a>:ja|nl}}</code>→ Japans </li> <li><code>{{<a href="/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97##language" title="Help:魔术字">#language</a>:nl|zh}}</code>→ 荷兰语 </li> <li><code>{{<a href="/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97##language" title="Help:魔术字">#language</a>:zh|de}}</code>→ Chinesisch </li></ul> <div class="mw-heading mw-heading3"><h3 id="babel" data-mw-thread-id="h-babel-函数"><span data-mw-comment-start="" id="h-babel-函数"></span><tt>babel</tt><span data-mw-comment-end="h-babel-函数"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;action=edit&amp;section=11" title="编辑章节:babel"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><code>{{<a class="mw-selflink-fragment" href="#babel">#babel</a>:<i>babelcode1</i>|<i>babelcode2</i>|...}}</code></li></ul> <p>替换为<code>{{<a href="/wiki/Template:Babel" title="Template:Babel">babel</a>}}</code>模板,见<a href="https://www.mediawiki.org/wiki/Extension:Babel#Usage" class="extiw" title="mw:Extension:Babel">Extension:Babel</a>。 </p> <div class="mw-heading mw-heading3"><h3 id="invoke" data-mw-thread-id="h-invoke-函数"><span data-mw-comment-start="" id="h-invoke-函数"></span><tt>invoke</tt><span data-mw-comment-end="h-invoke-函数"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;action=edit&amp;section=12" title="编辑章节:invoke"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><code>{{#invoke:<i>module</i>|<i>function</i>|<i>arg1</i>|<i>arg2</i>|...}}</code></li></ul> <p>调用<a href="https://www.mediawiki.org/wiki/Extension:Scribunto" class="extiw" title="mw:Extension:Scribunto">Scribunto</a>中的模块,见<a href="/wiki/Wikipedia:Lua" title="Wikipedia:Lua">维基百科:Lua</a>。 </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="subst" data-mw-thread-id="h-subst"><span data-mw-comment-start="" id="h-subst"></span><tt>subst</tt><span data-mw-comment-end="h-subst"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Help:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;action=edit&amp;section=13" title="编辑章节:subst"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-subst","replies":[]}}--></div> <div role="note" class="hatnote navigation-not-searchable">主页面:<a href="/wiki/Help:%E6%9B%BF%E6%8D%A2%E5%BC%95%E7%94%A8" title="Help:替换引用">Help:替换引用</a></div> <p>应用subst:到解析器函数,subst:和#之间沒有空格才可以正常工作。 </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="表格" data-mw-thread-id="h-表格"><span id=".E8.A1.A8.E6.A0.BC"></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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;action=edit&amp;section=14" title="编辑章节:表格"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u8868\u683c","replies":[]}}--></div> <p>解析器函数用管道符<code>|</code>分隔参数,不能包括表格所需要的<code>|</code>符。要输出表格,可以: </p> <ol><li>用嵌套模板隐藏<code>|</code>,比如<code>{{<a href="/wiki/Template:!" title="Template:!">!</a>}}</code></li> <li>使用HTML语法。</li></ol> <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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;action=edit&amp;section=15" 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> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r82655521"><div class="side-box side-box-right plainlinks sistersitebox" style="font-size:small;"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r82655520"> <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:Extension:ParserFunctions" class="extiw" title="mw:Help:Extension:ParserFunctions">Help:Extension:ParserFunctions</a></b></div></div> </div> <ul><li><a href="/wiki/Help:%E8%AE%A1%E7%AE%97" title="Help:计算">Help:计算</a></li> <li><a href="/wiki/Help:%E6%A8%A1%E6%9D%BF" title="Help:模板">Help:模板</a></li> <li><a class="external text" href="https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions/zh">MediaWiki上更为详细的解析器函數幫助</a></li></ul> <div class="navbox-styles"><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><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><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><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r83933911"></div><div role="navigation" class="navbox" aria-labelledby="維基百科-&amp;#123;zh-cn:帮助;_zh-hk:幫助;_zh-tw:說明;&amp;#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="維基百科-&amp;#123;zh-cn:帮助;_zh-hk:幫助;_zh-tw:說明;&amp;#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 href="/wiki/Help:%E9%AD%94%E6%9C%AF%E5%AD%97" title="Help:魔术字">魔术字</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 class="mw-selflink selflink">解析器函数</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.eqiad.main‐6cf85bf86‐zhktz Cached time: 20241119072345 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] DiscussionTools time usage: 0.073 seconds CPU time usage: 0.563 seconds Real time usage: 0.736 seconds Preprocessor visited node count: 6322/1000000 Post‐expand include size: 268785/2097152 bytes Template argument size: 4449/2097152 bytes Highest expansion depth: 20/100 Expensive parser function count: 5/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 17569/5000000 bytes Lua time usage: 0.146/10.000 seconds Lua memory usage: 5135535/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 460.443 1 -total 27.41% 126.202 1 Template:H-f_Help 23.17% 106.666 1 Template:Navbox 19.03% 87.623 1 Template:更新 16.73% 77.055 1 Template:Ambox 11.28% 51.939 1 Template:Wikipedia_how-to 10.12% 46.597 1 Template:NoteTA 9.07% 41.759 43 Template:Tlxm 7.81% 35.974 1 Template:Ombox 7.51% 34.601 2 Template:Mediawiki --> <!-- Saved in parser cache with key zhwiki:pcache:idhash:271489-0!canonical!zh and timestamp 20241119072345 and revision id 84688837. 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:解析器函数&amp;oldid=84688837">https://zh.wikipedia.org/w/index.php?title=Help:解析器函数&amp;oldid=84688837</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:%E7%BB%B4%E5%9F%BA%E7%99%BE%E7%A7%91%E6%8C%87%E5%8D%97" 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:%E7%B6%AD%E5%9F%BA%E7%99%BE%E7%A7%91%E6%A8%A1%E6%9D%BF" title="Category:維基百科模板">維基百科模板</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年10月23日 (星期三) 01:42。</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&#174;和维基百科标志是<a rel="nofollow" class="external text" href="https://wikimediafoundation.org/zh">维基媒体基金会</a>的注册商标;维基&#8482;是维基媒体基金会的商标。<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:%E8%A7%A3%E6%9E%90%E5%99%A8%E5%87%BD%E6%95%B0&amp;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-f69cdc8f6-b78pt","wgBackendResponseTime":190,"wgDiscussionToolsPageThreads":[{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-函数","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-expr-函数","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-if-函数","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-ifeq-函数","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-ifexist-函数","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-ifexpr-函数","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-switch-函数","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-time-函数","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-timef-函数","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-language-函数","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-babel-函数","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-invoke-函数","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-subst","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.073"},"limitreport":{"cputime":"0.563","walltime":"0.736","ppvisitednodes":{"value":6322,"limit":1000000},"postexpandincludesize":{"value":268785,"limit":2097152},"templateargumentsize":{"value":4449,"limit":2097152},"expansiondepth":{"value":20,"limit":100},"expensivefunctioncount":{"value":5,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":17569,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 460.443 1 -total"," 27.41% 126.202 1 Template:H-f_Help"," 23.17% 106.666 1 Template:Navbox"," 19.03% 87.623 1 Template:更新"," 16.73% 77.055 1 Template:Ambox"," 11.28% 51.939 1 Template:Wikipedia_how-to"," 10.12% 46.597 1 Template:NoteTA"," 9.07% 41.759 43 Template:Tlxm"," 7.81% 35.974 1 Template:Ombox"," 7.51% 34.601 2 Template:Mediawiki"]},"scribunto":{"limitreport-timeusage":{"value":"0.146","limit":"10.000"},"limitreport-memusage":{"value":5135535,"limit":52428800}},"cachereport":{"origin":"mw-web.eqiad.main-6cf85bf86-zhktz","timestamp":"20241119072345","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10