Template:Tagpresence/doc
Jump to navigation
Jump to search
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.importantindicates 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 |