Template:Suggestion/Value/Parse/Doc
From PCSAR
(Difference between revisions)
Line 7: | Line 7: | ||
{{demo row|<nowiki>{{Suggestion/Value/Parse|low}}</nowiki><!-- | {{demo row|<nowiki>{{Suggestion/Value/Parse|low}}</nowiki><!-- | ||
-->| {{Suggestion/Value/Parse|low}} }} | -->| {{Suggestion/Value/Parse|low}} }} | ||
+ | {{demo row|<nowiki>{{Suggestion/Value/Parse|Low}}</nowiki><!-- | ||
+ | -->| {{Suggestion/Value/Parse|Low}} }} | ||
+ | {{demo row|<nowiki>{{Suggestion/Value/Parse|LOW}}</nowiki><!-- | ||
+ | -->| {{Suggestion/Value/Parse|LOW}} }} | ||
{{demo row|<nowiki>{{Suggestion/Value/Parse|med}}</nowiki><!-- | {{demo row|<nowiki>{{Suggestion/Value/Parse|med}}</nowiki><!-- | ||
-->| {{Suggestion/Value/Parse|med}} }} | -->| {{Suggestion/Value/Parse|med}} }} |
Revision as of 05:40, 20 September 2012
The template {{Suggestion/Value/Parse|value}}
parses a suggestion value.
Expands to high, medium, low, undefined, 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 |