Difference between revisions of "Template:Status"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | + | {{#ifeq: {{{v|yes}}} | {{lc:yes}}| '''Status''':| |}} <u>{{#switch: {{{1}}} | |
− | |||
− | |||
− | |||
− | | | ||
− | <u>{{#switch | ||
| a | A | act | Act | ACT = ACTIVE | | a | A | act | Act | ACT = ACTIVE | ||
| b | B | beg | Beg | BEG | STRT = STARTED | | b | B | beg | Beg | BEG | STRT = STARTED | ||
Line 11: | Line 6: | ||
| e | E | ERR = ERROR | | e | E | ERR = ERROR | ||
| h | H | clos | Clos | CLOS = CLOSED | | h | H | clos | Clos | CLOS = CLOSED | ||
− | | I | | + | | i | I | init | Init | INIT = INIT |
| n | N | na | NA = INACTIVE | | n | N | na | NA = INACTIVE | ||
| o | O | othr | Othr | OTHR = OTHER | | o | O | othr | Othr | OTHR = OTHER | ||
Line 18: | Line 13: | ||
| u | U = <span>{{Colors|'''✖'''|fgc=red}}</span> | | u | U = <span>{{Colors|'''✖'''|fgc=red}}</span> | ||
| w | W | wait | Wait | WAIT = WAIT | | w | W | wait | Wait | WAIT = WAIT | ||
− | | ? = | + | | ? = ONBEKEND |
| -h | #default = ''A, C, D, E, H, I, N, O, P, U of W'' Zie [[Template:Status/doc|Status/doc]] | | -h | #default = ''A, C, D, E, H, I, N, O, P, U of W'' Zie [[Template:Status/doc|Status/doc]] | ||
− | }}</u><noinclude> | + | }}</u><noinclude> |
− | |||
{{tbl}} | {{tbl}} | ||
− | {{ | + | {{TblRij|een | {{Status|v=no|Init}} | bgc= cyan}} }} |
|} | |} | ||
− | |||
− | |||
{{Documentation}} | {{Documentation}} | ||
</noiclude> | </noiclude> |
Revision as of 21:56, 1 March 2021
Status: A, C, D, E, H, I, N, O, P, U of W Zie Status/doc
een | INIT }} |
[edit] [[[:Template:Purge]]]
Template documentation

Contents |
Doel
- Gebruik {{Status}} voor het weergeven van de status van een project of activiteit.
Syntax
{{Status|parm-1|v=yes|no }}
Hierin is
- parm-1
| |||||||||||||||||||||||||||||||||
v | 'yes' = geeft de term Status weer; 'no' of elke andere waarde, laat dat weg |
Voorbeelden
Codeer | Resultaat |
---|---|
{{Status|i}} |
Status: INIT |
{{Status|H}} |
Status: CLOSED |
{{Status|?}} |
Status: ONBEKEND |
De chackboxes {{Status|c}} ,{{Status|v=no|u}} |
Status: ✔, ✖ |
Om alle opties te zien:{{Status|v=N|-h}} |
A, C, D, E, H, I, N, O, P, U of W Zie Status/doc |
Opmerkingen
- Voor vrijwel alle parms geldt: Ook 3 of 4 letter code werkt en is beter leesbaar in de code...
- Overal inzetbaar
- Voor Templates: Zie {{TmpStatus}}
The above documentation is transcluded from Template:Status/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
</noiclude>