Template:TagIssue/doc
![]() |
This is a documentation subpage for Template:TagIssue. It contains usage information, categories and other content or metadata that is not part of the original template. |
Usage
Tag that assigns the severity to a raised issue in a project or on a guideline.
Example
Full option example. Al parameters defined, shows icon and label, custom colours used for text colour and background colour.
![Critical Critical](https://upload.wikimedia.org/wikipedia/commons/thumb/1/15/Ambox_warning_pn.svg/20px-Ambox_warning_pn.svg.png)
{{TagIssue|type=critical|label=Critical|vscale=1|txtcolor=white|bckcolor=black}}
Example using the default colours.
![Critical Critical](https://upload.wikimedia.org/wikipedia/commons/thumb/1/15/Ambox_warning_pn.svg/20px-Ambox_warning_pn.svg.png)
{{TagIssue|type=critical|label=Critical|vscale=1}}
Example with only an icon, double size.
![Critical Critical](https://upload.wikimedia.org/wikipedia/commons/thumb/1/15/Ambox_warning_pn.svg/40px-Ambox_warning_pn.svg.png)
{{TagIssue|type=critical|vscale=2}}
Example with only a label, 3/4 size.
{{TagIssue|type=critical|vscale=2}}
![]() |
For improved user friendliness during editing, use a indented layout with the parameters on separate lines. Parameters which are not used can be commented out, so when you need them at a later stage they are easy to add by just removing the comment start (<!--) and end(-->) markers. Example: ![]() which is entered as: |
Templatedata
Creates a dashboard item to summaries project issues / challenges / goals.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Tag type | type | Defines the tag type. The supported values are critical/important/minor/resolved | String | optional |
Label | label | Label to be shown on the tag. If no label is required just don't include the parameter | String | optional |
Template scaling | vscale | Number to base 1 (fractions to scale down, multiplication to scale up) to scale the whole template up or down. Caution: scaling down may cause the summary icon to display at full size, due to inaccuracies in the calculation. In those cases use a different factor with less significant numbers behind the decimal separator.
| Number | optional |
Text color | txtcolor | Assign a custom colour for the text displayed on the tag. To use custom colours just don't define the parameter.
| String | optional |
Background colour | bckcolor | Assign a custom background colour for the text displayed on the tag. To use custom colours just don't define the parameter.
| String | optional |
See also