Template:Suggestion/Value/Parse/Doc
From PCSAR
(Difference between revisions)
(New page: {{template doc|value}} parses a suggestion value. Expands to '''high''', '''medium''', '''low''', '''undefined''', or '''error'''. {{Demo Table| {{Demo Row|<nowiki>{{Suggestion/Value/Par...) |
|||
(4 intermediate revisions not shown.) | |||
Line 2: | Line 2: | ||
parses a suggestion value. | parses a suggestion value. | ||
- | Expands to '''high''', '''medium''', '''low''', ''' | + | Expands to '''high''', '''medium''', '''low''', '''none''', '''not rated''', or '''error'''. |
- | {{ | + | {{demo table| |
- | {{ | + | {{demo row|<nowiki>{{Suggestion/Value/Parse|none}}</nowiki><!-- |
+ | -->| {{Suggestion/Value/Parse|none}} }} | ||
+ | {{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| | + | -->| {{Suggestion/Value/Parse|Low}} }} |
- | {{ | + | {{demo row|<nowiki>{{Suggestion/Value/Parse|LOW}}</nowiki><!-- |
- | -->| {{Suggestion/Value/Parse| | + | -->| {{Suggestion/Value/Parse|LOW}} }} |
- | {{ | + | {{demo row|<nowiki>{{Suggestion/Value/Parse|med}}</nowiki><!-- |
- | -->| {{Suggestion/Value/Parse| | + | -->| {{Suggestion/Value/Parse|med}} }} |
- | {{ | + | {{demo row|<nowiki>{{Suggestion/Value/Parse|medium}}</nowiki><!-- |
+ | -->| {{Suggestion/Value/Parse|medium}} }} | ||
+ | {{demo row|<nowiki>{{Suggestion/Value/Parse|high}}</nowiki><!-- | ||
+ | -->| {{Suggestion/Value/Parse|high}} }} | ||
+ | {{demo row|<nowiki>{{Suggestion/Value/Parse|}}</nowiki><!-- | ||
-->| {{Suggestion/Value/Parse|}} }} | -->| {{Suggestion/Value/Parse|}} }} | ||
- | {{ | + | {{demo row|<nowiki>{{Suggestion/Value/Parse|undefined}}</nowiki><!-- |
-->| {{Suggestion/Value/Parse|undefined}} }} | -->| {{Suggestion/Value/Parse|undefined}} }} | ||
- | {{ | + | {{demo row|<nowiki>{{Suggestion/Value/Parse|foo}}</nowiki><!-- |
-->| {{Suggestion/Value/Parse|foo}} }} | -->| {{Suggestion/Value/Parse|foo}} }} | ||
}} | }} |
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 |