Template:Italic block/testcases
Appearance
![]() | This is the template test cases page for the sandbox of Template:Italic block. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
{{Italic block}}
Standard invocation
{{Italic block|1=Line of poem :Indented line}}
{{Italic block}}
Line of poem
- Indented line
Line of poem
- Indented line
The following fails as it attempts to put a DIV inside a SPAN based construction. That doesn't work..
{{test case nowiki|title=Inside a POEM tag|collapsible=true|code=<nowiki><poem>
{{__TEMPLATENAME__|1=Line of poem
:Indented line}}
</poem></nowiki>}}
Test case FAILED and throws lint.
{{test case nowiki|title=POEM Using <code><nowiki>1=</nowiki></code>|collapsible=true|code=<nowiki><poem>
{{__TEMPLATENAME__|1=Line of poem
:Indented line}}
</poem></nowiki>}}
- Comparison with {{ppoem}}
{{ppoem|1= {italic} Line of poem :Indented line }}
Line of poem Indented line