<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3ABraces%2Fdoc</id>
	<title>模板:Braces/doc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3ABraces%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Braces/doc&amp;action=history"/>
	<updated>2026-05-14T22:14:29Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Braces/doc&amp;diff=7974&amp;oldid=prev</id>
		<title>Zeroclanzhang：​创建页面，内容为“{{Documentation subpage}}  * This template returns the first unnamed parameter in double braces. To be used to demonstrate template code without the need for clunky nowiki&#039;ing. Further unnamed parameters (up to 8 more) can be used without worrying for pipes. * Set {{mono|code{{=}}on}}{{\}}{{mono|code{{=}}true}}{{\}}etc. to switch the font used to the HTML &lt;nowiki&gt;&lt;code&gt;&lt;/nowiki&gt;-style monospaced font. * To improve legibility, {{tl|thin space}}s are inserted eit…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Braces/doc&amp;diff=7974&amp;oldid=prev"/>
		<updated>2024-01-21T14:11:50Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{Documentation subpage}}  * This template returns the first unnamed parameter in double braces. To be used to demonstrate template code without the need for clunky nowiki&amp;#039;ing. Further unnamed parameters (up to 8 more) can be used without worrying for pipes. * Set {{mono|code{{=}}on}}{{\}}{{mono|code{{=}}true}}{{\}}etc. to switch the font used to the HTML &amp;lt;nowiki&amp;gt;&amp;lt;code&amp;gt;&amp;lt;/nowiki&amp;gt;-style monospaced font. * To improve legibility, {{tl|thin space}}s are inserted eit…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&lt;br /&gt;
* This template returns the first unnamed parameter in double braces. To be used to demonstrate template code without the need for clunky nowiki&amp;#039;ing. Further unnamed parameters (up to 8 more) can be used without worrying for pipes.&lt;br /&gt;
* Set {{mono|code{{=}}on}}{{\}}{{mono|code{{=}}true}}{{\}}etc. to switch the font used to the HTML &amp;lt;nowiki&amp;gt;&amp;lt;code&amp;gt;&amp;lt;/nowiki&amp;gt;-style monospaced font.&lt;br /&gt;
* To improve legibility, {{tl|thin space}}s are inserted either side of any [[Vertical bar|pipe character]]s (&amp;quot;{{thin space|{{!}}}}&amp;quot;) displayed by the template.&lt;br /&gt;
* To ensure equals-signs are handled as text by the template, use {{tl|{{=}}}} to produce them&amp;amp;nbsp;– e.g. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{braces|Templatename|p1{{=}}v1|p2{{=}}v2|...}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (and see examples below).&lt;br /&gt;
&lt;br /&gt;
== Function ==&lt;br /&gt;
* This template wraps the [[HTML entities]] &amp;lt;code&amp;gt;&amp;amp;amp;#123;&amp;amp;amp;#123;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;amp;amp;#125;&amp;amp;amp;#125;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Limitations ===&lt;br /&gt;
* The template cannot output just the starting double braces or just the ending double braces. You will have to write &amp;lt;code&amp;gt;&amp;amp;amp;#123;&amp;amp;amp;#123;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;amp;amp;#125;&amp;amp;amp;#125;&amp;lt;/code&amp;gt;. Or you could use [[Template:(]] and [[Template:)]].&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
{{Markup&lt;br /&gt;
| col2 = Output&lt;br /&gt;
&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;{{braces|Templatename|item1|item2}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
| {{braces|Templatename|item1|item2}}&lt;br /&gt;
&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;{{braces|code=on |Templatename|item1|item2}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
| {{braces|code=on |Templatename|item1|item2}}&lt;br /&gt;
&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;{{braces |Templatename|item1{{=}}XYZ|item2{{=}}PQR}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
| {{braces |Templatename|item1{{=}}XYZ|item2{{=}}PQR}}&lt;br /&gt;
&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;{{braces|code=on |Templatename|item1{{=}}XYZ|item2{{=}}PQR}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
| {{braces |code=on |Templatename|item1{{=}}XYZ|item2{{=}}PQR}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Note that omitting the double-braces around the equals signs in the last two examples does not work as intended:&lt;br /&gt;
{{Markup&lt;br /&gt;
| col2 = Output&lt;br /&gt;
&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;{{braces |Templatename|item1=XYZ|item2=PQR}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
| {{braces |Templatename|item1=XYZ|item2=PQR}}&lt;br /&gt;
&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;{{braces|code=on |Templatename|item1{{=}}XYZ|item2{{=}}PQR}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
| {{braces |code=on |Templatename|item1=XYZ|item2=PQR}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|brackets}}&lt;br /&gt;
* {{tl|bracket}}&lt;br /&gt;
* {{tl|nowiki}}&lt;br /&gt;
* {{tl|mono}}&lt;br /&gt;
* {{tl|mset}}&lt;br /&gt;
* {{tl|(())}}&lt;br /&gt;
&amp;lt;!--[Now deprecated?:] * {{tl|Ttt}} {{tag|tt}} tags.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
[[Category:Character-substitution templates]]&lt;br /&gt;
[[Category:Wikitext typing-aid templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zeroclanzhang</name></author>
	</entry>
</feed>