Template:Tag

From WikiAlpha
Jump to: navigation, search
The below content is licensed according to Creative Commons Attribution-ShareAlike License contrary to the public domain logo at the foot of the page. It originally appeared on http://en.wikipedia.org. The original article might still be accessible here. You may be able to find a list of the article's previous contributors on the talk page.
<tag>...</tag>
[edit] [purge] Template documentation
The below content is licensed according to Creative Commons Attribution-ShareAlike License contrary to the public domain logo at the foot of the page. It originally appeared on http://en.wikipedia.org. The original article might still be accessible here. You may be able to find a list of the article's previous contributors on the talk page.
Template:Tc

This template provides a quick way to mention an XML/HTML-style tag in a preformatted way. Mainly used in discussion/help pages.

Parameters

Required parameters shown in bold italics.

|first unnamed=  (tagname above) 
The XML/HTML tag's name (e.g. code, ref).
|second unnamed=  (type above) 
To indicate which of the tag's types is/are presented:
p  (pair) (default) 
A matching pair of open/start and close/end tags (e.g. <div>...</div>).
To suppress the ellipsis ("...") between the tags, add an empty |content= parameter.
o  (open) 
An open/start tag (e.g. <span>).
c  (close) 
A close/end tag (e.g. </span>).
s  (single) 
A single tag (e.g. <hr />).
|content= 
Text to place between open/start and close/end tags.
|params= 
Parameters to be included as part of an open/start tag.
|wrap=yes 
Disable nowrap for long samples.

Examples

Template:Markup

See also

Template:Interwikitmp-grp