Template:=: Difference between revisions

From OpenMW Wiki
Jump to navigation Jump to search
(creating template)
 
m (code fx)
 
Line 12: Line 12:
</nowiki></pre>
</nowiki></pre>


[[Category:Template]]
[[Category:Templates]]
</noinclude>

Latest revision as of 03:30, 19 July 2017

=

Documentation

This is a character-escaping template wrapper for the 'equals sign' character (=), so that HTML and CSS (and whatever other content) containing equals signs can be used inside wiki template code (e.g the {{#switch: ... }} construction) without breaking templates, by escaping. Example of use of {{=}}:

 {{#switch:{{{1}}}
 |TB=<span class{{=}}"Tribunal">Tribunal</span>
 |BM=<span class{{=}}"Bloodmoon">Bloodmoon</span>
 }}