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:Translation/testcases

From Wikipedia, the free encyclopedia

Basic

[edit]
0 params
{{Translation}}
{{Translation}} transl.
{{Translation/sandbox}} transl.
Literal
{{Translation|literal=yes}}
{{Translation}} lit. transl.
{{Translation/sandbox}} lit. transl.
Italic
{{Translation|i=yes}}
{{Translation}} transl.
'"`UNIQ--nowiki-0000001C-QINU`"'''<abbr    title="'"`UNIQ--nowiki-0000001D-QINU`"'">transl.</abbr>'''"`UNIQ--nowiki-0000001E-QINU`"'
{{Translation/sandbox}} transl.
'"`UNIQ--nowiki-0000001F-QINU`"'''<abbr    title="'"`UNIQ--nowiki-00000020-QINU`"'">transl.</abbr>'''"`UNIQ--nowiki-00000021-QINU`"'
A word
{{Translation|a}}
{{Translation}} transl.a
{{Translation/sandbox}} transl.a
Two words
{{Translation|a|b}}
{{Translation}} transl.a – transl.b
{{Translation/sandbox}} transl.a – transl.b

Edge cases

[edit]
Embedded in italics
''Inside an italic span: {{Translation|the label is unitalicized|i=yes}}''
{{Translation}} Inside an italic span: transl.the label is unitalicized
{{Translation/sandbox}} Inside an italic span: transl.the label is unitalicized