Template talk:Abs

Add topic
From Meta, a Wikimedia project coordination wiki

{{abs|5}} gives 5.

{{abs|-5}} gives 5.

{{subst:abs|subst=subst:|-8}} gives the wikitext 8.

{{abs|subst=subst:|-8}} gives the wikitext {{abs|subst=subst:|-8}}, rendered as 8

{{subst:abs|-8}} gives the wikitext {{{{{subst|}}}#expr:-8*(2*(-8>0)-1)}}, rendered as 8