Template:=: Difference between revisions

From FreeAllegiance Wiki
Jump to navigationJump to search
(Workaround)
 
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=
=<noinclude>
----
 
For some reason all templates bork when an equals sign is included directly in them; this template works around the issue.
 
Compare the following:
 
{| class="wikitable" border="1" cellspacing="0"  cellpadding="5" align="center"
! Code !! Result
|-
|| <pre>{{Note|2+2=5}}</pre> || {{Note|2+2=5}}
|-
|| <pre>{{Note|2+2\=5}}</pre> || {{Note|2+2\=5}}
|-
|| <pre>{{Note|2+2{{=}}5}}</pre> || {{Note|2+2{{=}}5}}
|}
 
[[Category:Templates]]

Latest revision as of 16:43, 11 June 2010

=


For some reason all templates bork when an equals sign is included directly in them; this template works around the issue.

Compare the following:

Code Result
{{Note|2+2=5}}
Info.png
Note Your notice goes here

A common style in these templates is a first line in bold as a title. After that hit enter twice and insert the warning body.

{{Note|2+2\=5}}
Info.png
Note Your notice goes here

A common style in these templates is a first line in bold as a title. After that hit enter twice and insert the warning body.

{{Note|2+2{{=}}5}}
Info.png
Note 2+2=5