Template:Suggestion/Value/Parse/Doc

From PCSAR

(Difference between revisions)
Jump to: navigation, search
Current revision (05:55, 20 September 2012) (edit) (undo)
 
Line 2: Line 2:
parses a suggestion value.
parses a suggestion value.
-
Expands to '''high''', '''medium''', '''low''', '''not rated''', or '''error'''.
+
Expands to '''high''', '''medium''', '''low''', '''none''', '''not rated''', or '''error'''.
{{demo table|
{{demo table|
 +
{{demo row|<nowiki>{{Suggestion/Value/Parse|none}}</nowiki><!--
 +
-->| {{Suggestion/Value/Parse|none}} }}
{{demo row|<nowiki>{{Suggestion/Value/Parse|low}}</nowiki><!--
{{demo row|<nowiki>{{Suggestion/Value/Parse|low}}</nowiki><!--
-->| {{Suggestion/Value/Parse|low}} }}
-->| {{Suggestion/Value/Parse|low}} }}

Current revision

The template {{Suggestion/Value/Parse|value}} parses a suggestion value.

Expands to high, medium, low, none, not rated, or error.


You type... You get...
{{Suggestion/Value/Parse|none}} 
none
{{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