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

From RobotX
Jump to navigation Jump to search
Mediawiki>Mainframe98
m (Reverted edits by Dubaimodels (talk) to last revision by Technical 13)
 
m (minor fixes)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
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.<!--
+
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.<!--
 
  -->{{#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==
{{Aligned table
+
{| class="wikitable" style="text-align:center"
|cols=3
+
|-
|col1width=7.0em |col2width=5.75em |col3width=9.0em
+
! scope="col" style="width:7.0em;" | Template call
|col1align=left  |col2align=center  |col3align=center
+
! scope="col" style="width:5.75em;" | Output
| '''Template'''                              | '''Output''' | '''HTML alternative'''
+
! scope="col" style="width:9.0em;" | HTML alternative
| [[Template: !    |Template:{{thinsp|!}}]]    | {{!}}       | &amp;#124;
+
|- style="vertical-align:top"
| [[Template: !!  |Template:{{thinsp|!!}}]]  | {{!!}}       |  
+
| {{tlx|!!}}
| [[Template: !(  |Template:{{thinsp|!(}}]]  | {{!(}}       | &amp;#91;
+
| <nowiki>||</nowiki>
| [[Template: )!  |Template:{{thinsp|)!}}]]  | {{)!}}       | &amp;#93;
+
| &amp;#124;&amp;#124;
| [[Template: !((  |Template:{{thinsp|!((}}]]  | {{!((}}     |  
+
|- style="vertical-align:top"
| [[Template: ))!  |Template:{{thinsp|))!}}]]  | {{))!}}     |  
+
| {{tlx|!(}}
| [[Template: (    |Template:{{thinsp|(}}]]    | {{(}}       | &amp;#123;
+
| {{!(}}
| [[Template: )    |Template:{{thinsp|)}}]]    | {{)}}       | &amp;#125;
+
| &amp;#91;
| [[Template: ((  |Template:{{thinsp|((}}]]  | {{((}}       |  
+
|- style="vertical-align:top"
| [[Template: ))  |Template:{{thinsp|))}}]]  | {{))}}       |  
+
| {{tlx|)!}}
| [[Template: (((  |Template:{{thinsp|(((}}]] | {{(((}}     |
+
| {{)!}}
| [[Template: )))  |Template:{{thinsp|)))}}]] | {{)))}}      |
+
| &amp;#93;
}}
+
|- 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:{{thinsp|\}}]], which produces "&nbsp;<nowiki>/</nowiki>" (i.e. a [[Slash (punctuation)|(forward-)slash]] character preceded by a [[non-breaking space]]).
+
* [[Template:=|Template:{{thin space|&#61;}}]], which produces an [[Equals sign|equals-sign]] as ordinary text
* [[Template:=|Template:{{thinsp|&#61;}}]], which produces an [[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:Brackets]] (or [[Template:Square brackets]]) to produce text such as "{{brackets|example text}}" (i.e. unlinked).
+
* [[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>}}"
 +
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)
  
'''Other [[Bracket#Curly brackets or braces &#123; &#125;|brace]]-rendering templates'''
+
[[Category:Template namespace templates]]
* [[Template:Braces]], to produce text such as "{{braces|example text}}" (i.e. untranscluded).
+
<noinclude>[[Category:Documentation shared content templates]]</noinclude>
* [[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>}}".
 

Revision as of 14:39, 14 May 2019

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;
{{)}}
Template documentation[create]
&#125;
{{((}}
Template documentation[create]
&#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:

Template documentation[create]

" (i.e., a mathematical set)

  • Template:Tlf, to produce text such as "{{example text}}" (without triggering a transclusion)