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

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(See-also links are to templates)
m (41 revisions)
 
(20 intermediate revisions by 11 users not shown)
Line 1: Line 1:
===Usage===
+
__NOTOC__
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.
+
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.}}
  
For example, {{tlf|{{BASEPAGENAME}}}} gives "<includeonly>{{ </includeonly>{{BASEPAGENAME}}<includeonly> }}</includeonly>".
+
===Similar templates===
{{#if:{{{entity|}}} |<br/>Alternatively, the HTML entity "<tt>&amp;{{{entity|}}};</tt>" can be used to show a "&{{{entity|}}};".}}
+
{{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;
 +
}}
 +
 
 +
* '''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===
..the templates named:
+
* [[Template:\|Template:{{thinsp|\}}]], which produces "&nbsp;<nowiki>/</nowiki>" (i.e. a [[Slash (punctuation)|(forward-)slash]] character preceded by a [[non-breaking space]]).
*{{#ifeq:{{BASEPAGENAME}}| !(  | |[[Template:!(|!(]]}}
+
* [[Template:=|Template:{{thinsp|&#61;}}]], which produces an [[Equals sign|equals-sign]] as ordinary text.
*{{#ifeq:{{BASEPAGENAME}}| )!  | |[[Template:)!|)!]]}}
+
* [[Template:Brackets]] to produce text such as "{{brackets|example text}}" (i.e. unlinked).
*{{#ifeq:{{BASEPAGENAME}}| !(( | |[[Template:!((|!((]]}}
 
*{{#ifeq:{{BASEPAGENAME}}| ))! | |[[Template:))!|))!]]}}
 
*{{#ifeq:{{BASEPAGENAME}}| (  | |[[Template:(|(]]}}
 
*{{#ifeq:{{BASEPAGENAME}}| )  | |[[Template:)|)]]}}
 
*{{#ifeq:{{BASEPAGENAME}}| ((  | |[[Template:((|((]]}}
 
*{{#ifeq:{{BASEPAGENAME}}| ))  | |[[Template:))|))]]}}
 
*{{#ifeq:{{BASEPAGENAME}}| ((( | |[[Template:(((|(((]]}}
 
*{{#ifeq:{{BASEPAGENAME}}| ))) | |[[Template:)))|)))]]}}
 
*{{#ifeq:{{BASEPAGENAME}}| Brackets | |[[Template:Brackets|Brackets]]}}
 
*{{#ifeq:{{BASEPAGENAME}}| Square bracket open  | |[[Template:Square bracket open|Square bracket open]]}}
 
*{{#ifeq:{{BASEPAGENAME}}| Square bracket close | |[[Template:Square bracket close|Square bracket close]]}}
 
  
<!---Category for this template and for every template that uses this:--->
+
'''Other [[Bracket#Curly brackets or braces &#123; &#125;|brace]]-rendering templates'''
[[Category:Template namespace templates|{{PAGENAME}}]]
+
* [[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>}}".
  
<noinclude>
+
[[Category:Template namespace templates]]
{{doc|content={{NODOC}}}}
+
<noinclude>[[Category:Wikipedia character-substitution templates| ]]</noinclude>
</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