Jump to content

Template:Restrict

From wikiNonStop
Revision as of 08:21, 17 April 2026 by Majestix (talk | contribs) (Created page with "<includeonly>{{#ifexpr:({{{3}}})<({{{1}}})|({{{1}}})|{{#ifexpr:({{{3}}})>({{{2}}})|({{{2}}})|({{{3}}})}}}}</includeonly><noinclude> This template is used as an example at Manual:Representation of numbers in expr parser function *{{xpsoc|restrict|0|9|-1}} *{{xpsoc|restrict|0|9|0}} *{{xpsoc|restrict|0|9|1}} *{{xpsoc|restrict|0|9|9}} *{{xpsoc|restrict|0|9|10}} </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template is used as an example at Manual:Representation of numbers in expr parser function

  • {{restrict|0|9|-1}} → (0)
  • {{restrict|0|9|0}} → (0)
  • {{restrict|0|9|1}} → (1)
  • {{restrict|0|9|9}} → (9)
  • {{restrict|0|9|10}} → (9)