Template:Suggestion/Value/Parse/Doc
From PCSAR
(Difference between revisions)
| Line 2: | Line 2: | ||
parses a suggestion value. | parses a suggestion value. | ||
| - | Expands to '''high''', '''medium''', '''low''', ''' | + | Expands to '''high''', '''medium''', '''low''', '''not rated''', or '''error'''. |
{{demo table| | {{demo table| | ||
Revision as of 05:47, 20 September 2012
The template {{Suggestion/Value/Parse|value}}
parses a suggestion value.
Expands to high, medium, low, not rated, or error.
| You type... | You get... |
|---|---|
{{Suggestion/Value/Parse|low}}
| low |
{{Suggestion/Value/Parse|Low}}
| low |
{{Suggestion/Value/Parse|LOW}}
| low |
{{Suggestion/Value/Parse|med}}
| medium |
{{Suggestion/Value/Parse|medium}}
| medium |
{{Suggestion/Value/Parse|high}}
| high |
{{Suggestion/Value/Parse|}}
| not rated |
{{Suggestion/Value/Parse|undefined}}
| not rated |
{{Suggestion/Value/Parse|foo}}
| error |

