Template:Htc/sandbox

From Gentoo Wiki
Jump to: navigation, search


Showing open tag (anonymous parameter)
Wiki code
{{Htc|span}}
Main version
<span>
Sandbox version


Showing open tag with attribute (anonymous parameter)
Wiki code
{{Htc|span style{{=}}"color:red"}}
Main version
<span style="color:red">
Sandbox version


Showing open tag with attribute containing a pipe character (anonymous parameter)
Wiki code
{{Htc|span title{{=}}"this{{!}}that"}}
Main version
<span title="this|that">
Sandbox version


Showing close tag (anonymous parameter)
Wiki code
{{Htc|/span}}
Main version
</span>
Sandbox version


Showing only open and close angle-brackets (no parameter)
Wiki code
{{Htc}}
Main version
<>
Sandbox version
Note
This is the template sandbox page for Template:Htc (diff).
See also the companion subpage for test cases.