Template:Italic block/testcases

Testing sandbox versionEdit

{{Italic block/sandbox}}

Template:Italic block/sandbox

Testing main templateEdit

1. Standard invocation:Edit

{{italic block|1=Line of poem
:Indented line}}

Result:-

Line of poem

Indented line

2. Inside a POEM tagEdit

1st example will not work as the : will not necessarily get read as an indentation marker in the expansion.

<poem>
{{italic block|1=Line of poem
:Indented line}}
</poem>

Result:

{{{1}}}

3. POEM Using 1=Edit

<poem>
{{italic block|1=Line of poem
:Indented line}}
</poem>

Line of poem
Indented line

4 for comparison (ppoem)Edit

{{ppoem|1=
{italic}
Line of poem
:Indented line
}}
Line of poem
Indented line