Help me fix this card type 😃

Hi friends, after I finished making my deck, I found it that it couldn’t be modified on anki mac but could on ankidroid.
As anki mac reported to me, the card template 3 in my note type got a problem. So I was wondering anyone here could help me out :smiley:
btw, this deck is kind of special cuz I’ve seen anyone made something similar

It’s a deck about ancient Chinese poems. I don’t mind sharing it after the problem solved
deck example:
Screenshot 2025-03-18 at 4.36.22 PM

https://dontasktoask.com/ – If you want help, post your templates – front, back, and Styling (or wherever the problem is), as text, each in their own preformatted text/code-block. Post a screenshot of a sample note or a list of your fields. Explain what is supposed to be on the card. And if you’re getting an error, post a screenshot of that, or the exact text, too.

2 Likes

Thank you so much! I’ll do as you said.

Front Template


 {{cloze:詞}}

Back Template

{{cloze:詞}}<br><br>
{{傳記}}
{{集評}}
{{註}}

Styling

.card {
    font-family: 一點明體cp;
    font-size: 20px;
    text-align: start;
    color: black;
    background-color: white;
    writing-mode: vertical-rl;
    text-orientation: upright;
    line-height: 1.618em;
}

p {
  text-indent: 2em;
}

p.kindle-cn-ref {
  margin: 1em 2em 1em 0;
}

h1.kindle-cn-heading-1 {
  border-left: 2px dashed #c7c7c7;
  border-right: 2px dashed #c7c7c7;
  padding: 0 0.75em;
  width: 100%;
  page-break-before: always;
  font-size: 2.5em;
  font-family: "MYing Hei S", Hei, "黑体";
  text-align: center;
}

h2.kindle-cn-heading2 {
  width: 100%;
  font-size: 2em;
  text-align: center;
}

h4.kindle-cn-heading4 {
  font-size: 1.6em;
  text-indent: 0;
}

span.kindle-cn-bold {
  font-weight: bold;
}

span.math-super {
  font-size: 0.7em;
  vertical-align: super;
}

@font-face {
  font-family: yinbiao;
  src: url(XXXXXXXXXXXXXXXX);
}

span.title {
  font-size: 0.7em;
  font-weight: normal;
}

span.xz {
  font-size: 0.8em;
}

p.kindle-cn-para-center {
  text-align: center;
  text-indent: 0;
}

p.kindle-cn-para-right {
  text-align: end;
}

body {
  font-size: 1em;
  text-align: justify;
}

.kindle-cn-kai {
  font-family: STKai, "MKai PRC", Kai, "楷体";
}

h1 {
  border-left: 2px dashed #c7c7c7;
  border-right: 2px dashed #c7c7c7;
  padding: 0 0.75em;
  width: 100%;
  page-break-before: always;
  font-size: 3em;
  font-family: "MYing Hei S", Hei, "黑体";
  text-align: center;
}

h2 {
  font-size: 2em;
  text-align: center;
}

span.kindle-cn-underline6 {
  border-left: 0.2em double;
}

span.kindle-cn-underline7 {
  border-left: 1px dashed;
  padding-left: 3px;
}

.kindle-cn-dotundertext {
  -webkit-text-emphasis-style: dot;
  -moz-text-emphasis-style: dot;
  -ms-text-emphasis-style: dot;
  text-emphasis-style: dot;
  -webkit-text-emphasis-position: left under;
  -moz-text-emphasis-position: left under;
  -ms-text-emphasis-position: left under;
  text-emphasis-position: left under;
}

div.kindle-cn-toc-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 0.5em;
  letter-spacing: 1em;
  text-align: center;
  border-left: 1.5px dotted #000;
}

div.kindle-cn-toc-level-1 {
  margin-left: 0;
}

div.kindle-cn-toc-level-2 {
  margin-left: 2em;
}

/* 以下樣式完全保留原始設置 */
.cloze {
    font-weight: normal;
    color: black;
}
.nightMode .cloze {
    color: lightblue;
}

a {
  color: black;
}

body {
  line-height: 1.618em;
}

span.math-super {
  font-size: 0.7em;
  vertical-align: super;
}

wish you guys could help me :folded_hands:

The error pretty clearly explains the problem – you’ve made 2 cards that will have identical front sides. I bet if you click “Help” from there, it takes you somewhere like this page, which talks about that error and how to solve it – Checks and Errors - Anki Manual .

Since this is a cloze-note, you’ll use the drop-down in the upper right to scroll through the different cards that this note makes. I suspect you have the same thing marked with 2 different cloze markers.

2 Likes

thanks, I’ve figured that out.