Difference between revisions of "Template:=/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Komusou
(documenting {{=}} vs. {{Equals}})
blackwiki>Komusou
(tweak)
Line 6: Line 6:
 
==Usage==
 
==Usage==
  
This is an auxiliary template allowing to encode "<code>=</code>"
+
This is an auxiliary template allowing to encode "<code>=</code>" within template parameters. For obvious reasons this is a '''high risk template''', and it cannot be [[WP:SUBST|substituted]].
within template parameters.
 
 
 
For obvious reasons this is a '''high risk template''',
 
and it cannot be [[WP:SUBST|substituted]].
 
  
 
This template will NOT work for uses such as:
 
This template will NOT work for uses such as:
Line 29: Line 25:
 
<includeonly>
 
<includeonly>
  
<!-- ADD CATEGORIES BELOW THIS LINE -->
+
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
  
 
[[Category:Template namespace templates|{{PAGENAME}}]]
 
[[Category:Template namespace templates|{{PAGENAME}}]]
  
<!-- ADD INTERWIKIS BELOW THIS LINE -->
+
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
  
 
[[hsb:Předłoha:Eq]]
 
[[hsb:Předłoha:Eq]]
  
 
</includeonly>
 
</includeonly>

Revision as of 11:25, 23 September 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:

{{Colors|black|yellow|2 + 2 {{=}} 4}} → 2 + 2 = 4

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

{{Colors|black|yellow|2 + 2 {{Equals}} 4}} File:Flecha tesela.svg 2 + 2 = 4

Template:=/doc(edit talk links history)

See also