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)
(Rephrased explanation, heading, {{aligned table}} featuring output and more related templates)
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>&thinsp;" as ordinary text rather than as part of a link {{95%|<code><nowiki>[[ ]]</nowiki></code>}} or [[Wikipedia:Transclusion|transclusion]] {{95%|<code><nowiki>{{ }}</nowiki></code>}} or variable {{95%|<code><nowiki>{{{ }}}</nowiki></code>}}, etc.<!--
 +
-->{{#if:{{{entity|}}} |<br/>The [[Character encodings in HTML#HTML character references|HTML character code]] "<tt>&amp;{{{entity|}}};</tt>" 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
 +
|style1=width:8.0em; |style2=width:6.0em; |style3=width:9.0em;
 +
|align1=left |align2=center |align3=center
 +
| '''Template name'''      | '''Output'''          | '''HTML alternative'''
 +
| [[Template:&thinsp;!]]  | <nowiki> |  </nowiki> | &amp;#124;
 +
| [[Template:&thinsp;!!]]  | <nowiki> ||  </nowiki> |
 +
| [[Template:&thinsp;!(]]  | <nowiki> </nowiki> | &amp;#91;
 +
| [[Template:&thinsp;)!]]  | <nowiki> ]  </nowiki> | &amp;#93;
 +
| [[Template:&thinsp;!((]] | <nowiki> [[  </nowiki> |
 +
| [[Template:&thinsp;))!]] | <nowiki> ]]  </nowiki> |
 +
| [[Template:&thinsp;(]]  | <nowiki> {   </nowiki> | &amp;#123;
 +
| [[Template:&thinsp;)]]  | <nowiki> </nowiki> | &amp;#125;
 +
| [[Template:&thinsp;((]]  | <nowiki> {{ </nowiki> |
 +
| [[Template:&thinsp;))]]  | <nowiki> }} </nowiki> |
 +
| [[Template:&thinsp;(((]] | <nowiki> {{{ </nowiki> |
 +
| [[Template:&thinsp;)))]] | <nowiki> }}} </nowiki> |
 +
}}
  
 
===See also===
 
===See also===
..the templates named:
+
* [[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:&thinsp;=]], 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;[&thinsp;" and, when the parameter "2" added (i.e. {{braces|Square bracket open{{!}}2}}), "&thinsp;<nowiki>[[</nowiki>&thinsp;".
 +
* [[Template:Open squares]], which also produces "&thinsp;<nowiki>[[</nowiki>&thinsp;".
 +
* [[Template:Square bracket close]], which produces "&thinsp;]&thinsp;" and, when the paramater "2" added (i.e. {{braces|Square bracket close{{!}}2}}), "&thinsp;<nowiki>]]</nowiki>&thinsp;".
 +
* [[Template:Close squares]], which also produces "&thinsp;<nowiki>]]</nowiki>&thinsp;".
  
<noinclude>
+
[[Category:Template namespace templates]]
{{doc|content={{NODOC}}}}
 
</noinclude>
 

Revision as of 10:33, 25 April 2014

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

Similar templates

Template:Aligned table

See also

Other brace-rendering templates