Template:=/doc: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(+iw) |
(They work fine now) |
||
Line 8: | Line 8: | ||
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]]. |
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]]. |
||
ex. |
|||
This template will NOT work for uses such as: |
|||
*<CODE><NOWIKI>{{tl|{{=}}}}</NOWIKI></CODE> {{Arrow}} {{tl|{{=}}}} |
|||
*<CODE><NOWIKI>{{Colors|black|yellow|2 + 2 {{=}} 4}}</NOWIKI></CODE> {{Arrow}} {{Colors|black|yellow|2 + 2 {{=}} 4}} |
|||
For this, you will need {{tl|Equals}}: |
|||
: {{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 04:16, June 3, 2008
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.
ex.
{{tl|{{=}}}}
Template:Arrow {{=}}{{Colors|black|yellow|2 + 2 {{=}} 4}}
Template:Arrow Template:Colors
Template:=/doc(edit talk links history)
See also
- Template:(( — produces {{
- Template:)) — produces }}