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.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a221b2b99fbaefad

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/doc)

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