Template:=/doc

From Moegirlpedia
< Template:=
Revision as of 04:32, 24 November 2022 by Bhsd (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


This template is equivalent to: =

Usage

{{=}}

Example

Code Result
{{=}} =

Notes

This template is designed to prevent confusion with the = following the parameter name.

As MediaWiki uses the equal sign as a parameter in a template, it might generate an error when a string contains an equal sign.

{{Template Name|<span style="padding:auto 0;"></span>}}
{{tl|=}}

The solution is to use {{=}} instead of an actual equal sign:

{{Template name|<span style{{=}}"padding:auto 0;"></span>}}
{{tl|{{=}}}}

This template may become one of the features of MediaWiki in future versions, so please do not abuse this template and only use it when necessary. Not only can this reduce the impact of future updates, but it can also make your Wikitext look cleaner.