v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:="

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(bug fix)
 
m (typo)
Line 9: Line 9:
 
  ! Code !! Result  
 
  ! Code !! Result  
 
  |-
 
  |-
  || <pre>{{Colored Notice Box|2+2=5}}</pre> || {{Colored Notice Box|2+2=5}}
+
  || <pre>{{Colored Notice Box|#f00|2+2=5}}</pre> || {{Colored Notice Box|#f00|2+2=5}}
 
  |-
 
  |-
  || <pre>{{Colored Notice Box|2+2{{=}}5}}</pre> || {{Colored Notice Box|2+2{{=}}5}}
+
  || <pre>{{Colored Notice Box|#f00|2+2{{=}}5}}</pre> || {{Colored Notice Box|#f00|2+2{{=}}5}}
 
  |}
 
  |}
  
 
[[Category:Templates]]
 
[[Category:Templates]]

Revision as of 09:14, 13 March 2009

=


For some reason all templates bork when an equals sign is included directly in them; with this template, now if you use = instead of = you'll be fine.

Compare the following:

Code Result
{{Colored Notice Box|#f00|2+2=5}}
{{Colored Notice Box|#f00|2+2{{=}}5}}