Template:=/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
__NOTOC__ | |||
== Usage == | == Usage == | ||
Line 9: | Line 9: | ||
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}} | * {{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 23: | Line 26: | ||
<!-- Categories below this line, please --> | <!-- Categories below this line, please --> | ||
[[Category:Character-substitution templates]] | [[Category:Character-substitution templates]] | ||
[[Category:Documentation formatting templates]] | |||
}}}}</includeonly> | }}}}</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 |