Toggle menu
14
236
69
27.5K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 20:13, 21 February 2025 by Prd (talk | contribs) (Created page with "{{documentation subpage}} '''''This template is for rendering a specific character "<", not for actually performing math operations.''' For that, you want ParserFunctions.'' 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 <code><nowiki><includeonly>subst:</includeonly></nowiki></code>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template is for rendering a specific character "<", not for actually performing math operations. For that, you want ParserFunctions.

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. This works even under the new parser, which doesn't otherwise allow code within comments to be evaluated.

For example, the code "{{<includeonly>subst:</includeonly>lessthan}}!-- {{<includeonly>subst:</includeonly>SITENAME}} -->" in a template produces "<!-- Wikipedia -->" when subst:ed.

See also


Contents