Difference between revisions of "Template:Status"

From OchaWiki
Jump to navigation Jump to search
Line 16: Line 16:
 
| u | U = <span>{{Colors|'''&#10006;'''|fgc=red}}</span>
 
| u | U = <span>{{Colors|'''&#10006;'''|fgc=red}}</span>
 
| w | W | wait | Wait | WAIT = WAIT
 
| w | W | wait | Wait | WAIT = WAIT
| ? = ONBEKEND
+
| ? = UNKNOWN
 
| -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>{{tocright}}
 
{{Documentation}}
 
{{Documentation}}
 
</noiclude>
 
</noiclude>

Revision as of 15:18, 1 March 2021

A, C, D, E, H, I, N, O, P, U of W Zie Status/doc

[edit] [[[:Template:Purge]]] Documentation icon Template documentation

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
 
parm resultaat
A of AC

ACTIVE

B

STARTED

C

D

DONE

E

ERROR

H of CLOS  

CLOSED

I

INIT

N of NA

INACTIVE

O

OTHER

P

OPEN

S

STOPPED

U

W

WAIT

?

UNKNOWN

-h

A, C, D, E, H, I, N, O, P, U of W Zie Status/doc

v 'yes' = geeft de term Status weer; 'no' of elke andere waarde, laat dat weg

Voorbeelden

Codeer Resultaat
{{Status|i}}

INIT

{{Status|H}}

CLOSED

{{Status|?}}

UNKNOWN

De chackboxes {{Status|c}},
{{Status|v=no|u}}

,

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

  1. Voor vrijwel alle parms geldt: Ook 3 of 4 letter code werkt en is beter leesbaar in de code...
  2. Overal inzetbaar
  3. Voor Templates: Zie {{TmpStatus}}

</noiclude>