mozilla

版本 281566 / 自定义模板

  • 版本网址缩略名: Project:自定义模板
  • 版本标题: Project:自定义模板
  • 版本 id: 281566
  • 创建于:
  • 创建者: Mhoudg
  • 是否是当前版本?
  • 评论 New page: <breadcrumbs></breadcrumbs> {{MDCProjectPagesTOC}} 本页面正在翻译…… This page lists some of general-purpose [http://meta.wikimedia.org/wiki/Help:Template MediaWiki templates] ...

修订内容

{{ MDCProjectPagesTOC() }}

本页面正在翻译……

This page lists some of general-purpose MediaWiki templates created for use on MDC. A complete list can be found on Special:Allpages by filtering to get only the pages from Template namespace. We don't need to list all of them here.

See also the Wiki markup reference and the list of custom CSS classes.

创建超连接

Template:anch

Template:anch inserts a link to an anchor. {{anch|top}} produces <a href="#top">top</a> ({{ Anch("top") }}). Note that with this template you cannot choose a link description that is different from the anchor's name. The idea was to create a template that allows easy linking to other sections in a document.

Template:bug

Template:bug allows you to link to a bug on bugzilla.mozilla.org easily using this syntax: {{bug|123456}}. This gives you: {{ Bug("123456") }}.

Template:enter-bug

Template:enter-bug lets you link to a Enter bug page on bugzilla.mozilla.org with specific product and component. For example, {{enter-bug|Core|Testing}} shows up as {{ Enter-bug("Core", "Testing") }}.

Template:ifmethod

Template:ifmethod lets you create a link to a particular method on an interface that's been created using our standard format for interface documentation. For example, {{ifmethod|nsIAutoCompleteSearch|stopSearch}} shows up as {{ Ifmethod("nsIAutoCompleteSearch", "stopSearch") }}.

Template:LXRSearch

Template:LXRSearch can be used (somewhat painlessly) to create an LXR search URL. The syntax is as follows: {{LXRSearch|type|param|search-string|link-text}}. The parameters are used in the following ways:

  • type must be one of search (a string search through source), find (a file name search), or ident (a search through token names in Mozilla source).
  • param must be one of string (for string/file name searches) or i (for token searches). If templates had some conditional power we could get away with one parameter instead of two, but they don't. An extension could probably work around this, as always.
  • search-string is whatever you would type in the search box on LXR if you were doing the search there, except that spaces should be converted to +.
  • link-text is the text for the link that will be created.

Template:source

Template:source allows you to link to a Mozilla source code file without having to type a long MXR URL using this syntax: {{source|browser/Makefile.in}}. This gives you: {{ Source("browser/Makefile.in") }}. The text of the link is the path provided; if you want different text, then just provide a second parameter, like so: {{source|browser/Makefile.in|the browser/ Makefile.in}}, which produces {{ Source("browser/Makefile.in", "the browser/ Makefile.in") }}. Note that the link will be to the very latest version of the file in bleeding-edge code.

通过引用链接到页面

Usage: {{cssxref|color}}: {{ Cssxref("color") }}.

The template saves you some typing over normal pipe-link: [[CSS:color|color]].

给页面加 tag 标签

These templates should be placed at the top of a page (but below the breadcrumbs). Some templates can be also used at the top of a section.

Template:disambig

Template:disambig is used on the few disambiguation pages we have.

Template:outdated and Template:NeedsTechnicalReview

This template should be used to tag pages that are known to be (or might be) horribly outdated. It's most commonly used when an old page is migrated from mozilla.org to MDC.

The template is followed by an optional parameter, which can be used to provide details. Example: {{outdated|It was last updated in 1999.}} gives you this:

{{ Outdated("It was last updated in 1999.") }}

A similar template, Template:NeedsTechnicalReview is for less hopeless cases when an author or an editor was unsure if something he read or wrote was technically correct. {{NeedsTechnicalReview}} results in: {{ NeedsTechnicalReview() }}

Template:LockedPage

Template:LockedPage inserts a mark bar across the page that provides an explanation for why a page is locked. There are two parameters: the first is the length of time for which the page is expected to be locked, and the second is the reason why it's locked. A link to the page's discussion page is also included in the bar. {{ LockedPage("permanently", "constant spamming") }}

Template:deprecated_header, non-standard_header, obsolete_header

Template:deprecated_header inserts a deprecated mark bar spread out across the page to discourage the use of, e.g., a function, method or property which is officially deprecated. The deprecated bar typically would be placed directly underneath the main page title (or breadcrumb navigation if available) of, e.g., a specific function, method or property specification page. Usage: {{deprecated_header}}. Result: {{ Deprecated_header() }}

Similarly, Template:non-standard_header and Template:obsolete_header can be used to mark non-standard and obsolete functionality. Usage: {{non-standard_header}} or {{obsolete_header}}. Result: {{ Non-standard_header() }} {{ Obsolete_header() }}

Templates tagging pages in the references/guides/tutorials

There are a number of templates for almost each large collection of pages (such as the DOM reference. They typically link back to the main page of the reference/guide/tutorial (this is often needed because our breadcrumbs sometimes can't do this) and put the article in the appropriate category.

E.g.: Template:DomRef, Template:CSSRef, Template:jsapi ref header, ... (yes, the capitalization inconsistency sucks)

通常目的的模板

Template:block-title

Template:block-title can be used to create bolded text which visually serves as a title for a block in a page, does not appear in the auto-generated table of contents, and can act as a link target just as headings do. The syntax is: {{block-title|title}}, where title is whatever you want displayed. title also serves as the target for links to the section you are titling. Template:block-title is meant for use in titling {{ Anch("Template:sidenote") }}s, tables, images, and code blocks, particularly in places where you'll be referring to the item more than once or in places not close to the item itself.

Template:Clr

Template:Clr inserts a <br style="clear:both;" /> to make sure the text following it is below any floating images or other figures. Usage: {{Clr}}.

  • Please note that using this template may mess up the layout of the whole page, e.g., if the navigational panel in default skin is floated at the left side, everything after {{Clr}} will also be below the navigational panel.

Template:Note and Template:warning

{{ mediawiki.external('Template:Note') }}] inserts a specially-formatted "note" block into the article's text. This is intended to call out an interesting or important fact. It uses the "note" CSS class. Using the template instead of directly using the class allows us to make more changes to the appearance of the notes more easily in the future. Usage: {{Note|This is an important note.}}. Result: {{ Note("This is an important note.") }}

Similarly, Template:warning inserts a specially-formatted "warning" block. {{warning|Danger, Will Robinson!}} results in: {{ Warning("Danger, Will Robinson!") }}

As you can see, the warning block includes a large icon and is currently used for article headings (via Template:outdated). You might want to use div class="warning" instead.

Template:ref and Template:note

Template:ref and Template:note can be used to implement footnotes to articles. The footnote "number" is created using {{ref|something}}, where something should be some suitably descriptive word for whatever is being mentioned in the footnote. Then, at the end of the document, insert the following to create a numbered list for the footnotes' information:

# {{note|something}} Blah blah, text for first footnote
# {{note|something-else}} The text for another footnote
# ...

Template:deprecated_inline

Template:deprecated_inline inserts an in-line deprecated mark to discourage the use of, e.g., a function, method or property which is officially deprecated. Usage: {{deprecated_inline}}. Example:

  • Item 1
  • Item 2 {{ Deprecated_inline() }}
  • Item 3

Template:non-standard_inline

Template:non-standard_inline inserts an in-line non-standard mark to discourage the use of, e.g., a function, method, property, or attribute which has not been standardized. Usage: {{non-standard_inline}}. Example:

  • Item 1
  • Item 2 {{ Non-standard_inline() }}
  • Item 3

Template:obsolete_inline

Template:obsolete_inline inserts an in-line obsolete mark to prevent the use of e.g. a function, method or property which is officially obsolete. Usage: {{obsolete_inline}}. Example:

  • Item 1
  • Item 2 {{ Obsolete_inline() }}
  • Item 3

Template:Previous, Template:Next, and Template:PreviousNext

Template:Previous, Template:Next, and Template:PreviousNext provide navigation controls for articles which are part of sequences. For the single-way templates, the only parameter needed is the wiki location of the previous or next article in the sequence. For PreviousNext, the two parameters needed are the wiki locations of the appropriate articles. The first parameter is for the previous article and the second is for the next article.

模板的版本信息

删除?

Template:sidenote

Due to limitations of templates in Mediawiki which prevent templates from being nested (e.g., {{sidenote|left|See also {{bug|123456}}.}}, where the end of the inner template is incorrectly parsed as the end of the outer template), this template should no longer be used. Instead, use the following:

<div class="side-note-left">...</div> <!-- for a left-floated sidebar -->
<div class="side-note-right">...</div> <!-- for a right-floated sidebar -->

另见

{{ languages( { "de": "Project:de/Spezielle_Vorlagen", "ja": "Project:ja/Custom_Templates", "pt": "Project:pt/Predefini\u00e7\u00f5es_personalizadas", "pl": "Project:pl/W\u0142asne_szablony" } ) }}

修订版来源

<p>
{{ MDCProjectPagesTOC() }}
</p><p>本页面正在翻译……
</p><p>This page lists some of general-purpose <a class="external" href="http://meta.wikimedia.org/wiki/Help:Template">MediaWiki templates</a> created for use on MDC. A complete list can be found on <a href="Special:Allpages">Special:Allpages</a> by filtering to get only the pages from <i>Template</i> namespace. We don't need to list all of them here.
</p><p>See also the <a href="Project:cn/Wiki_Markup_Reference">Wiki markup reference</a> and the <a href="Project:cn/Custom_CSS_Classes">list of custom CSS classes</a>.
</p>
<h3 id=".E5.88.9B.E5.BB.BA.E8.B6.85.E8.BF.9E.E6.8E.A5" name=".E5.88.9B.E5.BB.BA.E8.B6.85.E8.BF.9E.E6.8E.A5"> 创建超连接 </h3>
<h4 id="Template:anch" name="Template:anch"> Template:anch </h4>
<p><a href="Template:Anch">Template:anch</a> inserts a link to an anchor. <code><span class="nowiki">{{anch|top}}</span></code> produces <span class="nowiki">&lt;a href="#top"&gt;top&lt;/a&gt;</span> ({{ Anch("top") }}). Note that with this template you cannot choose a link description that is different from the anchor's name. The idea was to create a template that allows easy linking to other sections in a document.
</p>
<h4 id="Template:bug" name="Template:bug"> Template:bug </h4>
<p><a href="Template:Bug">Template:bug</a> allows you to link to a bug on bugzilla.mozilla.org easily using this syntax: <code><span class="nowiki">{{bug|123456}}</span></code>. This gives you: {{ Bug("123456") }}.
</p>
<h4 id="Template:enter-bug" name="Template:enter-bug"> Template:enter-bug </h4>
<p><a href="Template:Enter-bug">Template:enter-bug</a> lets you link to a Enter bug page on bugzilla.mozilla.org with specific product and component. For example, <code><span class="nowiki">{{enter-bug|Core|Testing}}</span></code> shows up as {{ Enter-bug("Core", "Testing") }}.
</p>
<h4 id="Template:ifmethod" name="Template:ifmethod"> Template:ifmethod </h4>
<p><a href="Template:Ifmethod">Template:ifmethod</a> lets you create a link to a particular method on an interface that's been created using our <a href="Project:cn/Writing_interface_reference_documentation">standard format for interface documentation</a>. For example, <code><span class="nowiki">{{ifmethod|nsIAutoCompleteSearch|stopSearch}}</span></code> shows up as {{ Ifmethod("nsIAutoCompleteSearch", "stopSearch") }}.
</p>
<h4 id="Template:LXRSearch" name="Template:LXRSearch"> Template:LXRSearch </h4>
<p><a href="Template:LXRSearch">Template:LXRSearch</a> can be used (somewhat painlessly) to create an LXR search URL. The syntax is as follows: <span class="nowiki">{{LXRSearch|</span><i>type</i><span class="nowiki">|</span><i>param</i><span class="nowiki">|</span><i>search-string</i><span class="nowiki">|</span><i>link-text</i><span class="nowiki">}}</span>. The parameters are used in the following ways:
</p>
<ul><li> <i>type</i> must be one of <b>search</b> (a string search through source), <b>find</b> (a file name search), or <b>ident</b> (a search through token names in Mozilla source).
</li><li> <i>param</i> must be one of <b>string</b> (for string/file name searches) or <b>i</b> (for token searches). If templates had some conditional power we could get away with one parameter instead of two, but they don't. An extension could probably work around this, as always.
</li><li> <i>search-string</i> is whatever you would type in the search box on LXR if you were doing the search there, except that spaces should be converted to <i>+</i>.
</li><li> <i>link-text</i> is the text for the link that will be created.
</li></ul>
<h4 id="Template:source" name="Template:source"> Template:source </h4>
<p><a href="Template:Source">Template:source</a> allows you to link to a Mozilla source code file without having to type a long MXR URL using this syntax: <code><span class="nowiki">{{source|browser/Makefile.in}}</span></code>. This gives you: {{ Source("browser/Makefile.in") }}. The text of the link is the path provided; if you want different text, then just provide a second parameter, like so: <code><span class="nowiki">{{source|browser/Makefile.in|the browser/ Makefile.in}}</span></code>, which produces {{ Source("browser/Makefile.in", "the browser/ Makefile.in") }}. Note that the link will be to the very latest version of the file in bleeding-edge code.
</p>
<h4 id=".E9.80.9A.E8.BF.87.E5.BC.95.E7.94.A8.E9.93.BE.E6.8E.A5.E5.88.B0.E9.A1.B5.E9.9D.A2" name=".E9.80.9A.E8.BF.87.E5.BC.95.E7.94.A8.E9.93.BE.E6.8E.A5.E5.88.B0.E9.A1.B5.E9.9D.A2"> 通过引用链接到页面 </h4>
<ul><li> <a href="Template:Jsapixref">Template:jsapixref</a> can be used to link to a page in the <a href="cn/JSAPI_Reference">JSAPI Reference</a>.
</li><li> Similarly, <a href="Template:Cssxref">Template:cssxref</a> can be used to link to a page in the <a href="cn/CSS_Reference">CSS Reference</a>. </li><li> <a href="Template:Npapi">Template:npapi</a> should be used for links in the <a href="cn/Gecko_Plugin_API_Reference">Gecko Plugin API Reference</a>.
</li><li> <a href="Template:Funcref">Template:funcref</a> should be used for links to global functions (usually C++) documented on top-level pages. The template wraps the function name in a &lt;code&gt; tag and adds parentheses after the name. You can specify the params in the optional second argument. See the template page for examples.
</li><li> <a href="Template:Interface">Template:interface</a> and <a href="Template:Named-interface">Template:named-interface</a> should be used when linking to interfaces. Example: <span class="nowiki">{{interface|nsIIOService}}</span> - {{ Interface("nsIIOService") }}.
</li><li> <a href="Template:Interface-method">Template:interface-method</a> can be used to link to a method of an interface in case the target interface is documented according to the <a href="Project:cn/Writing_interface_reference_documentation">current guidelines</a>. Example: <span class="nowiki">{{interface-method|nsIFeedResult|registerExtensionPrefix}}</span> - {{ Interface-method("nsIFeedResult", "registerExtensionPrefix") }}.
</li></ul>
<p>Usage: <span class="nowiki">{{cssxref|color}}</span>: {{ Cssxref("color") }}.
</p><p>The template saves you some typing over normal pipe-link: <span class="nowiki">[[CSS:color|color]]</span>.
</p>
<h3 id=".E7.BB.99.E9.A1.B5.E9.9D.A2.E5.8A.A0_tag_.E6.A0.87.E7.AD.BE" name=".E7.BB.99.E9.A1.B5.E9.9D.A2.E5.8A.A0_tag_.E6.A0.87.E7.AD.BE"> 给页面加 tag 标签 </h3>
<p>These templates should be placed at the top of a page (but below the breadcrumbs). Some templates can be also used at the top of a section.
</p>
<h4 id="Template:disambig" name="Template:disambig"> Template:disambig </h4>
<p><a href="Template:Disambig">Template:disambig</a> is used on the few disambiguation pages we have.
</p>
<h4 id="Template:outdated_and_Template:NeedsTechnicalReview" name="Template:outdated_and_Template:NeedsTechnicalReview"> Template:outdated and Template:NeedsTechnicalReview </h4>
<p>This template should be used to tag pages that are known to be (or might be) horribly outdated. It's most commonly used when an old page is migrated from mozilla.org to MDC.
</p><p>The template is followed by an optional parameter, which can be used to provide details. Example: <code><span class="nowiki">{{outdated|It was last updated in 1999.}}</span></code> gives you this:
</p><p>{{ Outdated("It was last updated in 1999.") }}
</p><p>A similar template, <a href="Template:NeedsTechnicalReview">Template:NeedsTechnicalReview</a> is for less hopeless cases when an author or an editor was unsure if something he read or wrote was technically correct. <code><span class="nowiki">{{NeedsTechnicalReview}}</span></code> results in:
{{ NeedsTechnicalReview() }}
</p>
<h4 id="Template:LockedPage" name="Template:LockedPage"> Template:LockedPage </h4>
<p><a href="Template:LockedPage">Template:LockedPage</a> inserts a mark bar across the page that provides an explanation for why a page is locked. There are two parameters: the first is the length of time for which the page is expected to be locked, and the second is the reason why it's locked. A link to the page's discussion page is also included in the bar.
{{ LockedPage("permanently", "constant spamming") }}
</p>
<h4 id="Template:deprecated_header.2C_non-standard_header.2C_obsolete_header" name="Template:deprecated_header.2C_non-standard_header.2C_obsolete_header"> Template:deprecated_header, non-standard_header, obsolete_header </h4>
<p><a href="Template:Deprecated_header">Template:deprecated_header</a> inserts a deprecated mark bar spread out across the page to discourage the use of, e.g., a function, method or property which is officially deprecated. The deprecated bar typically would be placed directly underneath the main page title (or breadcrumb navigation if available) of, e.g., a specific function, method or property specification page. Usage: <code><span class="nowiki">{{deprecated_header}}</span></code>. Result:
{{ Deprecated_header() }}
</p><p>Similarly, <a href="Template:Non-standard_header">Template:non-standard_header</a> and <a href="Template:Obsolete_header">Template:obsolete_header</a> can be used to mark non-standard and obsolete functionality. Usage: <code><span class="nowiki">{{non-standard_header}}</span></code> or <code><span class="nowiki">{{obsolete_header}}</span></code>. Result:
{{ Non-standard_header() }}
{{ Obsolete_header() }}
</p>
<h4 id="Templates_tagging_pages_in_the_references.2Fguides.2Ftutorials" name="Templates_tagging_pages_in_the_references.2Fguides.2Ftutorials"> Templates tagging pages in the references/guides/tutorials </h4>
<p>There are a number of templates for almost each large collection of pages (such as the <a href="cn/Gecko_DOM_Reference">DOM reference</a>. They typically link back to the main page of the reference/guide/tutorial (this is often needed because our breadcrumbs sometimes can't do this) and put the article in the appropriate category.
</p><p>E.g.: <a href="Template:DomRef">Template:DomRef</a>, <a href="Template:CSSRef">Template:CSSRef</a>, <a href="Template:Jsapi_ref_header">Template:jsapi ref header</a>, ... (yes, the capitalization inconsistency sucks)
</p>
<h3 id=".E9.80.9A.E5.B8.B8.E7.9B.AE.E7.9A.84.E7.9A.84.E6.A8.A1.E6.9D.BF" name=".E9.80.9A.E5.B8.B8.E7.9B.AE.E7.9A.84.E7.9A.84.E6.A8.A1.E6.9D.BF"> 通常目的的模板 </h3>
<h4 id="Template:block-title" name="Template:block-title"> Template:block-title </h4>
<p><a href="Template:Block-title">Template:block-title</a> can be used to create bolded text which visually serves as a title for a block in a page, does not appear in the auto-generated table of contents, and can act as a link target just as headings do. The syntax is: <code><span class="nowiki">{{block-title|</span><i>title</i><span class="nowiki">}}</span></code>, where <code><i>title</i></code> is whatever you want displayed. <code><i>title</i></code> also serves as the target for links to the section you are titling. <a href="Template:Block-title">Template:block-title</a> is meant for use in titling {{ Anch("Template:sidenote") }}s, tables, images, and code blocks, particularly in places where you'll be referring to the item more than once or in places not close to the item itself.
</p>
<h4 id="Template:Clr" name="Template:Clr"> Template:Clr </h4>
<p><a href="Template:Clr">Template:Clr</a> inserts a <code><span class="nowiki">&lt;br style="clear:both;" /&gt;</span></code> to make sure the text following it is below any floating images or other figures. Usage: <code><span class="nowiki">{{Clr}}</span></code>.
</p>
<ul><li> Please note that using this template may mess up the layout of the whole page, e.g., if the navigational panel in default skin is floated at the left side, everything after <code><span class="nowiki">{{Clr}}</span></code> will also be below the navigational panel.
</li></ul>
<h4 id="Template:Note_and_Template:warning" name="Template:Note_and_Template:warning"> Template:Note and Template:warning </h4>
<p>{{ mediawiki.external('Template:Note') }}] inserts a specially-formatted "note" block into the article's text. This is intended to call out an interesting or important fact. It uses the <a href="Project:cn/Custom_CSS_Classes#Notes">"note" CSS class</a>. Using the template instead of directly using the class allows us to make more changes to the appearance of the notes more easily in the future. Usage: <code><span class="nowiki">{{Note|This is an important note.}}</span></code>. Result:
{{ Note("This is an important note.") }}
</p><p>Similarly, <a href="Template:Warning">Template:warning</a> inserts a specially-formatted "warning" block. <code><span class="nowiki">{{warning|Danger, Will Robinson!}}</span></code> results in:
{{ Warning("Danger, Will Robinson!") }}
</p><p>As you can see, the warning block includes a large icon and is currently used for article headings (via <a href="Template:Outdated">Template:outdated</a>). You might want to use <code><a href="Project:cn/Custom_CSS_Classes#Warnings">div class="warning"</a></code> instead.
</p>
<h4 id="Template:ref_and_Template:note" name="Template:ref_and_Template:note"> Template:ref and Template:note </h4>
<p><a href="Template:Ref">Template:ref</a> and <a href="Template:Note">Template:note</a> can be used to implement footnotes to articles. The footnote "number" is created using <code><span class="nowiki">{{ref|</span><i>something</i><span class="nowiki">}}</span></code>, where <code><i>something</i></code> should be some suitably descriptive word for whatever is being mentioned in the footnote. Then, at the end of the document, insert the following to create a numbered list for the footnotes' information:
</p>
<pre># {{note|something}} Blah blah, text for first footnote
# {{note|something-else}} The text for another footnote
# ...
</pre>
<h4 id="Template:deprecated_inline" name="Template:deprecated_inline"> Template:deprecated_inline </h4>
<p><a href="Template:Deprecated_inline">Template:deprecated_inline</a> inserts an in-line deprecated mark to discourage the use of, e.g., a function, method or property which is officially deprecated. Usage: <code><span class="nowiki">{{deprecated_inline}}</span></code>. Example: </p>
<ul><li> Item 1
</li><li> Item 2 {{ Deprecated_inline() }}
</li><li> Item 3
</li></ul>
<h4 id="Template:non-standard_inline" name="Template:non-standard_inline"> Template:non-standard_inline </h4>
<p><a href="Template:Non-standard_inline">Template:non-standard_inline</a> inserts an in-line non-standard mark to discourage the use of, e.g., a function, method, property, or attribute which has not been standardized. Usage: <code><span class="nowiki">{{non-standard_inline}}</span></code>. Example:
</p>
<ul><li> Item 1
</li><li> Item 2 {{ Non-standard_inline() }}
</li><li> Item 3
</li></ul>
<h4 id="Template:obsolete_inline" name="Template:obsolete_inline"> Template:obsolete_inline </h4>
<p><a href="Template:Obsolete_inline">Template:obsolete_inline</a> inserts an in-line obsolete mark to prevent the use of e.g. a function, method or property which is officially obsolete. Usage: <code><span class="nowiki">{{obsolete_inline}}</span></code>. Example: </p>
<ul><li> Item 1
</li><li> Item 2 {{ Obsolete_inline() }}
</li><li> Item 3
</li></ul>
<h4 id="Template:Previous.2C_Template:Next.2C_and_Template:PreviousNext" name="Template:Previous.2C_Template:Next.2C_and_Template:PreviousNext"> Template:Previous, Template:Next, and Template:PreviousNext </h4>
<p><a href="Template:Previous">Template:Previous</a>, <a href="Template:Next">Template:Next</a>, and <a href="Template:PreviousNext">Template:PreviousNext</a> provide navigation controls for articles which are part of sequences. For the single-way templates, the only parameter needed is the wiki location of the previous or next article in the sequence. For PreviousNext, the two parameters needed are the wiki locations of the appropriate articles. The first parameter is for the previous article and the second is for the next article.
</p>
<h3 id=".E6.A8.A1.E6.9D.BF.E7.9A.84.E7.89.88.E6.9C.AC.E4.BF.A1.E6.81.AF" name=".E6.A8.A1.E6.9D.BF.E7.9A.84.E7.89.88.E6.9C.AC.E4.BF.A1.E6.81.AF"> 模板的版本信息 </h3>
<ul><li> <a href="Template:Fx_minversion_header">Template:fx minversion header</a>
</li><li> <a href="Template:Fx_minversion_inline">Template:fx minversion inline</a>
</li><li> <a href="Template:Fx_minversion_note">Template:fx_minversion_note</a>
</li><li> <a href="Template:Js_minversion_header">Template:js minversion header</a>
</li><li> <a href="Template:Js_minversion_inline">Template:js minversion inline</a>
</li><li> <a href="Template:Js_minversion_note">Template:js_minversion_note</a>
</li><li> <a href="Template:Gecko_minversion_inline">Template:gecko minversion inline</a>
</li><li> <a href="Template:Gecko_minversion_header">Template:gecko minversion header</a>
</li><li> <a href="Template:Dom_level">Template:dom_level</a>
</li></ul>
<h3 id=".E5.88.A0.E9.99.A4.EF.BC.9F" name=".E5.88.A0.E9.99.A4.EF.BC.9F"> 删除? </h3>
<h4 id="Template:sidenote" name="Template:sidenote"> Template:sidenote </h4>
<p>Due to limitations of templates in Mediawiki which prevent templates from being nested (e.g., <code><span class="nowiki">{{sidenote|left|See also {{bug|123456}}.}}</span></code>, where the end of the inner template is incorrectly parsed as the end of the outer template), this template should no longer be used. Instead, use the following:
</p>
<pre>&lt;div class="side-note-left"&gt;...&lt;/div&gt; &lt;!-- for a left-floated sidebar --&gt;
&lt;div class="side-note-right"&gt;...&lt;/div&gt; &lt;!-- for a right-floated sidebar --&gt;
</pre>
<h3 id=".E5.8F.A6.E8.A7.81" name=".E5.8F.A6.E8.A7.81"> 另见 </h3>
<ul><li> <a class="external" href="http://meta.wikimedia.org/wiki/Help:Template">MediaWiki: Template</a>
</li></ul>
{{ languages( { "de": "Project:de/Spezielle_Vorlagen", "ja": "Project:ja/Custom_Templates", "pt": "Project:pt/Predefini\u00e7\u00f5es_personalizadas", "pl": "Project:pl/W\u0142asne_szablony" } ) }}
恢复到这个版本