From WikiChip
Template:l
Revision as of 18:59, 27 June 2017 by At32Hz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template documentation


Adds logic symbols

Usage[edit]

Syntax: 
{{l|type|op1|op2}}
Where type can be: not, onot, and, land, land2, or, lor, lor2, xor, eq, neq. For example
{{l|and|{{l|onot|A}}|B}}
will result in "A · B"
  • {{l|not|A}} => ¬A
  • {{l|onot|A}} => A
  • {{l|and|A|B}} => A · B
  • {{l|land|A|B}} => A ∧ B
  • {{l|land2|A|B}} => A & B
  • {{l|or|A|B}} => A + B
  • {{l|lor|A|B}} => A ∨ B
  • {{l|lor2|A|B}} => A ∥ B
  • {{l|xor|A|B}} => A ⊕ B
  • {{l|eq|A|B}} => A = B
  • {{l|neq|A|B}} => A ≠ B