Template:=/doc

From Moegirlpedia
Jump to: navigation, search
Cat ico20.png
This template was originally from page Template:= in Chinese Moegirlpedia, and the license might be different from English Moegirlpedia. The contents might differ after being modified by different users on both sides. For more information, see Moegirlpedia:Copyrights.

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.