Template:=: Difference between revisions

From FreeAllegiance Wiki
Jump to navigationJump to search
(Explaination)
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
----
----


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


Compare <nowiki>{{Note|2+2=5}}</nowiki> and <nowiki>{{Note|2+2{{=}}5}}</nowiki>
Compare the following:


{{Note|2+2=5}}
{| class="wikitable" border="1" cellspacing="0"  cellpadding="5" align="center"
{{Note|2+2{{=}}5}}
! 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:Template]]
[[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