From WikiChip
Difference between revisions of "Template:isa box"

Line 28: Line 28:
 
{{#if:{{{registers|}}}|{{!}} '''Registers''' {{!}}{{!}} {{{registers}}}|}}
 
{{#if:{{{registers|}}}|{{!}} '''Registers''' {{!}}{{!}} {{{registers}}}|}}
 
{{#if:{{{gprs|}}}|{{!-}}|<div></div>}}
 
{{#if:{{{gprs|}}}|{{!-}}|<div></div>}}
{{#if:{{{gprs|}}}|{{!}} '''GPRs''' {{!}}{{!}} {{{gprs}}}|}}
+
{{#if:{{{gprs|}}}|{{!}} '''GPRs''' {{!}}{{!}} {{{gprs}}} {{#if: {{{gprs info|}}}|({{{gprs info}}})}}|}}
 
{{#if:{{{fprs|}}}|{{!-}}|<div></div>}}
 
{{#if:{{{fprs|}}}|{{!-}}|<div></div>}}
{{#if:{{{fprs|}}}|{{!}} '''FPRs''' {{!}}{{!}} {{{fprs}}}|}}
+
{{#if:{{{fprs|}}}|{{!}} '''FPRs''' {{!}}{{!}} {{{fprs}}} {{#if: {{{fprs info|}}}|({{{fprs info}}})}}|}}
 
{{#if:{{{sprs|}}}|{{!-}}|<div></div>}}
 
{{#if:{{{sprs|}}}|{{!-}}|<div></div>}}
{{#if:{{{sprs|}}}|{{!}} '''SPRs''' {{!}}{{!}} {{{sprs}}}|}}
+
{{#if:{{{sprs|}}}|{{!}} '''SPRs''' {{!}}{{!}} {{{sprs}}} {{#if: {{{sprs info|}}}|({{{sprs info}}})}}|}}
 
|}[[Category:all isas]][[full page name::{{FULLPAGENAME}}| ]][[instance of::instruction set architecture| ]]</includeonly><noinclude>{{documentation}}</noinclude>
 
|}[[Category:all isas]][[full page name::{{FULLPAGENAME}}| ]][[instance of::instruction set architecture| ]]</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 01:47, 23 January 2016

Template:isa box/doc