Template:Lessthan/doc
This is a documentation subpage for Template:Lessthan (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
This template can be used in place of a literal "<" when the latter would be interpreted as a syntactic marker. In particular, it can be used inside templates meant for subst:ing, together with the <includeonly>subst:</includeonly> trick, to allow the subst:ed output to contain HTML comments that contain other subst:ed templates, parser functions or variables.
For example, the code "{{<includeonly>subst:</includeonly>lessthan}}!-- {{<includeonly>subst:</includeonly>SITENAME}} -->" in a template produces "<!-- Festipedia -->" when subst:ed.