This is the template test cases page for the sandbox of Template:Longitem. 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: |
{{Longitem|Some long text value}}
{{Longitem}}
<div style="display: inline-block; line-height: 1.2em; padding: .1em 0; ">Some long text value</div>
{{Longitem/sandbox}}
<div style="display: inline-block; line-height: 1.2em; padding: .1em 0;width: 100%;">Some long text value</div>
{{Longitem|Some long text value|style=background-color:#aaffaa;}}
{{Longitem}}
<div style="display: inline-block; line-height: 1.2em; padding: .1em 0; background-color:#aaffaa;">Some long text value</div>
{{Longitem/sandbox}}
<div style="display: inline-block; line-height: 1.2em; padding: .1em 0;background-color:#aaffaa;">Some long text value</div>
{{Longitem|style=background-color:#aaffaa;}}
{{Longitem}}
display: inline-block; line-height: 1.2em; padding: .1em 0; width: 100%;display: inline-block; line-height: 1.2em; padding: .1em 0; width: 100%;
{{Longitem/sandbox}}
1=
parameter<div style="display: inline-block; line-height: 1.2em; padding: .1em 0;background-color:#aaffaa;">Missing <code>1=</code> parameter</div>
{{Longitem||style=background-color:#aaffaa;}}
{{Longitem}}
<div style="display: inline-block; line-height: 1.2em; padding: .1em 0; background-color:#aaffaa;"></div>
{{Longitem/sandbox}}
<div style="display: inline-block; line-height: 1.2em; padding: .1em 0;background-color:#aaffaa;"></div>