Template:Logicalconnective
From Wikipedia, the free encyclopedia
| [[{{{main}}}|{{{main}}}]] | ||||||||||||||||
| Notation | Equivalent formulas |
Truth table | Venn diagram | |||||||||||||
| {{{notation}}} | {{{equivalents}}} |
|
[[Image:{{{image}}}|100px]] | |||||||||||||
[edit] 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-tt=F
|truthtable-tf=T
|truthtable-ft=T
|truthtable-ff=T
|image=VennFTTT.svg
}}
which produces this output:
| Alternative denial | ||||||||||||||||
| 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.

