Template:=/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{mbox|type=notice|text=This template will soon be deprecated, as the {{tl|{{=}}}} will soon be a [[Wikipedia:Help:Magic words|Magic word]]. See reasons and status at [[Wikipedia:phab:T91154|phab:T91154]].}}
{{Documentation subpage}}
{{Documentation subpage}}
__NOTOC__


== Usage ==
== Usage ==
Line 26: Line 26:


<!-- Categories below this line, please -->
<!-- Categories below this line, please -->
[[Category:Templates]]
[[Category:Character-substitution templates]]
[[Category:Character-substitution templates]]
[[Category:Documentation formatting templates]]
[[Category:Documentation formatting templates]]
}}}}</includeonly>
}}}}</includeonly>

Latest revision as of 01:11, 20 August 2023

Light bulb.png }}
It contains usage information, categories and other content that is not part of the original template page.


Usage

This template allows "=" to be used in unnamed template parameters. It inserts the one-character equals-sign ("=") into the text.

Examples

  • {{Font color|black|yellow|2 + 2 = 4}} produces: 2 + 2 = 4

You can also use named parameters to bypass the restriction:

  • {{Font color|black|yellow|3= 2 + 2 = 4}} produces: 2 + 2 = 4

Similar templates

Template call
(m for magic word)

Output  (delayed interpretation as wikimarkup)

HTML alternative (never interpreted as wikimarkup)

Notes
{{!}} (m) | &#124;
{{=}} = &#61;
{{!(}} [ &#91;
{{)!}} ] &#93;
{{!((}} [[ &#91;&#91;
{{!(n(}} [[ this uses a <nowiki /> tag
{{))!}} ]] &#93;&#93;
{{(}} { &#123;
{{)}} } &#125;
{{((}} {{ &#123;&#123;
{{(n(}} {{ this uses a <nowiki /> tag
{{))}} }} &#125;&#125;
{{(((}} {{{ &#123;&#123;&#123;
{{((n(}} {{{ this uses a <nowiki /> tag
{{)))}} }}} &#125;&#125;&#125;
{{(!}} {| &#123;&#124;
{{!-}} |- &#124;&#45;
{{!)}} |} &#124;&#125;
{{x}} × Multiplication Sign
{{+}}  + Plus sign with a non-breaking space in front
{{-}} - &#8209; A non-breaking hypen
{{a}} α &alpha;
{{b}} β &beta;
{{o}} Ω &Omega;

TemplateData

A template to allow = to be used in template parameters

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
No parameters specified