Difference between revisions of "Template:Auxiliary template common notice"

m (minor fixes)
m (1 revision imported)
 
(One intermediate revision by the same user not shown)
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&nbsp;<code><nowiki>[[ ]]</nowiki></code>, [[Wikipedia:Transclusion|transclusion]]&nbsp;<code><nowiki>{{ }}</nowiki></code>, variable&nbsp;<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&nbsp;<code><nowiki>[[ ]]</nowiki></code>, [[Wikipedia:Transclusion|transclusion]]&nbsp;<code><nowiki>{{ }}</nowiki></code>, variable&nbsp;<code><nowiki>{{{ }}}</nowiki></code>, etc.<!--
 
  -->{{#if:{{{entity|}}} |<br/>The [[Character encodings in HTML#HTML character references|HTML character code]] "<code>&amp;{{{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>&amp;{{{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|!}}]]    | {{!}}       | &amp;#124;
| {{tlx|!!}}
+
| [[Template: !!  |Template:{{thinsp|!!}}]]  | {{!!}}       |  
| <nowiki>||</nowiki>
+
| [[Template: !(  |Template:{{thinsp|!(}}]]  | {{!(}}       | &amp;#91;
| &amp;#124;&amp;#124;
+
| [[Template: )!  |Template:{{thinsp|)!}}]]  | {{)!}}       | &amp;#93;
|- style="vertical-align:top"
+
| [[Template: !((  |Template:{{thinsp|!((}}]]  | {{!((}}     |  
| {{tlx|!(}}
+
| [[Template: ))!  |Template:{{thinsp|))!}}]]  | {{))!}}     |  
| {{!(}}
+
| [[Template: (    |Template:{{thinsp|(}}]]    | {{(}}       | &amp;#123;
| &amp;#91;
+
| [[Template: )    |Template:{{thinsp|)}}]]    | {{)}}       | &amp;#125;
|- style="vertical-align:top"
+
| [[Template: ((  |Template:{{thinsp|((}}]]  | {{((}}       |  
| {{tlx|)!}}
+
| [[Template: ))  |Template:{{thinsp|))}}]]  | {{))}}       |  
| {{)!}}
+
| [[Template: (((  |Template:{{thinsp|(((}}]] | {{(((}}     |
| &amp;#93;
+
| [[Template: )))  |Template:{{thinsp|)))}}]] | {{)))}}      |
|- style="vertical-align:top"
+
}}
| {{tlx|!((}}
 
| {{!((}}
 
| &amp;#91;&amp;#91;
 
|- style="vertical-align:top"
 
| {{tlx|))!}}
 
| {{))!}}
 
| &amp;#93;&amp;#93;
 
|- style="vertical-align:top"
 
| {{tlx|(}}
 
| {{(}}
 
| &amp;#123;
 
|- style="vertical-align:top"
 
| {{tlx|)}}
 
| {{)}}
 
| &amp;#125;
 
|- style="vertical-align:top"
 
| {{tlx|((}}
 
| {{((}}
 
| &amp;#123;&amp;#123;
 
|- style="vertical-align:top"
 
| {{tlx|))}}
 
| {{))}}
 
| &amp;#125;&amp;#125;
 
|- style="vertical-align:top"
 
| {{tlx|(((}}
 
| {{(((}}
 
| &amp;#123;&amp;#123;&amp;#123;
 
|- style="vertical-align:top"
 
| {{tlx|)))}}
 
| {{)))}}
 
| &amp;#125;&amp;#125;&amp;#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>&amp;#124;</code> has the same effect.
 
  
==See also==
+
===See also===
* [[Template:=|Template:{{thin space|&#61;}}]], which produces an [[Equals sign|equals-sign]] as ordinary text
+
* [[Template:\|Template:{{thinsp|\}}]], which produces "&nbsp;<nowiki>/</nowiki>" (i.e. a [[Slash (punctuation)|(forward-)slash]] character preceded by a [[non-breaking space]]).
* [[Template:\|Template:{{thin space|\}}]], which produces "&nbsp;<nowiki>/</nowiki>" (i.e. a [[Slash (punctuation)|slash]] character preceded by a [[non-breaking space]])
+
* [[Template:=|Template:{{thinsp|&#61;}}]], 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 &#123; &#125;|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>}}".

Latest revision as of 17:35, 29 March 2020

Use this template to produce the character or characters " " as ordinary text rather than as part of a link [[ ]], transclusion {{ }}, variable {{{ }}}, etc.

Similar templates

Template Output HTML alternative
Template:  | &#124;
Template:  ||
Template documentation[create]
Template:  [ &#91;
Template:  ] &#93;
Template:  [[
Template: 
Template:  { &#123;
Template: 
Template documentation[create]
&#125;
Template: 
Template documentation[create]
Template:  }}
Template:  {{{
Template:  }}}

See also

Other brace-rendering templates