Difference between revisions of "Template:Infobox type"

From OXPL Wiki
Jump to navigation Jump to search
(Range)
m
 
Line 13: Line 13:
 
}}</onlyinclude></includeonly><noinclude>
 
}}</onlyinclude></includeonly><noinclude>
 
Example:
 
Example:
<pre>{{Infobox type|name=uint8|family=prim|similar=[[uint16]], [[uint32]]|range=0..2<sup>16</sup>-1}}</pre>
+
<pre>{{Infobox type|name=uint8|family=prim|similar=[[uint16]], [[uint32]]|range=0..2<sup>8</sup>-1<br /><small>(0..255)</small>}}</pre>
 
creates:
 
creates:
{{Infobox type|name=uint8|family=prim|similar=[[uint16]], [[uint32]]|range=0..2<sup>16</sup>-1}}
+
{{Infobox type|name=uint8|family=prim|similar=[[uint16]], [[uint32]]|range=0..2<sup>8</sup>-1<br /><small>(0..255)</small>}}
 
</noinclude>
 
</noinclude>

Latest revision as of 21:55, 21 January 2021

Example:

{{Infobox type|name=uint8|family=prim|similar=[[uint16]], [[uint32]]|range=0..2<sup>8</sup>-1<br /><small>(0..255)</small>}}

creates:

uint8 type
Address prim::uint8
Family primitive
Similar to uint16, uint32
Range 0..28-1
(0..255)