Template:=: Difference between revisions

From FreeAllegiance Wiki
Jump to navigationJump to search
(Explaination)
No edit summary
Line 4: Line 4:
For some reasons, some templates bork when an equal is included directly in them; this template works around the issue.
For some reasons, some templates bork when an equal 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}}
|}


[[Category:Template]]
[[Category:Template]]
''Italic text''

Revision as of 11:56, 14 December 2008

=


For some reasons, some templates bork when an equal 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 2+2=5

Italic text