Jump to content

Template talk:Pinyin

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(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}}: invalid parameter: |<span class= (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]