Difference between revisions of "Template:Status"
Jump to navigation
Jump to search
(redone again) |
(added usage examples) |
||
| Line 1: | Line 1: | ||
| − | <span style="padding: 5px; font-size: 120%; border-left: 1em solid {{# | + | <span style="padding: 5px; font-size: 120%; border-left: 1em solid {{#switch: {{{1|}}} | ready=DarkGreen | not ready=DarkRed | in progress=DarkOrange | Black }};">Status: {{{1}}}</span><noinclude> |
| + | |||
| + | This is template to show some feature or project status using a predefined color. | ||
| + | |||
| + | == Usage == | ||
| + | |||
| + | <code><nowiki>{{Status|some words}}</nowiki></code> | ||
| + | |||
| + | === ready === | ||
| + | <code><nowiki>{{Status|ready}}</nowiki></code> will show | ||
| + | |||
| + | {{Status|ready}} | ||
| + | |||
| + | === not ready === | ||
| + | <code><nowiki>{{Status|not ready}}</nowiki></code> will show | ||
| + | |||
| + | {{Status|not ready}} | ||
| + | |||
| + | === in progress === | ||
| + | |||
| + | <code><nowiki>{{Status|in progress}}</nowiki></code> will show | ||
| + | |||
| + | {{Status|in progress}} | ||
| + | |||
| + | === others === | ||
| + | |||
| + | Any other words will be displayed with default black color: | ||
| + | |||
| + | {{Status|some words}} | ||
| + | </noinclude> | ||
Revision as of 19:42, 14 January 2015
Status: {{{1}}}
This is template to show some feature or project status using a predefined color.
Usage
{{Status|some words}}
ready
{{Status|ready}} will show
Status: ready
not ready
{{Status|not ready}} will show
Status: not ready
in progress
{{Status|in progress}} will show
Status: in progress
others
Any other words will be displayed with default black color:
Status: some words