Line 1: |
Line 1: |
| __NOTOC__ | | __NOTOC__ |
− | Use this template to produce the [[Character (computing)|character]] or characters "{{thin space|<includeonly>{{ {{BASEPAGENAME}} }}</includeonly><noinclude>{{small|[''character/s appear here'']}}</noinclude>}}" as ordinary text rather than as part of a link <code><nowiki>[[ ]]</nowiki></code>, [[Wikipedia:Transclusion|transclusion]] <code><nowiki>{{ }}</nowiki></code>, variable <code><nowiki>{{{ }}}</nowiki></code>, etc.<!-- | + | Use this template to produce the [[Character (computing)|character]] or characters "{{thinsp|<includeonly>{{ {{BASEPAGENAME}} }}</includeonly><noinclude>{{small|[''character/s appear here'']}}</noinclude>}}" as ordinary text rather than as part of a link <code><nowiki>[[ ]]</nowiki></code>, [[Wikipedia:Transclusion|transclusion]] <code><nowiki>{{ }}</nowiki></code>, variable <code><nowiki>{{{ }}}</nowiki></code>, etc.<!-- |
| -->{{#if:{{{entity|}}} |<br/>The [[Character encodings in HTML#HTML character references|HTML character code]] "<code>&{{{entity}}};</code>" may also be used to produce the same result.}} | | -->{{#if:{{{entity|}}} |<br/>The [[Character encodings in HTML#HTML character references|HTML character code]] "<code>&{{{entity}}};</code>" may also be used to produce the same result.}} |
| | | |
− | ==Similar templates== | + | ===Similar templates=== |
− | {| class="wikitable" style="text-align:center" | + | {{Aligned table |
− | |- | + | |cols=3 |
− | ! scope="col" style="width:7.0em;" | Template call
| + | |col1width=7.0em |col2width=5.75em |col3width=9.0em |
− | ! scope="col" style="width:5.75em;" | Output
| + | |col1align=left |col2align=center |col3align=center |
− | ! scope="col" style="width:9.0em;" | HTML alternative
| + | | '''Template''' | '''Output''' | '''HTML alternative''' |
− | |- style="vertical-align:top" | + | | [[Template: ! |Template:{{thinsp|!}}]] | {{!}} | &#124; |
− | | {{tlx|!!}} | + | | [[Template: !! |Template:{{thinsp|!!}}]] | {{!!}} | |
− | | <nowiki>||</nowiki> | + | | [[Template: !( |Template:{{thinsp|!(}}]] | {{!(}} | &#91; |
− | | &#124;&#124; | + | | [[Template: )! |Template:{{thinsp|)!}}]] | {{)!}} | &#93; |
− | |- style="vertical-align:top" | + | | [[Template: !(( |Template:{{thinsp|!((}}]] | {{!((}} | |
− | | {{tlx|!(}}
| + | | [[Template: ))! |Template:{{thinsp|))!}}]] | {{))!}} | |
− | | {{!(}} | + | | [[Template: ( |Template:{{thinsp|(}}]] | {{(}} | &#123; |
− | | &#91; | + | | [[Template: ) |Template:{{thinsp|)}}]] | {{)}} | &#125; |
− | |- style="vertical-align:top" | + | | [[Template: (( |Template:{{thinsp|((}}]] | {{((}} | |
− | | {{tlx|)!}} | + | | [[Template: )) |Template:{{thinsp|))}}]] | {{))}} | |
− | | {{)!}} | + | | [[Template: ((( |Template:{{thinsp|(((}}]] | {{(((}} | |
− | | &#93; | + | | [[Template: ))) |Template:{{thinsp|)))}}]] | {{)))}} | |
− | |- style="vertical-align:top" | + | }} |
− | | {{tlx|!((}} | |
− | | {{!((}} | |
− | | &#91;&#91; | |
− | |- style="vertical-align:top" | |
− | | {{tlx|))!}} | |
− | | {{))!}} | |
− | | &#93;&#93; | |
− | |- style="vertical-align:top" | |
− | | {{tlx|(}} | |
− | | {{(}} | |
− | | &#123; | |
− | |- style="vertical-align:top" | |
− | | {{tlx|)}} | |
− | | {{)}} | |
− | | &#125; | |
− | |- style="vertical-align:top" | |
− | | {{tlx|((}} | |
− | | {{((}} | |
− | | &#123;&#123; | |
− | |- style="vertical-align:top" | |
− | | {{tlx|))}} | |
− | | {{))}} | |
− | | &#125;&#125; | |
− | |- style="vertical-align:top" | |
− | | {{tlx|(((}} | |
− | | {{(((}} | |
− | | &#123;&#123;&#123; | |
− | |- style="vertical-align:top" | |
− | | {{tlx|)))}} | |
− | | {{)))}} | |
− | | &#125;&#125;&#125; | |
− | |} | |
− | '''Note:''' [[Template:!|Template:{{thin space|!}}]] used to be a template that generated a [[vertical bar]] character ({{thin space|{{!}}}}) but was converted into a [[MW:Help:Magic word#Other|Magic Word]]. It can still be called using <code><nowiki>{{!}}</nowiki></code>; the HTML alternative of <code>&#124;</code> has the same effect.
| |
| | | |
− | ==See also== | + | ===See also=== |
− | * [[Template:=|Template:{{thin space|=}}]], which produces an [[Equals sign|equals-sign]] as ordinary text
| + | * [[Template:\|Template:{{thinsp|\}}]], which produces " <nowiki>/</nowiki>" (i.e. a [[Slash (punctuation)|(forward-)slash]] character preceded by a [[non-breaking space]]). |
− | * [[Template:\|Template:{{thin space|\}}]], which produces " <nowiki>/</nowiki>" (i.e. a [[Slash (punctuation)|slash]] character preceded by a [[non-breaking space]]) | + | * [[Template:=|Template:{{thinsp|=}}]], which produces an [[Equals sign|equals-sign]] as ordinary text. |
− | * [[Template:Square bracket open]], which produces "{{thin space|[}}" or, as <kbd><nowiki>{{square bracket open|2}}</nowiki></kbd>, "{{thin space|<nowiki>[[</nowiki>}}" | + | * [[Template:Brackets]] (or [[Template:Square brackets]]) to produce text such as "{{brackets|example text}}" (i.e. unlinked). |
− | * [[Template:Square bracket close]], which produces "{{thin space|]}}" or, as <kbd><nowiki>{{square bracket close|2}}</nowiki></kbd>, "{{thin space|<nowiki>]]</nowiki>}}"
| |
− | The following templates enclose text inside the indicated symbols:
| |
− | * [[Template:Braces]], to produce text such as "{{braces|example text}}" (without triggering a transclusion)
| |
− | * [[Template:Brackets]], to produce text such as "{{brackets|example text}}" (without triggering a wikilink) | |
− | * [[Template:Bracket]], to produce text such as "{{bracket|example text}}" or "{{bracket|[[example text]]}}"
| |
− | * [[Template:Mset]], to produce text such as "{{mset|1, 2, ..., N}}" (i.e., a mathematical set)
| |
− | * [[Template:Tlf]], to produce text such as "{{tlf|example text}}" (without triggering a transclusion)
| |
| | | |
− | [[Category:Template namespace templates]] | + | '''Other [[Bracket#Curly brackets or braces { }|brace]]-rendering templates''' |
− | <noinclude>[[Category:Documentation shared content templates]]</noinclude> | + | * [[Template:Braces]], to produce text such as "{{braces|example text}}" (i.e. untranscluded). |
| + | * [[Template:Square bracket open]], which produces "{{thinsp|[}}" or, as <kbd><nowiki>{{square bracket open|2}}</nowiki></kbd>, "{{thinsp|<nowiki>[[</nowiki>}}". |
| + | * [[Template:Square bracket close]], which produces "{{thinsp|]}}" or, as <kbd><nowiki>{{square bracket close|2}}</nowiki></kbd>, "{{thinsp|<nowiki>]]</nowiki>}}". |