Jump to content

Template:Auxiliary template common notice: Difference between revisions

From pool
[unchecked revision][unchecked revision]
Content deleted Content added
m 1 revision imported
No edit summary
 
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 [[Wikipedia: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.<!--
-->{{#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 [[Wikipedia: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==
Line 54: Line 54:
| &amp;#125;&amp;#125;&amp;#125;
| &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.
'''Note:''' [[Template:!|Template:{{thin space|!}}]] used to be a template that generated a [[Wikipedia:vertical bar|vertical bar]] character ({{thin space|{{!}}}}) but was converted into a [[mediawikiwiki: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:{{thin space|&#61;}}]], which produces an [[Wikipedia:Equals sign|equals-sign]] as ordinary text
* [[Template:\|Template:{{thin space|\}}]], which produces "&nbsp;<nowiki>/</nowiki>" (i.e. a [[Slash (punctuation)|slash]] character preceded by a [[non-breaking space]])
* [[Template:\|Template:{{thin space|\}}]], which produces "&nbsp;<nowiki>/</nowiki>" (i.e. a [[Wikipedia:Slash (punctuation)|slash]] character preceded by a [[Wikipedia:non-breaking space|non-breaking space]])
* [[Template:Square bracket open]], which produces "{{thin space|[}}" or, as <kbd><nowiki>{{square bracket open|2}}</nowiki></kbd>, "{{thin space|<nowiki>[[</nowiki>}}"
* [[Template:Square bracket open]], which produces "{{thin space|[}}" or, as <kbd><nowiki>{{square bracket open|2}}</nowiki></kbd>, "{{thin space|<nowiki>[[</nowiki>}}"
* [[Template:Square bracket close]], which produces "{{thin space|]}}" or, as <kbd><nowiki>{{square bracket close|2}}</nowiki></kbd>, "{{thin space|<nowiki>]]</nowiki>}}"
* [[Template:Square bracket close]], which produces "{{thin space|]}}" or, as <kbd><nowiki>{{square bracket close|2}}</nowiki></kbd>, "{{thin space|<nowiki>]]</nowiki>}}"
Line 64: Line 64:
* [[Template:Braces]], to produce text such as "{{braces|example text}}" (without triggering a transclusion)
* [[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: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:Bracket]], to produce text such as "{{bracket|example text}}" or "{{bracket|[[Wikipedia:example text|example text]]}}"
* [[Template:Mset]], to produce text such as "{{mset|1, 2, ..., N}}" (i.e., a mathematical set)
* [[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)
* [[Template:Tlf]], to produce text such as "{{tlf|example text}}" (without triggering a transclusion)

Latest revision as of 22:35, 30 October 2020

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

Similar templates

Template call Output HTML alternative
{{!!}} || &#124;&#124;
{{!(}} [ &#91;
{{)!}} ] &#93;
{{!((}} [[ &#91;&#91;
{{))!}} ]] &#93;&#93;
{{(}} { &#123;
{{)}} } &#125;
{{((}} {{ &#123;&#123;
{{))}} }} &#125;&#125;
{{(((}} {{{ &#123;&#123;&#123;
{{)))}} }}} &#125;&#125;&#125;

Note: Template:!  used to be a template that generated a vertical bar character (| ) but was converted into a Magic Word. It can still be called using {{!}}; the HTML alternative of &#124; has the same effect.

See also

The following templates enclose text inside the indicated symbols: