FANDOM


(added category)
(nowiki to {{=}} example and added invaild example)
 
Line 3: Line 3:
 
: This template cannot be [[Help:Substituting templates|substituted]].
 
: This template cannot be [[Help:Substituting templates|substituted]].
 
; Syntax
 
; Syntax
: <code>{{t|Colors|black|yellow|2 + 2 {{=}} 4}}</code> &rarr; {{Colors|black|yellow|2 + 2 {{=}} 4}}
+
'''Invaild:'''
  +
: <code>{{t|Colors|black|yellow|2 + 2 {{=}} 4}}</code> &rarr; {{Colors|black|yellow|2 + 2 = 4}}
  +
'''Vaild:'''
  +
: <code>{{t|Colors|black|yellow|2 + 2 <nowiki>{{=}}</nowiki> 4}}</code> &rarr; {{Colors|black|yellow|2 + 2 {{=}} 4}}
 
<includeonly>[[Category:Data templates|{{PAGENAME}}]]
 
<includeonly>[[Category:Data templates|{{PAGENAME}}]]
 
[[Category:Character-substitution templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
[[Category:Character-substitution templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 06:18, January 1, 2020

Description
{{=}} allows "=" to be used in template parameters.
This template cannot be substituted.
Syntax

Invaild:

{{Colors|black|yellow|2 + 2 = 4}}Missing text string

Vaild:

{{Colors|black|yellow|2 + 2 {{=}} 4}}2 + 2 = 4
Community content is available under CC-BY-SA unless otherwise noted.