Difference between revisions of "CEFR and HSK Comparison"

Line 22: Line 22:
 
|''Total''||<span id="cefr-total"></span>||||''Total''||<span id="hsk-total"></span>
 
|''Total''||<span id="cefr-total"></span>||||''Total''||<span id="hsk-total"></span>
 
|}
 
|}
 +
 +
If Common.js is not loading the totals for you, open the browser console and run this code:
 +
<pre>
 +
      if($('#cefr-total').length !== 0) {
 +
          //Set CEFR total
 +
          var total = $('.cefr-value').map(function(){
 +
              return Number($.trim($(this).text()));
 +
            }).get().reduce(function(a, b) { return a + b; }, 0);
 +
          $('#cefr-total').html(total);
 +
          //Set HSK total
 +
          total = $('.hsk-value').map(function(){
 +
              return Number($.trim($(this).text()));
 +
            }).get().reduce(function(a, b) { return a + b; }, 0);
 +
          $('#hsk-total').html(total);
 +
        }
 +
</pre>
  
 
== Pages cross-listed in HSK1 and HSK0: {{#ask: [[HSK::HSK1]] [[HSK::HSK0]]|format=count }}  ==
 
== Pages cross-listed in HSK1 and HSK0: {{#ask: [[HSK::HSK1]] [[HSK::HSK0]]|format=count }}  ==

Revision as of 03:06, 17 February 2019

CEFR Level Count HSK Level Count
A1 40 HSK0 15
A2 99 HSK1 54
B1 143 HSK2 79
B2 154 HSK3 87
C1 69 HSK4 115
C2 0 HSK5 109
HSK6 66
Total Total

If Common.js is not loading the totals for you, open the browser console and run this code:

       if($('#cefr-total').length !== 0) {
          //Set CEFR total
           var total = $('.cefr-value').map(function(){
               return Number($.trim($(this).text()));
            }).get().reduce(function(a, b) { return a + b; }, 0);
           $('#cefr-total').html(total);
           //Set HSK total
           total = $('.hsk-value').map(function(){
               return Number($.trim($(this).text()));
            }).get().reduce(function(a, b) { return a + b; }, 0);
           $('#hsk-total').html(total);
        }

Pages cross-listed in HSK1 and HSK0: 0

Pages cross-listed in HSK1 and HSK2: 1

 HSK
Asking about degree with "duo"HSK1
HSK2

Pages cross-listed in HSK1 and HSK3: 4

 HSK
Before a specific time with "yiqian"HSK1
HSK3
Questions with "ne"HSK1
HSK3
Structure of times (advanced)HSK1
HSK3
Structure of times (basic)HSK1
HSK3

Pages cross-listed in HSK1 and HSK4: 0

Pages cross-listed in HSK1 and HSK5: 0

Pages cross-listed in HSK1 and HSK6: 0