<tag>...</tag>
This template provides a quick way to mention an XML/HTML-style tag in a preformatted way. Mainly used in discussion/help pages.
Required parameters shown in bold italics.
|first unnamed=
(tagname above)|second unnamed=
(type above)<div>...</div>
).|content=
parameter.<span>
).</span>
).<hr />
).|content=
|params=
|wrap=yes
Codi | Mostra |
---|---|
{{tag|ref}} |
<ref>...</ref> |
{{tag|ref|content=}} |
<ref></ref> |
{{tag|ref|content=hello}} |
<ref>hello</ref> |
{{tag|span|content=foo}} |
<span>foo</span> |
{{tag|span|open}} |
<span> |
{{tag|span|open|content=hello}} |
<span>hello |
{{tag|span|close|content=hello}} |
hello</span> |
{{tag|span|pair|content=hello}} |
<span>hello</span> |
{{tag|ref|open|params=group="note"}} |
<ref group="note"> |
{{tag|references|single}} |
<references /> |
{{tag|br|single}} |
<br /> |
{{tag|!--|content=comment}} |
<!-->comment</!--> |
{{tag|a |params=href="<nowiki>https://en.wikipedia.org/</nowiki>" |content=English Wikipedia}} |
<a target="_blank" href="https://en.wikipedia.org/">English Wikipedia</a>
|