Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template talk:Pinyin

Page contents not supported in other languages.
Add topic
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.

  • {{Transliteration|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.

  • {{Transliteration|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