Template:=/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{mbox|type=notice|text=This template will soon be deprecated, as the {{tl|{{=}}}} will soon be a Magic word. See reasons and status at Wikipe...") |
mNo edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
__NOTOC__ | |||
== Usage == | == Usage == | ||
Line 7: | Line 6: | ||
== Examples == | == Examples == | ||
* | * {{tlc|Font color|black|yellow|2 + 2 {{=}} 4}} produces: {{Font color|black|yellow|2 + 2 {{=}} 4}} | ||
You can also use named parameters to bypass the restriction: | You can also use named parameters to bypass the restriction: | ||
* | * {{tlc|Font color|black|yellow|3{{=}} 2 + 2 {{=}} 4}} produces: {{Font color|black|yellow|3= 2 + 2 = 4}} | ||
== Similar templates == | |||
{{Character template list}} | |||
== TemplateData == | == TemplateData == | ||
Line 21: | Line 23: | ||
</templatedata> | </templatedata> | ||
<includeonly>{{sandbox other||{{testcases other|| | |||
<!-- Categories below this line, please --> | |||
<!-- | |||
[[Category:Character-substitution templates]] | [[Category:Character-substitution templates]] | ||
}}</includeonly> | [[Category:Documentation formatting templates]] | ||
}}}}</includeonly> |
Latest revision as of 01:11, 20 August 2023
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 |
Output (delayed interpretation as wikimarkup) |
HTML alternative (never interpreted as wikimarkup) |
Notes |
---|---|---|---|
{{!}} (m) | | | | | |
{{=}} | = | = | |
{{!(}} | [ | [ | |
{{)!}} | ] | ] | |
{{!((}} | [[ | [[ | |
{{!(n(}} | [[ | this uses a <nowiki /> tag
| |
{{))!}} | ]] | ]] | |
{{(}} | { | { | |
{{)}} | } | } | |
{{((}} | {{ | {{ | |
{{(n(}} | {{ | this uses a <nowiki /> tag
| |
{{))}} | }} | }} | |
{{(((}} | {{{ | {{{ | |
{{((n(}} | {{{ | this uses a <nowiki /> tag
| |
{{)))}} | }}} | }}} | |
{{(!}} | {| | {| | |
{{!-}} | |- | |- | |
{{!)}} | |} | |} | |
{{x}} | × | Multiplication Sign | |
{{+}} | + | Plus sign with a non-breaking space in front | |
{{-}} | - | ‑ | A non-breaking hypen |
{{a}} | α | α | |
{{b}} | β | β | |
{{o}} | Ω | Ω |
TemplateData
A template to allow = to be used in template parameters
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |