Difference between revisions of "Template:Logicgate"
From #openttdcoop wiki
| Line 1: | Line 1: | ||
| − | {|class="wikitable" | + | {|class="wikitable" style="width:600px;word-wrap:break-word;" |
!colspan="2"|{{{name}}} | !colspan="2"|{{{name}}} | ||
|-style="text-align:center;" | |-style="text-align:center;" | ||
| Line 11: | Line 11: | ||
!colspan="2"|IO Table | !colspan="2"|IO Table | ||
|- | |- | ||
| − | + | | | |
{{{iotable}}} | {{{iotable}}} | ||
|}<includeonly>[[Category:Logic]]</includeonly> | |}<includeonly>[[Category:Logic]]</includeonly> | ||
<noinclude> | <noinclude> | ||
Template for logic gates | Template for logic gates | ||
| − | + | Example: | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
{{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;" | ||
| − | ! | + | !Input!!Output |
| − | !Output | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
{{!}}- | {{!}}- | ||
| − | {{!}} | + | !A!!O |
| − | {{!}}1 | + | {{!}}- |
| − | + | {{!}}0{{!}}{{!}}1 | |
| − | {{!}}1 | + | {{!}}- |
| − | {{!}}0 | + | {{!}}1{{!}}{{!}}0 |
| − | + | {{!}}} | |
}} | }} | ||
</noinclude> | </noinclude> | ||
Revision as of 03:07, 17 March 2014
| {{{name}}} | |
|---|---|
| |
| {{{description}}} | |
| Absolute-Red Dependent | No |
| IO Table | |
|
{{{iotable}}} | |
Template for logic gates Example:
| Not Gate | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| |||||||||
| Not gates inverts the input from red to greed or vice-versa. | |||||||||
| Absolute-Red Dependent | No | ||||||||
| IO Table | |||||||||
| |||||||||

