Template:Status/doc

From WikiEducator
Jump to: navigation, search

<templatedata> { "description": "Show a graphical completion status square (quartiles).", "params": {

               "status": {
                       "label": "Status",
                       "description": "completion level of task/resource",
                       "aliases": ["1"],
                       "default": "",
                       "type": "string",
                       "required": true
               },
               "size": {
                       "label": "Size",
                       "description": "icon size including CSS px units",
                       "aliases": ["2"],
                       "default": "",
                       "type": "string",
                       "required": false
               }
       }

} </templatedata>

There are multiple synonyms for each status level.

Status values Rendered
0, 0%, or planned Progress-0000.svg
1, 25%, or started Progress-0250.svg
2, 50%, or significant progress Progress-0500.svg
3, 75%, or nearing completion Progress-0750.svg
4, 100%, or done Progress-1000.svg

Examples

{{Status|1}} Progress-0250.svg


{{Status|nearing completion|30px}} Progress-0750.svg


{{Status|33%}} Question.svg


{{Status|status=Done}} Progress-1000.svg