Template talk:Pinyin

(Redirected from Module talk:Pinyin)

Unexpected behaviour when wraped in another template

edit

I get an error when subst:pinyin inside the {{transl}} or {{lang}} templates.

  • {{transl|zh|{{subst:pinyin|liu2 yan2}}}} gives: [undefined] Error: {{Transliteration}}: no text (help)
  • {{lang|zh-latin|{{subst:pinyin|liu2 yan2}}}} gives: [undefined] Error: {{Lang}}: no text (help)

However it works find is not subst. e.g.

  • {{transl|zh|{{subst:pinyin|liu2 yan2}}}} gives: liú yán
  • {{lang|zh-latin|{{subst:pinyin|liu2 yan2}}}} gives: [liú yán] Error: {{Lang}}: unrecognized variant: latin (help)

-- Rincewind42 (talk) 07:58, 4 May 2014 (UTC)Reply

Thanks for reporting; this should be fixed now. _dk (talk) 18:20, 4 May 2014 (UTC)Reply