Template:Logicalconnective: Difference between revisions
From Vigyanwiki
(Created page with "{| style="border-collapse: collapse; margin-left: auto; margin-right: auto; border: 1px solid black; margin-bottom: 1em;" class="wikitable" |- |+ style="text-align: center; ba...") |
m (1 revision imported from alpha:Template:Logicalconnective) |
(No difference)
|
Latest revision as of 11:07, 16 March 2023
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:}}]]