Template:Auxiliary template common notice: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Amalthea
fix
Ookami (talk | contribs)
m 60 revisions imported
 
(42 intermediate revisions by 20 users not shown)
Line 1: Line 1:
=== Usage ===
__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.<!--
-->{{#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==
{| class="wikitable" style="text-align:center"
|-
! scope="col" style="width:7.0em;" | Template call
! scope="col" style="width:5.75em;" | Output
! scope="col" style="width:9.0em;" | HTML alternative
|- style="vertical-align:top"
| {{tlx|!!}}
| <nowiki>||</nowiki>
| &amp;#124;&amp;#124;
|- style="vertical-align:top"
| {{tlx|!(}}
| {{!(}}
| &amp;#91;
|- style="vertical-align:top"
| {{tlx|)!}}
| {{)!}}
| &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.


For example, {{tlf|{{BASEPAGENAME}}}} gives "<includeonly>{{ </includeonly>{{BASEPAGENAME}}<includeonly> }}</includeonly>".
==See also==
{{{notice|}}}
* [[Template:=|Template:{{thin space|&#61;}}]], which produces an [[Equals sign|equals-sign]] as ordinary text
=== See also ===
* [[Template:\|Template:{{thin space|\}}]], which produces "&nbsp;<nowiki>/</nowiki>" (i.e. a [[Slash (punctuation)|slash]] character preceded by a [[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 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)


*{{#ifeq: {{BASEPAGENAME}} | !( || [[Template:!(|!(]] }}
<includeonly>{{Sandbox other||
*{{#ifeq: {{BASEPAGENAME}} | )! || [[Template:)!|)!]] }}
[[Category:Template namespace templates]]
*{{#ifeq: {{BASEPAGENAME}} | !(( || [[Template:!((|!((]] }}
}}</includeonly><noinclude>
*{{#ifeq: {{BASEPAGENAME}} | ))! || [[Template:))!|))!]] }}
[[Category:Documentation shared content templates]]
*{{#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 both this template and for every template that uses this -->
[[Category:Template namespace templates|{{PAGENAME}}]]
 
<noinclude>
<!-- ADD INTERWIKIs BELOW -->
</noinclude>
</noinclude>

Latest revision as of 05:28, 3 September 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:

  • Template:Braces, to produce text such as "{{example text}}" (without triggering a transclusion)
  • Template:Brackets, to produce text such as "[[example text]]" (without triggering a wikilink)
  • Template:Bracket, to produce text such as "[example text]" or "[example text]"
  • Template:Mset, to produce text such as "{1, 2, ..., N}" (i.e., a mathematical set)
  • Template:Tlf, to produce text such as "{{example text}}" (without triggering a transclusion)