![]() | This is the template test cases page for the sandbox of Template:Longlink. 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: |
Basic longlink use
{{Longlink|[[:Category:Categories that have been created to describe their contents using an unusually long name for some reason]]}}
{{Longlink}} | {{Longlink/sandbox}} |
---|---|
<div style="display:inline-block; padding:0.2em 0.4em; line-height:1.2em; ">[[:Category:Categories that have been created to describe their contents using an unusually long name for some reason]]</div> |
Category:Categories that have been created to describe their contents using an unusually long name for some reason<span style="padding:0.2em 0.4em; line-height:1.2em; ">[[:Category:Categories that have been created to describe their contents using an unusually long name for some reason]]</span> |
Longlink with style param
{{Longlink|[[:Category:Categories that have been created to describe their contents using an unusually long name for some reason]]|style=background-color:#aaffaa;}}
{{Longlink}} | {{Longlink/sandbox}} |
---|---|
<div style="display:inline-block; padding:0.2em 0.4em; line-height:1.2em; background-color:#aaffaa;">[[:Category:Categories that have been created to describe their contents using an unusually long name for some reason]]</div> |
Category:Categories that have been created to describe their contents using an unusually long name for some reason<span style="padding:0.2em 0.4em; line-height:1.2em; background-color:#aaffaa;">[[:Category:Categories that have been created to describe their contents using an unusually long name for some reason]]</span> |