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

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(See also: *{{tl|Square bracket open}})
m (41 revisions)
 
(29 intermediate revisions by 18 users not shown)
Line 1: Line 1:
=== Usage ===
+
__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.<!--
 +
-->{{#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.}}
  
This template can be used in place of a literal "<includeonly>{{ </includeonly>{{BASEPAGENAME}}<includeonly> }}</includeonly>" when the latter would be interpreted as a syntactic marker.
+
===Similar templates===
 +
{{Aligned table
 +
|cols=3
 +
|col1width=7.0em |col2width=5.75em|col3width=9.0em
 +
|col1align=left  |col2align=center|col3align=center
 +
| '''Template''' | '''Output''' | '''HTML alternative'''
 +
| {{tlp|!!}}    | {{!!}}      | &amp;#124;&amp;#124;
 +
| {{tlp|!(}}    | {{!(}}      | &amp;#91;
 +
| {{tlp|)!}}    | {{)!}}      | &amp;#93;
 +
| {{tlp|!((}}    | {{!((}}      | &amp;#91;&amp;#91;
 +
| {{tlp|))!}}    | {{))!}}      | &amp;#93;&amp;#93;
 +
| {{tlp|(}}      | {{(}}        | &amp;#123;
 +
| {{tlp|)}}      | {{)}}        | &amp;#125;
 +
| {{tlp|((}}    | {{((}}      | &amp;#123;&amp;#123;
 +
| {{tlp|))}}    | {{))}}      | &amp;#125;&amp;#125;
 +
| {{tlp|(((}}    | {{(((}}     | &amp;#123;&amp;#123;&amp;#123;
 +
| {{tlp|)))}}    | {{)))}}      | &amp;#125;&amp;#125;&amp;#125;
 +
}}
  
For example, {{tlf|{{BASEPAGENAME}}}} gives "<includeonly>{{ </includeonly>{{BASEPAGENAME}}<includeonly> }}</includeonly>".
+
* '''Note:''' [[Template:!|Template:{{thinsp|!}}]] was also a template but was converted into a [[MW:Help:Magic word#Other|Magic Word]], you can also use the HTML alternative of &amp;#124; and either will give you an output of |
  
=== 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:{{thinsp|&#61;}}]], which produces an [[Equals sign|equals-sign]] as ordinary text.
 +
* [[Template:Brackets]] to produce text such as "{{brackets|example text}}" (i.e. unlinked).
  
*{{#ifeq: {{BASEPAGENAME}} | !( || [[Template:!(|!(]] }}
+
'''Other [[Bracket#Curly brackets or braces &#123; &#125;|brace]]-rendering templates'''
*{{#ifeq: {{BASEPAGENAME}} | )! || [[Template:)!|)!]] }}
+
* [[Template:Braces]], to produce text such as "{{braces|example text}}" (i.e. untranscluded).
*{{#ifeq: {{BASEPAGENAME}} | !(( || [[Template:!((|!((]] }}
+
* [[Template:Square bracket open]], which produces "{{thinsp|[}}" or, as <kbd><nowiki>{{square bracket open|2}}</nowiki></kbd>, "{{thinsp|<nowiki>[[</nowiki>}}".
*{{#ifeq: {{BASEPAGENAME}} | ))! || [[Template:))!|))!]] }}
+
* [[Template:Square bracket close]], which produces "{{thinsp|]}}" or, as <kbd><nowiki>{{square bracket close|2}}</nowiki></kbd>, "{{thinsp|<nowiki>]]</nowiki>}}".
*{{#ifeq: {{BASEPAGENAME}} | ( || [[Template:(|(]] }}
 
*{{#ifeq: {{BASEPAGENAME}} | ) || [[Template:)|)]] }}
 
*{{#ifeq: {{BASEPAGENAME}} | (( || [[Template:((|((]] }}
 
*{{#ifeq: {{BASEPAGENAME}} | )) || [[Template:))|))]] }}
 
*{{#ifeq: {{BASEPAGENAME}} | ((( || [[Template:(((|(((]] }}
 
*{{#ifeq: {{BASEPAGENAME}} | ))) || [[Template:)))|)))]] }}
 
*{{#ifeq: {{BASEPAGENAME}} | Brackets || [[Template:Brackets|Brackets]] }}
 
*{{tl|Square bracket open}}
 
  
<!-- Category for both this template and for every template that uses this -->
+
[[Category:Template namespace templates]]
[[Category:Template namespace templates|{{PAGENAME}}]]
+
<noinclude>[[Category:Wikipedia character-substitution templates| ]]</noinclude>
 
 
<noinclude>
 
<!-- ADD INTERWIKIs BELOW -->
 
[[no:Mal:Auxiliary template common notice]]
 
[[nso:Template:Auxiliary template common notice]]
 
</noinclude>
 

Latest revision as of 10:20, 23 July 2016

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[edit]

Template:Aligned table

  • Note: Template:! was also a template but was converted into a Magic Word, you can also use the HTML alternative of &#124; and either will give you an output of |

See also[edit]

Other brace-rendering templates