Template:=: Difference between revisions

From FreeAllegiance Wiki
Jump to navigationJump to search
(Formatting unformatted escaped wikicode... the mind boggles.)
No edit summary
 
(2 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 the following:
Compare the following:
Line 10: Line 10:
  |-
  |-
  || <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}}
  |-
  |-
  || <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