Difference between revisions of "Template:Logicgate"

From #openttdcoop wiki

Jump to: navigation, search
m (moved Template:LogicGate to Template:Logicgate: pages don't like capitalization)
Line 1: Line 1:
logic gate template
+
{|class="wikitable"
 +
!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"|
 +
{{{iotable}}}
 +
|}<includeonly>[[Category:Logic]]</includeonly>
 
<noinclude>
 
<noinclude>
 
Template for logic gates
 
Template for logic gates
 +
Usage:
 +
<nowiki>
 +
{{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
 +
|}
 +
}}
 +
</nowiki>
  
 
+
{{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
 +
|}
 +
}}
 
</noinclude>
 
</noinclude>

Revision as of 02:34, 17 March 2014

{{{name}}}
Haz and.png
{{{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 |} }}

Not Gate
Haz not.png
Not gates inverts the input from red to greed or vice-versa.
Absolute-Red Dependent No
IO Table

{

Powered by MediaWiki