Cèṭa'an:HTML comment/doc
TemplateStyles' src
attribute must not be empty.
This is a documentation subpage for Cèṭa'an:HTML comment. It contains usage information, categories and other content that is not part of the original cèṭa'an page. |
TemplateStyles' src
attribute must not be empty.
This template should always be substituted (i.e., use Cèṭa'an:Tlsp). |
Galat: tidak ada pintasan yang ditentukan |msg= parameter tidak ditentukan.
Use this substitution to insert HTML comments (<!-- ... -->
) – hidden to readers – into Wikipedia pages.
Usage
beccè'{{subst:html comment|Lorem ipsum dolor sit amet}}
- ↳
<!-- Lorem ipsum dolor sit amet -->
- ↳
By default a space will be added before and after the given text. Use collapsed=yes to remove it (useful in vertical comments). For example,
{{subst:html comment|collapsed=yes|
Lorem ipsum dolor sit amet
}}
will generate
<!--
Lorem ipsum dolor sit amet
-->
In substitutable templates, use {{{{{|safesubst:}}}HTML comment|...}}
.
Notable cases
beccè'Using this substitution allows the expansion of MediaWiki commands inside HTML comments, where they would be preserved verbatim otherwise. Compare:
{{subst:html comment|{{subst:FULLPAGENAME}}}}
- ↳
<!-- Template:HTML comment -->
- ↳
and:
<!-- {{subst:FULLPAGENAME}} -->
- ↳
<!-- {{subst:FULLPAGENAME}} -->
- ↳
See also
beccè'- {{Example HTML comment}}
- {{Comment}}