Difference between revisions of "Template:Logicgate"
From #openttdcoop wiki
(Created page with "logic gate template <noinclude> Template for logic gates </noinclude>") |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {|class="wikitable" style="width:1px;word-wrap:break-word;" | |
+ | !colspan="2"|{{{name}}} | ||
+ | |-style="text-align:center;" | ||
+ | |colspan="2"|[[File:{{{image|haz_and.png}}}]] | ||
+ | |-style="text-align:center;" | ||
+ | |colspan="2"|{{{description}}} | ||
+ | |- | ||
+ | |Absolute-Red Dependent | ||
+ | |{{{absred|No}}} | ||
+ | |- | ||
+ | !colspan="2"|IO Table | ||
+ | |- | ||
+ | |colspan="2" style="padding:2px;"| | ||
+ | {{{iotable}}} | ||
+ | |}<includeonly>[[Category:Logic]]</includeonly> | ||
<noinclude> | <noinclude> | ||
− | Template for logic gates | + | Template for logic gates.<br /> |
− | + | Example: | |
− | + | ||
+ | {{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; width:100%;" | ||
+ | !Input!!Output | ||
+ | {{!}}- | ||
+ | !A!!O | ||
+ | {{!}}- | ||
+ | {{!}}0{{!}}{{!}}1 | ||
+ | {{!}}- | ||
+ | {{!}}1{{!}}{{!}}0 | ||
+ | {{!}}} | ||
+ | }} | ||
</noinclude> | </noinclude> |
Latest revision as of 03:49, 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 | |||||||||
|