Difference between revisions of "Template:Cmdrow"

From MCEWiki
Line 3: Line 3:
 
| {{#if: {{{short|}}}| 0x{{{addr}}}| 0x{{{addr}}}
 
| {{#if: {{{short|}}}| 0x{{{addr}}}| 0x{{{addr}}}
 
{{!}} rowspan="{{{span|1}}}" {{!}} {{{type}}}
 
{{!}} rowspan="{{{span|1}}}" {{!}} {{{type}}}
{{!}} rowspan="{{{span|1}}}" {{#ifeq: {{{reply|}}}|same|colspan="2"}} style="text-align: center" {{!}} {{{params|—}}}
+
{{!}} rowspan="{{{span|1}}}" style="text-align: center" {{!}} {{{params|—}}}
{{#ifeq:{{{reply|}}}|same||{{!}} rowspan="{{{span|1}}}" style="text-align: center" {{!}} {{{reply|—}}}}}
 
 
{{!}} rowspan="{{{span|1}}}" {{!}} {{{desc}}}
 
{{!}} rowspan="{{{span|1}}}" {{!}} {{{desc}}}
 
{{!}} rowspan="{{{span|1}}}" {{!}} {{#if: {{{fwrev|}}}|≥{{{fwrev}}}|all}}
 
{{!}} rowspan="{{{span|1}}}" {{!}} {{#if: {{{fwrev|}}}|≥{{{fwrev}}}|all}}
Line 11: Line 10:
 
Tests:
 
Tests:
 
{| class="wikitable"
 
{| class="wikitable"
{{cmdrow|id=ID|addr=ADDR|type=TYPE|reply=same|desc=DESC|fwrev=FWREV}}
+
{{cmdrow|id=ID|addr=ADDR|type=TYPE|desc=DESC|fwrev=FWREV}}
  
{{cmdrow|id=ID|addr=ADDR|type=TYPE|params=PARAMS|reply=same|desc=DESC}}
+
{{cmdrow|id=ID|addr=ADDR|type=TYPE|params=PARAMS|desc=DESC}}
 
 
{{cmdrow|id=ID|addr=ADDR|type=TYPE|params=PARAMS|reply=REPLY|desc=DESC}}
 
  
 
{{cmdrow|span=2|id=ID|addr=ADDR|type=TYPE|data=DATA|desc=DESC}}
 
{{cmdrow|span=2|id=ID|addr=ADDR|type=TYPE|data=DATA|desc=DESC}}

Revision as of 16:49, 9 September 2014

|- | style="font-family: monospace" | {{{id}}} | 0x{{{addr}}} | rowspan="1" | {{{type}}} | rowspan="1" style="text-align: center" | — | rowspan="1" | {{{desc}}} | rowspan="1" | all

Tests:

ID0xADDRTYPEDESC≥FWREV
ID0xADDRTYPEPARAMSDESCall
ID0xADDRTYPEDESCall
ID0xADDR