Skip to main content

Create new decks with customized templates

· 2 min read

First get tsv files from here

Download HSK 1 - 9.zip file and extract the zip file, the files have separated pinyin and meanings.

Create card template in Anki

Note: It is better to create new profile to create deck with following templates, then export and import in other profiles.

File -> Switch Profile -> Add
  1. Create a note types with Basic templates
Anki -> Manage Note Types -> Add -> Add: Basic
  1. Select newly created Note Types and add fields by clicking on Fields
  2. Add five fields
Simplified
Traditional
Pinyin
Audio
Meaning
  1. Create new deck with any new name
  2. Import HSK tsv files one by one to different new decks
  3. Select Type with newly created Note Types and newly created Deck
  4. Select Tab in Fields separated by
  5. Select Import even if existing note has same first field
  6. Allow HTML in fields
  7. Map fields to respective columns in TSV files
Field 1 --> Simplified
Field 2 --> Traditional
Field 3 --> Pinyin
Field 4 --> Audio
Field 5 --> Meaning
  1. Finally, import the file

Edit card templates

  1. Open Card Template Editor, select the new created deck in which tsv file imported
Tools -> Manage Note Types
  1. Select the Note Types, then click Cards

  2. Remove all content from Front Template, Back Template and Styling of card template

  3. Add CSS to styling of card templates, view this page and copy all content then paste into styling of card templates

  4. To add following fields, add this to front or back side of card templates

Simplified

<div id='ch_sim' class="text-color4 ">{{Simplified}}</div>

Traditional

<div id='ch_trad' class="text-color2">{{Traditional}}</div>

Pinyin

<div id='ch_pin' class="text-color1">{{Pinyin}}</div>

Audio

<div id='audio' style='display:none'>{{Audio}}</div>

Meaning

<div id='ch_mean' class="text-color3">{{Meaning}}</div>
  1. To add writing component, view this page and copy all content to front or back side of card templates

  2. Copy icons from icons folder in extracted zip file

  3. Audio files need to copied from previous deck. So, import HSK decks then copy audio files to collection.media folder

Video