Difference between revisions of "Template:=/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Komusou
(tweak)
blackwiki>Komusou
(documented {{tl|{{=}}}} vs. {{tl|{{Equals}}}})
Line 10: Line 10:
 
This template will NOT work for uses such as:
 
This template will NOT work for uses such as:
  
: <NOWIKI>{{Colors|black|yellow|2 + 2 {{=}} 4}}</NOWIKI> {{Arrow}} {{Colors|black|yellow|2 + 2 {{=}} 4}}
+
: {{N}} <CODE><NOWIKI>{{tl|{{=}}}}</NOWIKI></CODE> {{Arrow}} {{tl|{{=}}}}
 +
: {{N}} <CODE><NOWIKI>{{Colors|black|yellow|2 + 2 {{=}} 4}}</NOWIKI></CODE> {{Arrow}} {{Colors|black|yellow|2 + 2 {{=}} 4}}
  
 
For this, you will need {{tl|Equals}}:
 
For this, you will need {{tl|Equals}}:
  
: <NOWIKI>{{Colors|black|yellow|2 + 2 {{Equals}} 4}}</NOWIKI> {{Arrow}} {{Colors|black|yellow|2 + 2 {{equals}} 4}}
+
: {{Y}} <CODE><NOWIKI>{{tl|{{Equals}}}}</NOWIKI></CODE> {{Arrow}} {{tl|{{Equals}}}}
 +
: {{Y}} <CODE><NOWIKI>{{Colors|black|yellow|2 + 2 {{Equals}} 4}}</NOWIKI></CODE> {{Arrow}} {{Colors|black|yellow|2 + 2 {{equals}} 4}}
  
 
{{Lts|{{PAGENAME}}}}
 
{{Lts|{{PAGENAME}}}}

Revision as of 07:39, 12 October 2007

Template:Template doc page

Usage

This is an auxiliary template allowing to encode "=" within template parameters. For obvious reasons this is a high risk template, and it cannot be substituted.

This template will NOT work for uses such as:

Template:N {{tl|{{=}}}} → {{=}}
Template:N {{Colors|black|yellow|2 + 2 {{=}} 4}} → 2 + 2 = 4

For this, you will need {{Equals}}:

Template:Y {{tl|{{Equals}}}} → {{=}}
Template:Y {{Colors|black|yellow|2 + 2 {{Equals}} 4}} → 2 + 2 = 4

Template:=/doc(edit talk links history)

See also