Difference between revisions of "Template:Logicgate"
From #openttdcoop wiki
Line 17: | Line 17: | ||
Template for logic gates | Template for logic gates | ||
Usage: | Usage: | ||
− | <nowiki> | + | <code><nowiki> |
{{logicgate|name=Not Gate|image=haz_not.png|description=Not gates inverts the input from red to greed or vice-versa.|iotable= | {{logicgate|name=Not Gate|image=haz_not.png|description=Not gates inverts the input from red to greed or vice-versa.|iotable= | ||
{|class="wikitable" style="text-align:center;" | {|class="wikitable" style="text-align:center;" | ||
Line 44: | Line 44: | ||
|} | |} | ||
}} | }} | ||
− | </nowiki> | + | </code></nowiki> |
{{logicgate|name=Not Gate|image=haz_not.png|description=Not gates inverts the input from red to greed or vice-versa.|iotable= | {{logicgate|name=Not Gate|image=haz_not.png|description=Not gates inverts the input from red to greed or vice-versa.|iotable= | ||
− | { | + | {{{!}}class="wikitable" style="text-align:center;" |
− | !colspan="2" | + | !colspan="2"{{!}}Input |
!Output | !Output | ||
− | + | {{!}} - | |
!A | !A | ||
!B | !B | ||
!O | !O | ||
+ | {{!}}- | ||
+ | {{!}}0 | ||
+ | {{!}}1 | ||
|- | |- | ||
− | + | {{!}}1 | |
− | + | {{!}}0 | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|} | |} | ||
}} | }} | ||
</noinclude> | </noinclude> |
Revision as of 02:46, 17 March 2014
{{{name}}} | |
---|---|
{{{description}}} | |
Absolute-Red Dependent | No |
IO Table | |
{{{iotable}}} |
Template for logic gates
Usage:
{{logicgate|name=Not Gate|image=haz_not.png|description=Not gates inverts the input from red to greed or vice-versa.|iotable=
{|class="wikitable" style="text-align:center;"
!colspan="2"|Input
!Output
|-
!A
!B
!O
|-
|0
|0
|0
|-
|0
|1
|0
|-
|1
|0
|0
|-
|1
|1
|1
|}
}}
</code>
Not Gate | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Not gates inverts the input from red to greed or vice-versa. | ||||||||||
Absolute-Red Dependent | No | |||||||||
IO Table | ||||||||||
|