Template:Logicalconnective
From Vigyanwiki
Notation | Equivalent formulas |
Truth table | Venn diagram | |||||||||||||
{{{notation}}} | {{{equivalents}}} |
|
[[Image:{{{image}}}|100px]] |
Template documentation
Usage
This template is intended for the logical connective article. The syntax is as follows:
{{logicalconnective
|main=Sheffer stroke
|title=Alternative denial
|notation=''P'' NAND ''Q''<br/>''P'' | ''Q''
|equivalents=''P'' → ¬''Q'' <br/> ¬''P'' ← ''Q''<br/>¬''P'' OR ¬''Q''
|truthtable-00=1
|truthtable-01=1
|truthtable-10=1
|truthtable-11=0
|image=Venn1110.svg
}}
which produces this output:
Notation | Equivalent formulas |
Truth table | Venn diagram | |||||||||||||
P NAND Q P | Q |
P → ¬Q ¬P ← Q ¬P OR ¬Q |
|
Note that the pipe symbol (|) must be represented as |
or otherwise escaped.
[[Category:Template documentation pages{{#translation:}}]]