Difference between revisions of "Template:Infobox Unicode block/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(rm color OR)
imported>Le Deluge
(Outdated version of template)
Line 1: Line 1:
{{Infobox
 
|above  = {{{blockname|{{BASEPAGENAME}}}}}
 
|abovestyle = background:#CCE; <!--
 
  
italic block name for supplemental planes
 
--> {{#ifexpr: {{hex2dec|rangestart}} > 65535 | font-style:italic; |}} <!--
 
 
block name color by main script type/direction
 
-->
 
|label1 = Range
 
|data1  = {{#if: {{{rangestart|}}}{{{rangeend|}}}|{{uc:U+{{{rangestart|}}}..U+{{{rangeend|}}}}}<br />({{#expr: {{hex2dec|{{{rangeend|0}}}}} - {{hex2dec|{{{rangestart|0}}}}} + 1}} code points)}}
 
|label2 = Plane
 
|data2  = {{#switch: {{#expr: floor({{hex2dec|{{{rangestart|-1}}}}}/65536)}}
 
        |-1 =
 
        |0 = [[Basic Multilingual Plane|BMP]]
 
        |1 = [[Supplementary Multilingual Plane|SMP]]
 
        |2 = [[Supplementary Ideographic Plane|SIP]]
 
        |3 = [[Tertiary Ideographic Plane|TIP]]
 
        |14 = [[Supplementary Special-purpose Plane|SSP]]
 
        |15 |16 = [[Private Use Plane]]
 
        |#default = Unassigned plane
 
        }}
 
|label3 = Scripts
 
|data3  = {{{script1|}}} {{#if:{{{script2|}}}|<br />{{{script2}}}}} {{#if:{{{script3|}}}|<br />{{{script3}}}}} {{#if:{{{script4|}}}|<br />{{{script4}}}}} {{#if:{{{script5|}}}|<br />{{{script5}}}}}
 
|label4 = Symbol sets
 
|data4  = {{{symbols|}}}
 
|label5 = Major alphabets
 
|data5  = {{{alphabets|}}}
 
 
|label10 = Assigned
 
|data10  = {{#if:{{{assigned|}}}{{{1_0_0|}}}{{{1_0_1|}}}{{{1_1|}}}{{{2_0|}}}{{{2_1|}}}{{{3_0|}}}{{{3_1|}}}{{{3_2|}}}{{{4_0|}}}{{{4_1|}}}{{{5_0|}}}{{{5_1|}}}{{{5_2|}}}{{{6_0|}}}{{{6_1|}}}{{{6_2|}}}{{{6_3|}}}|{{{assigned|{{#expr:{{{1_0_0|0}}} + {{{1_0_1|0}}} + {{{1_1|0}}} + {{{2_0|0}}} + {{{2_1|0}}} + {{{3_0|}}} + {{{3_1|0}}} + {{{3_2|0}}} + {{{4_0|0}}} + {{{4_1|0}}} + {{{5_0|0}}} + {{{5_1|0}}} + {{{5_2|0}}} + {{{6_0|0}}} + {{{6_1|0}}} + {{{6_2|0}}} + {{{6_3|0}}} }} }}} code points}} {{#if:{{{controls|}}}|<br />{{{controls|}}} Control or Format}}
 
|label11 = Unused
 
|data11  = {{#if: {{{rangeend|}}}{{{rangestart|}}}{{{assigned|}}} | {{#expr: {{hex2dec|{{{rangeend|0}}}}} - {{hex2dec|{{{rangestart|0}}}}} + 1 - ({{{assigned|{{#expr:{{{1_0_0|0}}} + {{{1_0_1|0}}} + {{{1_1|0}}} + {{{2_0|0}}} + {{{2_1|0}}} + {{{3_0|0}}} + {{{3_1|0}}} + {{{3_2|0}}} + {{{4_0|0}}} + {{{4_1|0}}} + {{{5_0|0}}} + {{{5_1|0}}} + {{{5_2|0}}} + {{{6_0|0}}} + {{{6_1|0}}} + {{{6_2|0}}} + {{{6_3|0}}} }} }}}) - {{{nonchar|0}}} }} reserved code points}} {{#if:{{{nonchar|}}}|<br />{{{nonchar|}}} Non-characters}} {{#if:{{{deprecated|}}}|<br />{{{deprecated|}}} Deprecated}}
 
|label12 = Source standard(s)
 
|data12  = {{{sources|}}}
 
 
|header20 = {{#if:{{{1_0_0|}}}{{{1_0_1|}}}{{{1_1|}}}{{{2_0|}}}{{{2_1|}}}{{{3_0|}}}{{{3_1|}}}{{{3_2|}}}{{{4_0|}}}{{{4_1|}}}{{{5_0|}}}{{{5_1|}}}{{{5_2|}}}{{{6_0|}}}{{{6_1|}}}{{{6_2|}}}{{{6_3|}}}|Unicode version history|}}
 
|data21 = {{Infobox
 
        |child  = yes
 
        |label1 = 1.0.0
 
        |data1  = {{#if: {{{1_0_0|}}} | {{{1_0_0|}}} (+{{{1_0_0|}}}) }}
 
        |label2 = 1.0.1
 
        |data2  = {{#if: {{{1_0_1|}}} | {{#expr:{{{1_0_0|0}}} + {{{1_0_1|0}}}}} (+{{{1_0_1|}}}) |}}
 
        |label3 = 1.1
 
        |data3  = {{#if: {{{1_1|}}} | {{#expr:{{{1_0_0|0}}} + {{{1_0_1|0}}} + {{{1_1|0}}}}} {{#ifexpr: ({{{1_1|0}}} < 0) | ({{{1_1|}}}) | (+{{{1_1|}}}) }} | }}
 
        |label4 = 2.0
 
        |data4  = {{#if: {{{2_0|}}} | {{#expr:{{{1_0_0|0}}} + {{{1_0_1|0}}} + {{{1_1|0}}} + {{{2_0|0}}}}} (+{{{2_0|}}}) |}}
 
        |label5 = 2.1
 
        |data5  = {{#if: {{{2_1|}}} | {{#expr:{{{1_0_0|0}}} + {{{1_0_1|0}}} + {{{1_1|0}}} + {{{2_0|0}}} + {{{2_1|0}}}}} (+{{{2_1|}}}) |}}
 
        |label6 = 3.0
 
        |data6  = {{#if: {{{3_0|}}} | {{#expr:{{{1_0_0|0}}} + {{{1_0_1|0}}} + {{{1_1|0}}} + {{{2_0|0}}} + {{{2_1|0}}} + {{{3_0|0}}}}} (+{{{3_0|}}}) |}}
 
        |label7 = 3.1
 
        |data7  = {{#if: {{{3_1|}}} | {{#expr:{{{1_0_0|0}}} + {{{1_0_1|0}}} + {{{1_1|0}}} + {{{2_0|0}}} + {{{2_1|0}}} + {{{3_0|0}}} + {{{3_1|}}}}} (+{{{3_1|}}}) |}}
 
        |label8 = 3.2
 
        |data8  = {{#if: {{{3_2|}}} | {{#expr:{{{1_0_0|0}}} + {{{1_0_1|0}}} + {{{1_1|0}}} + {{{2_0|0}}} + {{{2_1|0}}} + {{{3_0|0}}} + {{{3_1|0}}} + {{{3_2|0}}}}} (+{{{3_2|}}}) |}}
 
        |label9 = 4.0
 
        |data9  = {{#if: {{{4_0|}}} | {{#expr:{{{1_0_0|0}}} + {{{1_0_1|0}}} + {{{1_1|0}}} + {{{2_0|0}}} + {{{2_1|0}}} + {{{3_0|0}}} + {{{3_1|0}}} + {{{3_2|0}}} + {{{4_0|0}}}}} (+{{{4_0|}}}) |}}
 
        |label10 = 4.1
 
        |data10  = {{#if: {{{4_1|}}} | {{#expr:{{{1_0_0|0}}} + {{{1_0_1|0}}} + {{{1_1|0}}} + {{{2_0|0}}} + {{{2_1|0}}} + {{{3_0|0}}} + {{{3_1|0}}} + {{{3_2|0}}} + {{{4_0|0}}} + {{{4_1|0}}}}} (+{{{4_1|}}}) |}}
 
        |label11 = 5.0
 
        |data11  = {{#if: {{{5_0|}}} | {{#expr:{{{1_0_0|0}}} + {{{1_0_1|0}}} + {{{1_1|0}}} + {{{2_0|0}}} + {{{2_1|0}}} + {{{3_0|0}}} + {{{3_1|0}}} + {{{3_2|0}}} + {{{4_0|0}}} + {{{4_1|0}}} + {{{5_0|0}}}}} (+{{{5_0|}}}) |}}
 
        |label12 = 5.1
 
        |data12  = {{#if: {{{5_1|}}} | {{#expr:{{{1_0_0|0}}} + {{{1_0_1|0}}} + {{{1_1|0}}} + {{{2_0|0}}} + {{{2_1|0}}} + {{{3_0|0}}} + {{{3_1|0}}} + {{{3_2|0}}} + {{{4_0|0}}} + {{{4_1|0}}} + {{{5_0|0}}} + {{{5_1|0}}}}} (+{{{5_1|}}}) |}}
 
        |label13 = 5.2
 
        |data13  = {{#if: {{{5_2|}}} | {{#expr:{{{1_0_0|0}}} + {{{1_0_1|0}}} + {{{1_1|0}}} + {{{2_0|0}}} + {{{2_1|0}}} + {{{3_0|0}}} + {{{3_1|0}}} + {{{3_2|0}}} + {{{4_0|0}}} + {{{4_1|0}}} + {{{5_0|0}}} + {{{5_1|0}}} + {{{5_2|0}}}}} (+{{{5_2|}}}) |}}
 
        |label14 = 6.0
 
        |data14  = {{#if: {{{6_0|}}} | {{#expr:{{{1_0_0|0}}} + {{{1_0_1|0}}} + {{{1_1|0}}} + {{{2_0|0}}} + {{{2_1|0}}} + {{{3_0|0}}} + {{{3_1|0}}} + {{{3_2|0}}} + {{{4_0|0}}} + {{{4_1|0}}} + {{{5_0|0}}} + {{{5_1|0}}} + {{{5_2|0}}} + {{{6_0|0}}}}} (+{{{6_0|}}}) |}}
 
        |label15 = 6.1
 
        |data15  = {{#if: {{{6_1|}}} | {{#expr:{{{1_0_0|0}}} + {{{1_0_1|0}}} + {{{1_1|0}}} + {{{2_0|0}}} + {{{2_1|0}}} + {{{3_0|0}}} + {{{3_1|0}}} + {{{3_2|0}}} + {{{4_0|0}}} + {{{4_1|0}}} + {{{5_0|0}}} + {{{5_1|0}}} + {{{5_2|0}}} + {{{6_0|0}}} + {{{6_1|0}}}}} (+{{{6_1|}}}) |}}
 
        |label16 = 6.2
 
        |data16  = {{#if: {{{6_2|}}} | {{#expr:{{{1_0_0|0}}} + {{{1_0_1|0}}} + {{{1_1|0}}} + {{{2_0|0}}} + {{{2_1|0}}} + {{{3_0|0}}} + {{{3_1|0}}} + {{{3_2|0}}} + {{{4_0|0}}} + {{{4_1|0}}} + {{{5_0|0}}} + {{{5_1|0}}} + {{{5_2|0}}} + {{{6_0|0}}} + {{{6_1|0}}} + {{{6_2|0}}}}} (+{{{6_2|}}}) |}}
 
        |label17 = 6.3
 
        |data17  = {{#if: {{{6_3|}}} | {{#expr:{{{1_0_0|0}}} + {{{1_0_1|0}}} + {{{1_1|0}}} + {{{2_0|0}}} + {{{2_1|0}}} + {{{3_0|0}}} + {{{3_1|0}}} + {{{3_2|0}}} + {{{4_0|0}}} + {{{4_1|0}}} + {{{5_0|0}}} + {{{5_1|0}}} + {{{5_2|0}}} + {{{6_0|0}}} + {{{6_1|0}}} + {{{6_2|0}}} + {{{6_3|0}}}}} (+{{{6_3|}}}) |}}
 
        }}
 
 
|below  = {{#if:{{{note|}}}|'''Note''': {{{note|}}}}}
 
}}<!--
 
 
--><!--
 
 
-->{{#if:{{{1_0_0|}}}{{{1_0_1|}}}| |{{#if:{{{1_1|}}}|[[Category:Maintenance cat unicode 1.1]]|[[Category:Maintenance cat not unicode 1.1]]}}}}
 

Revision as of 04:38, 8 March 2017