Template:LangSwitch: Difference between revisions

Jump to navigation Jump to search
→‎Known issues: Pipes/vertical strokes will break the template as well
m (Doc style)
(→‎Known issues: Pipes/vertical strokes will break the template as well)
Line 102: Line 102:


== Known issues ==
== Known issues ==
Using equal signs inside template parameters will break the template.  Two ways around this is to either use {{tl|{{=}}}} or <nowiki>=</nowiki>.
Using some characters like equal signs ('''<nowiki>=</nowiki>''') and pipes/vertical strokes ('''<nowiki>|</nowiki>''') inside template parameters will break the template.  Do note that pipes will break tables and that this workaround have to be used for tables.  Ways around this is to either use {{tl|{{=}}}}, {{tl|!}}, {{tl|!!}} {{tl|!-}} or or &lt;nowiki&gt;<nowiki>=</nowiki>&lt;/nowiki&gt;, &lt;nowiki&gt;<nowiki>|</nowiki>&lt;/nowiki&gt;, &lt;nowiki&gt;<nowiki>||</nowiki>&lt;/nowiki&gt; or &lt;nowiki&gt;<nowiki>|</nowiki>-&lt;/nowiki&gt;.


== Related content ==
== Related content ==

Navigation menu