Template:Tagpresence/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Tagpresence. It contains usage information, categories and other content or metadata that is not part of the original template. |
A template to display tag presence requirements.
Usage
1=
- The first unnamed parameter is the presence requirement, taking one of the values:
required
,important
,optional
, orforbidden
.important
indicates the very common situation in which presence is not absolutely required, but is needed in the default, vast majority, or such like, of cases; in essence, a reason is needed to exclude it, rather than a reason being needed to include it. The remaining options should be sufficiently self-descriptive. 2=
- The second unnamed parameter, if set, overrides the name/description text of the presence requirement, and causes the requirement symbol to be the subject of an
<abbr>
tag.
Samples
{{Tagpresence|required}} | ! Required |
{{Tagpresence|required|Description text}} | ! Description text |
{{Tagpresence|important}} | ‽ Important |
{{Tagpresence|important|Description text}} | ‽ Description text |
{{Tagpresence|optional}} | ? Optional |
{{Tagpresence|optional|Description text}} | ? Description text |
{{Tagpresence|forbidden}} | ✗ Forbidden |
{{Tagpresence|forbidden|Description text}} | ✗ Description text |
This template displays short information about recommendations to use some extra tags.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Presence requirement | 1 | Identifier of template style.
| Unknown | required |
Description override | 2 | Text to override default description. | Line | optional |
style | style | no description | Unknown | optional |