Template:Lv-card-completion-image
From WikiEducator
000.svg
Usage
Use this template to get an image representing percent completeness of a card - an estimate covering the card text, image and possibly other properties.
This template is not usually used on its own but rather by other associated templates such as {{annotated-lv-card}} which might have parameters like image-status, text-status or (in this case) status.
Syntax
e.g. The following will return an image name:
{{lv-card-completion-image|70}}
returns: 070.svg
| Status | % |
|---|---|
| File:000.svg | 0% |
| File:010.svg | 10% |
| File:020.svg | 20% |
| File:030.svg | 30% |
| File:040.svg | 40% |
| File:050.svg | 50% |
| File:060.svg | 60% |
| File:070.svg | 70% |
| File:080.svg | 80% |
| File:090.svg | 90% |
| File:100.svg | 100% |
The template also accepts an image name and simply returns it.
To Do
- N.B. {{lv-card-completion-image}}, {{lv-card-completion-colour}} and {{lv-card-status-colour}} - to be used for card status as a whole independently of status of text and image.